Ana_goncalves
(usa Suse)
Enviado em 02/03/2008 - 13:01h
O erro é oseguinte:
suana@goncalves:~/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.576.0> su
Senha:
goncalves:/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2
.56.76.0 # make clean
cd coredrv; make clean
make[1]: Entrando no diretório `/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv'
rm -f *.ko .*.o.cmd *.mod.c .*.ko.cmd *.o *~ core
rm -rf .tmp_versions
make[1]: Saindo do diretório `/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv'
rm -f *.o *.ko
goncalves:/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2
.56.76.0 # make 536
Module precompile check
Current running kernel is: 2.6.22.5-31-default
/lib/modules... autoconf.h exists
diff: /boot/vmlinuz.autoconf.h: Arquivo ou diretório não encontrado
autoconf.h matches running kernel
diff: /boot/vmlinuz.version.h: Arquivo ou diretório não encontrado
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.22.5-31-default
make[1]: Entrando no diretório `/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv'
make -C /lib/modules/2.6.22.5-31-default/build SUBDIRS=/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv modules
make[2]: Entrando no diretório `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make -C ../../../linux-2.6.22.5-31 O=../linux-2.6.22.5-31-obj/i386/default modules
CC [M] /home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.o
In file included from /home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/hamcore.h:45,
from /home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:34:
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/hamdefs.h:53:28: error: linux/config.h: Arquivo ou diretório não encontrado
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c: In function ‘open’:
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:391: warning: ‘deprecated_irq_flag’ is deprecated (declared at /usr/src/linux-2.6.22.5-31/include/linux/interrupt.h:66)
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:393: warning: passing argument 2 of ‘request_irq’ from incompatible pointer type
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:786:36: error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c: At top level:
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:786: warning: data definition has no type or storage class
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:786: warning: type defaults to ‘int’ in declaration of ‘DECLARE_WORK’
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:786: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before numeric constant
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:787:34: error: macro "DECLARE_WORK" passed 3 arguments, but takes just 2
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:787: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before numeric constant
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c: In function ‘wake_up_interruptible_persistReadQ’:
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:802: error: ‘wait_wq’ undeclared (first use in this function)
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:802: error: (Each undeclared identifier is reported only once
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:802: error: for each function it appears in.)
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c: In function ‘interruptible_sleep_on_timeout_persistReadQ’:
/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.c:836: error: ‘wait_wq2’ undeclared (first use in this function)
make[5]: ** [/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv/coredrv.o] Erro 1
make[4]: ** [_module_/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv] Erro 2
make[3]: ** [modules] Erro 2
make[2]: ** [modules] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-2.6.22.5-31-obj/i386/default'
make[1]: ** [536core_26] Erro 2
make[1]: Saindo do diretório `/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2.56.76.0/coredrv'
2.6.22.5-31-default
Failed to build driver
goncalves:/home/ana/intel-536EP-2.56.76.0_16_07_2006/home/philippe/intel-536EP-2
.56.76.0 #
será quem tem jeito?
obrigada