pingus
(usa Slackware)
Enviado em 30/09/2007 - 18:29h
Olá.
Pessoal é o seguinte, eu estou tentando configura o lirc no slackware11 com kernel 2.6.21 SMP, mas ocorre o seguinte erro e eu não sei como resolver isso.
Gostaria de saber se alguem usa Controle remoto no Slackware 11. E se possivel dar uma ajuada.
make all-recursive
make[1]: Entrando no diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2'
Making all in drivers
make[2]: Entrando no diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers'
Making all in lirc_dev
make[3]: Entrando no diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev'
Makefile:8: **************************************************
Makefile:8: *** Makefile trick not undone, trying to recover *
Makefile:8: **************************************************
mv Makefile.automake Makefile
make all
make[4]: Entrando no diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
make -C /lib/modules/2.6.21.5-smp/build/ SUBDIRS=/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev modules \
KBUILD_VERBOSE=1
make[5]: Entrando no diretório `/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/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/.tmp_versions
rm -f /home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev
gcc -m32 -Wp,-MD,/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/.lirc_dev.o.d -nostdinc -isystem /usr/lib/gcc/i486-slackware-linux/3.4.6/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 -fno-unit-at-a-time -march=i686 -ffreestanding -maccumulate-outgoing-args -DCONFIG_AS_CFI=1 -Iinclude/asm-i386/mach-default -fomit-frame-pointer -Wdeclaration-after-statement -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I /home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/../.. -I /lib/modules/2.6.21.5-smp/build//include/ -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)" -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c -o /home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.o /home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:35:26: linux/config.h: Arquivo ou diretório não encontrado
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:54:35: linux/devfs_fs_kernel.h: Arquivo ou diretório não encontrado
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c: In function `cleanup':
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:132: warning: implicit declaration of function `devfs_remove'
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c: In function `lirc_register_plugin':
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:381: warning: implicit declaration of function `devfs_mk_cdev'
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:386: warning: passing arg 2 of `class_devic
e_create' makes pointer from integer without a cast
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:386: warning: passing arg 3 of `class_device_create' makes integer from pointer without a cast
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:386: warning: passing arg 4 of `class_device_create' from incompatible pointer type
/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.c:386: warning: passing arg 5 of `class_device_create' makes pointer from integer without a cast
make[6]: ** [/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev/lirc_dev.o] Erro 1
make[5]: ** [_module_/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev] Erro 2
make[5]: Saindo do diretório `/usr/src/linux-2.6.21.5'
make[4]: ** [lirc_dev.o] Erro 2
make[4]: Saindo do diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev'
make[3]: ** [all] Erro 2
make[3]: Saindo do diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers/lirc_dev'
make[2]: ** [all-recursive] Erro 1
make[2]: Saindo do diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2/drivers'
make[1]: ** [all-recursive] Erro 1
make[1]: Saindo do diretório `/home/silva/Desktop/lirc/tmp/lirc-0.7.2'
make: ** [all] Erro 2
Valeu.