
Имеется внутренний модем Intel 536EP, система SuSE Linux 10.1 (non oss) и дрова к модему, скачанные с сайта Intel в виде архива с расширением tgz. В описании драйвера сказано, что может быть установлен на машину с версией SuSE Linux 9.1 и выше. Так вот, как сказано в Readme распаковываю архив в папку, и выполняю команды:
make clean
make 536
make install
В итоге драйвер не становится.

linux-hsqs:/home/lxuser/intel-536EP-2.56.76.0-suse91-UP # make clean
cd coredrv; make clean
make[1]: Entering directory `/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv'
rm -f *.o *.ko
linux-hsqs:/home/lxuser/intel-536EP-2.56.76.0-suse91-UP # make 536
Module precompile check
Current running kernel is: 2.6.16.13-4-smp
/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.16.13-4-smp
make[1]: Entering directory `/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv'
make -C /lib/modules/2.6.16.13-4-smp/build SUBDIRS=/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv modules
make[2]: Entering directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make -C ../../../linux-2.6.16.13-4 O=../linux-2.6.16.13-4-obj/i386/smp modules
CC [M] /home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.o
gcc: ../inc: No such file or directory
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:70: warning: data definition has no type or storage class
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:70: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_NOVERS’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:70: warning: parameter names (without types) in function declaration
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘power_callback’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:295: error: ‘PM_SAVE_STATE’ undeclared (first use in this function)
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:295: error: (Each undeclared identifier is reported only once
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:295: error: for each function it appears in.)
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘softcore_init_struct’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:337: warning: assignment from incompatible pointer type
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘close’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:418: error: implicit declaration of function ‘pm_unregister’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘send_data_to_user’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:565: error: ‘struct tty_struct’ has no member named ‘flip’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:570: error: ‘struct tty_struct’ has no member named ‘flip’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:571: error: ‘struct tty_struct’ has no member named ‘flip’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:573: error: ‘struct tty_struct’ has no member named ‘flip’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:574: error: ‘struct tty_struct’ has no member named ‘flip’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:575: error: ‘struct tty_struct’ has no member named ‘flip’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: At top level:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:643: error: expected ‘)’ before string constant
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘hamproc_write’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:662: warning: ignoring return value of ‘copy_from_user’, declared with attribute warn_unused_result
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: At top level:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:756: warning: initialization from incompatible pointer type
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:757: warning: initialization from incompatible pointer type
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘kScheduleDPC’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:863: error: implicit declaration of function ‘pm_access’
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c: In function ‘dspdrv_CommRamISR’:
/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.c:879: warning: function declaration isn’t a prototype
make[5]: *** [/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv/coredrv.o] Error 1
make[4]: *** [_module_/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.16.13-4-obj/i386/smp'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/home/lxuser/intel-536EP-2.56.76.0-suse91-UP/coredrv'
2.6.16.13-4-smp
Failed to build driver
linux-hsqs:/home/lxuser/intel-536EP-2.56.76.0-suse91-UP # make install
rm -f /etc/hamregistry.bin
bash Intel536_inst
running kernel 2.6.16.13-4-smp
installing hamregistry, used for persistant storage
installing Intel536 driver
install: cannot stat `Intel536.ko': No such file or directory
make: *** [install] Error 1
linux-hsqs:/home/lxuser/intel-536EP-2.56.76.0-suse91-UP #
Помогите, пожалуйста, разобраться в чем может быть дело. Уже второй месяц мучаюсь с установкой этого девайса и никак его не могу прикрутить.

