سلام دوستان
من در نصب مودم Intel 536EP V.92 در لينوکس Ubunto مشکل دارم . درايور اين مودم رو از سايت Intel گرفتم .
وقتي دستور make 536 را براي کامپايل شدن اجرا مي کنم ، با پيغام هاي زير compile قطع مي شود . . .
root@ABAR:/home/sza/Intel-536# make clean
cd coredrv; make clean
make[1]: Entering directory `/home/sza/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/home/sza/Intel-536/coredrv'
rm -f *.o *.ko
root@ABAR:/home/sza/Intel-536# make 536
Module precompile check
Current running kernel is: 2.6.20-15-generic
/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.20-15-generic
make[1]: Entering directory `/home/sza/Intel-536/coredrv'
make -C /lib/modules/2.6.20-15-generic/build SUBDIRS=/home/sza/Intel-536/coredrv modules
make[2]: Entering directory `/usr/src/linux-headers-2.6.20-15-generic'
CC [M] /home/sza/Intel-536/coredrv/coredrv.o
In file included from /home/sza/Intel-536/coredrv/hamcore.h:45,
from /home/sza/Intel-536/coredrv/coredrv.c:33:
/home/sza/Intel-536/coredrv/hamdefs.h:49:28: error: linux/config.h: No such file or directory
/home/sza/Intel-536/coredrv/coredrv.c:73: warning: data definition has no type or storage class
/home/sza/Intel-536/coredrv/coredrv.c:73: warning: type defaults to â€کint’ in declaration of â€کEXPORT_SYMBOL_NOVERS’
/home/sza/Intel-536/coredrv/coredrv.c:73: warning: parameter names (without types) in function declaration
/home/sza/Intel-536/coredrv/coredrv.c: In function â€کsoftcore_init_struct’:
/home/sza/Intel-536/coredrv/coredrv.c:339: warning: assignment from incompatible pointer type
/home/sza/Intel-536/coredrv/coredrv.c: In function â€کopen’:
/home/sza/Intel-536/coredrv/coredrv.c:395: warning: passing argument 2 of â€کrequest_irq’ from incompatible pointer type
/home/sza/Intel-536/coredrv/coredrv.c: In function â€کclose’:
/home/sza/Intel-536/coredrv/coredrv.c:439: warning: implicit declaration of function â€کpm_unregister’
/home/sza/Intel-536/coredrv/coredrv.c: In function â€کsend_data_to_user’:
/home/sza/Intel-536/coredrv/coredrv.c:587: error: â€کstruct tty_struct’ has no member named â€کflip’
/home/sza/Intel-536/coredrv/coredrv.c:592: error: â€کstruct tty_struct’ has no member named â€کflip’
/home/sza/Intel-536/coredrv/coredrv.c:593: error: â€کstruct tty_struct’ has no member named â€کflip’
/home/sza/Intel-536/coredrv/coredrv.c:595: error: â€کstruct tty_struct’ has no member named â€کflip’
/home/sza/Intel-536/coredrv/coredrv.c:596: error: â€کstruct tty_struct’ has no member named â€کflip’
/home/sza/Intel-536/coredrv/coredrv.c:597: error: â€کstruct tty_struct’ has no member named â€کflip’
/home/sza/Intel-536/coredrv/coredrv.c: At top level:
/home/sza/Intel-536/coredrv/coredrv.c:665: error: expected â€ک)’ before string constant
/home/sza/Intel-536/coredrv/coredrv.c:778:39: error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2
/home/sza/Intel-536/coredrv/coredrv.c:778: warning: data definition has no type or storage class
/home/sza/Intel-536/coredrv/coredrv.c:778: warning: type defaults to â€کint’ in declaration of â€کDECLARE_WORK’
/home/sza/Intel-536/coredrv/coredrv.c:779:37: error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2
/home/sza/Intel-536/coredrv/coredrv.c:779: warning: data definition has no type or storage class
/home/sza/Intel-536/coredrv/coredrv.c:779: warning: type defaults to â€کint’ in declaration of â€کDECLARE_WORK’
/home/sza/Intel-536/coredrv/coredrv.c: In function â€کwake_up_interruptible_persistReadQ’:
/home/sza/Intel-536/coredrv/coredrv.c:793: error: â€کwait_wq’ undeclared (first use in this function)
/home/sza/Intel-536/coredrv/coredrv.c:793: error: (Each undeclared identifier is reported only once
/home/sza/Intel-536/coredrv/coredrv.c:793: error: for each function it appears in.)
/home/sza/Intel-536/coredrv/coredrv.c: In function â€کinterruptible_sleep_on_timeout_persistReadQ ’:
/home/sza/Intel-536/coredrv/coredrv.c:827: error: â€کwait_wq2’ undeclared (first use in this function)
/home/sza/Intel-536/coredrv/coredrv.c: At top level:
/home/sza/Intel-536/coredrv/coredrv.c:880: warning: initialization makes integer from pointer without a cast
make[3]: *** [/home/sza/Intel-536/coredrv/coredrv.o] Error 1
make[2]: *** [_module_/home/sza/Intel-536/coredrv] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-15-generic'
make[1]: *** [536core_26] Error 2
make[1]: Leaving directory `/home/sza/Intel-536/coredrv'
2.6.20-15-generic
Failed to build driver
root@ABAR:/home/sza/Intel-536#
به نظر شما مشکل چيست ؟
موضوعات مشابه: