elton.slacker
(usa Slackware)
Enviado em 25/09/2007 - 14:56h
Boa tarde abaixei o arquivo "qc-usb-0.6.5.tar.gz" para iniciar a instalação da webcam Logitech quickcam pro 5000 e digitei "make all", aí surgiu a seguinte mensagem:
make -C "/lib/modules/2.6.21.5-smp/build" SUBDIRS="/home/slackware/compilação/programas/qc-usb-0.6.5" modules V=1 USER_OPT="-DHAVE_UTSRELEASE_H=1"
make[1]: Entering directory `/usr/src/linux-2.6.21.5'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || ( \
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to fix it."; \
echo; \
/bin/false)
mkdir -p /home/slackware/compilação/programas/qc-usb-0.6.5/.tmp_versions
rm -f /home/slackware/compilação/programas/qc-usb-0.6.5/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/slackware/compilação/programas/qc-usb-0.6.5
gcc -m32 -Wp,-MD,/home/slackware/compilação/programas/qc-usb-0.6.5/.qc-driver.o.d -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/4.1.2/include -D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -fno-stack-protector -Wdeclaration-after-statement -Wno-pointer-sign -DNOKERNEL -DHAVE_UTSRELEASE_H=1 -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(qc_driver)" -D"KBUILD_MODNAME=KBUILD_STR(quickcam)" -c -o /home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.o /home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.c
In file included from /home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.c:47:
/home/slackware/compilação/programas/qc-usb-0.6.5/quickcam.h:79:26: error: linux/config.h: No such file or directory
/home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.c: In function 'qc_i2c_init':
/home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.c:825: warning: assignment from incompatible pointer type
/home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.c: In function 'qc_isoc_start':
/home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.c:1867: warning: assignment from incompatible pointer type
make[2]: *** [/home/slackware/compilação/programas/qc-usb-0.6.5/qc-driver.o] Error 1
make[1]: *** [_module_/home/slackware/compilação/programas/qc-usb-0.6.5] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.21.5'
make: *** [quickcam.ko] Error 2
Alguém poderia me ajudar, desde já agradeço.