Hi,friends in Debian Linux 3.1 r1 at installation of drivers on modem Intel 536EP there was such mistake:
Code:
debian:/mnt/wind/Linux/Intel-536# make clean
`uname --help' .
cd coredrv; make clean
make[1]: Entering directory `/mnt/wind/Linux/Intel-536/coredrv'
rm -f *.ko *.o *~ core
make[1]: Leaving directory `/mnt/wind/Linux/Intel-536/coredrv'
rm -f *.o *.ko
debian:/mnt/wind/Linux/Intel-536# make 536
`uname --help' .
Module precompile check
Current running kernel is: 2.4.27-2-386
/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
make[1]: Entering directory `/mnt/wind/Linux/Intel-536/coredrv'
cc -DTARGET_SELAH -DTARGET_LINUX -DLINUX -Wall -O -I /lib/modules/`uname -r`/build/include -I ../inc -fno-common -DTARGET_SELAH -c -o coredrv.o coredrv.c
coredrv.c:51:29: linux/pm_legacy.h: No such file or directory
coredrv.c: In function `tty_buffer_alloc':
coredrv.c:67: error: invalid application of `sizeof' to an incomplete type
coredrv.c:70: error: dereferencing pointer to incomplete type
coredrv.c:71: error: dereferencing pointer to incomplete type
coredrv.c:72: error: dereferencing pointer to incomplete type
coredrv.c:73: error: dereferencing pointer to incomplete type
coredrv.c:74: error: dereferencing pointer to incomplete type
coredrv.c:75: error: dereferencing pointer to incomplete type
coredrv.c:76: error: dereferencing pointer to incomplete type
coredrv.c:76: error: dereferencing pointer to incomplete type
coredrv.c:77: error: dereferencing pointer to incomplete type
coredrv.c:77: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_buffer_find':
coredrv.c:84: error: structure has no member named `buf'
coredrv.c:87: error: dereferencing pointer to incomplete type
coredrv.c:88: error: dereferencing pointer to incomplete type
coredrv.c:89: error: dereferencing pointer to incomplete type
coredrv.c:90: error: dereferencing pointer to incomplete type
coredrv.c:91: error: dereferencing pointer to incomplete type
coredrv.c:92: error: dereferencing pointer to incomplete type
coredrv.c:98: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_buffer_request_room':
coredrv.c:113: error: structure has no member named `buf'
coredrv.c:118: error: structure has no member named `buf'
coredrv.c:119: error: dereferencing pointer to incomplete type
coredrv.c:119: error: dereferencing pointer to incomplete type
coredrv.c:120: error: dereferencing pointer to incomplete type
coredrv.c:128: error: dereferencing pointer to incomplete type
coredrv.c:129: error: dereferencing pointer to incomplete type
coredrv.c:130: error: dereferencing pointer to incomplete type
coredrv.c:130: error: dereferencing pointer to incomplete type
coredrv.c:132: error: structure has no member named `buf'
coredrv.c:133: error: structure has no member named `buf'
coredrv.c:134: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_insert_flip_string_flags':
coredrv.c:148: error: structure has no member named `buf'
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:152: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:153: error: dereferencing pointer to incomplete type
coredrv.c:154: error: dereferencing pointer to incomplete type
coredrv.c: In function `tty_insert_flip_char':
coredrv.c:167: error: structure has no member named `buf'
coredrv.c:168: error: dereferencing pointer to incomplete type
coredrv.c:168: error: dereferencing pointer to incomplete type
coredrv.c:168: error: dereferencing pointer to incomplete type
coredrv.c:170: error: dereferencing pointer to incomplete type
coredrv.c:170: error: dereferencing pointer to incomplete type
coredrv.c:171: error: dereferencing pointer to incomplete type
coredrv.c:171: error: dereferencing pointer to incomplete type
coredrv.c: At top level:
coredrv.c:991: warning: initialization makes integer from pointer without a cast
coredrv.c:404: warning: `power_callback' defined but not used
make[1]: *** [coredrv.o] 1
make[1]: Leaving directory `/mnt/wind/Linux/Intel-536/coredrv'
cp: stat `Intel536.o': No such file or directory
debian:/mnt/wind/Linux/Intel-536#
What is it?.
---------------------------------------
Excuse for bad English