|
intel536ep modem & SuSE10
Help!!!!!
Rpm driver on install dvd does not work, well it does install it self but does not make modem work. And compailing from source is not possible. When I give "make 536" command I get following listing:
linux:/home/Intel-536-smp # make 536
Module precompile check
Current running kernel is: 2.6.13-15-default
/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.13-15-default
make[1]: Entering directory `/home/Intel-536-smp/coredrv'
make -C /lib/modules/2.6.13-15-default/build SUBDIRS=/home/Intel-536-smp/coredrv modules
make[2]: Entering directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make -C ../../../linux-2.6.13-15 O=../linux-2.6.13-15-obj/i386/default modules
CC [M] /home/Intel-536-smp/coredrv/coredrv.o
gcc: ../inc: No such file or directory
/home/Intel-536-smp/coredrv/coredrv.c:73: warning: type defaults to ?int? in declaration of ?EXPORT_SYMBOL_NOVERS?
/home/Intel-536-smp/coredrv/coredrv.c:73: warning: parameter names (without types) in function declaration
/home/Intel-536-smp/coredrv/coredrv.c:73: warning: data definition has no type or storage class
/home/Intel-536-smp/coredrv/coredrv.c: In function ?softcore_init_struct?:
/home/Intel-536-smp/coredrv/coredrv.c:339: warning: assignment from incompatible pointer type
/home/Intel-536-smp/coredrv/coredrv.c: In function ?close?:
/home/Intel-536-smp/coredrv/coredrv.c:439: warning: ?pm_unregister? is deprecated (declared at /usr/src/linux-2.6.13-15/include/linux/pm.h:112)
/home/Intel-536-smp/coredrv/coredrv.c: In function ?hamproc_write?:
/home/Intel-536-smp/coredrv/coredrv.c:684: warning: ignoring return value of ?copy_from_user?, declared with attribute warn_unused_result
/home/Intel-536-smp/coredrv/coredrv.c: At top level:
/home/Intel-536-smp/coredrv/coredrv.c:880: warning: initialization makes integer from pointer without a cast
/home/Intel-536-smp/coredrv/coredrv.c:289: warning: ?power_callback? defined but not used
make[5]: *** [/home/Intel-536-smp/coredrv/coredrv.o] Error 1
make[4]: *** [_module_/home/Intel-536-smp/coredrv] Error 2
make[3]: *** [modules] Error 2
make[2]: *** [modules] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.13-15-obj/i386/default'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/home/Intel-536-smp/coredrv'
2.6.13-15-default
Failed to build driver
I have tried four different source drivers but it is allways the same. Kernel sources and gcc compailer is installed. Please Help
|