Ещё немного мучений и при установке дров на интел система перестала требовать установить сырцы, но стала писать -
[root@localhost intel-536EP-2.56.76.1]# make 536
Module precompile check
Current running kernel is: 2.6.3-4mdk
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: No such file or directory
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: No such file or directory
version.h matches running kernel
uname -r|grep "2.6" && \
cd coredrv && make 536core_26 && \
cp Intel536.ko .. && cd .. && \
strip --strip-debug Intel536.ko && \
exit; \
ls Intel536.ko >/dev/null 2>&1 || uname -r | grep "2.6" && echo "Failed to build driver" && exit; \
if [ ]; then \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_SOURCE_PATH= "PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
else \
cd coredrv; make TARGET=TARGET_SELAH KERNEL_INCLUDES=/lib/modules/`uname -r`/build/include \
"PSTN_DEF=-DTARGET_SELAH -DTARGET_LINUX -DLINUX" 536core; \
fi ; \
cp Intel536.o .. ; \
if [ -a /boot/vmlinuz.version.h ]; then \
cp /boot/vmlinuz.version.h /lib/modules/`uname -r`/build/include/linux/version.h;\
fi
2.6.3-4mdk
make[1]: Entering directory `/mnt/win_d/Download/tar -zxvfintel.tgz/intel-536EP-2.56.76.1/coredrv'
make -C /lib/modules/2.6.3-4mdk/build SUBDIRS=/mnt/win_d/Download/tar -zxvfintel.tgz/intel-536EP-2.56.76.1/coredrv modules
make: invalid option -- z
make: invalid option -- x
GNU Make 3.80
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
йУРПМШЪПЧБОЙЕ: make [лмаю]... [гемш]...
лМАЮЙ:
-b, -m Ignored for compatibility.
-B, --always-make Unconditionally make all targets.
-C DIRECTORY, --directory=DIRECTORY
Change to DIRECTORY before doing anything.
-d Print lots of debugging information.
--debug[=FLAGS] Print various types of debugging information.
-e, --environment-overrides
Environment variables override makefiles.
-f FILE, --file=FILE, --makefile=FILE
Read FILE as a makefile.
-h, --help Print this message and exit.
-i, --ignore-errors Ignore errors from commands.
-I DIRECTORY, --include-dir=DIRECTORY
Search DIRECTORY for included makefiles.
-j [N], --jobs[=N] Allow N jobs at once; infinite jobs with no arg.
-k, --keep-going Keep going when some targets can't be made.
-l [N], --load-average[=N], --max-load[=N]
Don't start multiple jobs unless load is below N.
-n, --just-print, --dry-run, --recon
Don't actually run any commands; just print them.
-o FILE, --old-file=FILE, --assume-old=FILE
Consider FILE to be very old and don't remake it.
-p, --print-data-base Print make's internal database.
-q, --question Run no commands; exit status says if up to date.
-r, --no-builtin-rules Disable the built-in implicit rules.
-R, --no-builtin-variables Disable the built-in variable settings.
-s, --silent, --quiet Don't echo commands.
-S, --no-keep-going, --stop
Turns off -k.
-t, --touch Touch targets instead of remaking them.
-v, --version Print the version number of make and exit.
-w, --print-directory Print the current directory.
--no-print-directory Turn off -w, even if it was turned on implicitly.
-W FILE, --what-if=FILE, --new-file=FILE, --assume-new=FILE
Consider FILE to be infinitely new.
--warn-undefined-variables Warn when an undefined variable is referenced.
This program built for i586-mandrake-linux-gnu
Report bugs to <
bug-make@gnu.org>
make[1]: *** [536core_26] пЫЙВЛБ 2
make[1]: Leaving directory `/mnt/win_d/Download/tar -zxvfintel.tgz/intel-536EP-2.56.76.1/coredrv'
2.6.3-4mdk
Failed to build driver
[root@localhost intel-536EP-2.56.76.1]# make install
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.6.3-4mdk
installing hamregistry, used for persistant storage
installing Intel 536 driver
install: ОЕЧПЪНПЦОП ЧЩРПМОЙФШ stat ДМС `Intel536.ko': No such file or directory
make: *** [install] пЫЙВЛБ 1