FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 03-03-2009, 08:17 PM
Yvan
 
Default Can't compile lirc modules

Debian Lenny
Lirc 0.8.3-3
Kernel 2.6.26-1-686

I can not compile lirc modules. Here is what I did:

# dpkg-reconfigure lirc-modules-source
# m-a prepare
# m-a a-i lirc

But:


make[1]: Entering directory `/usr/src/modules/lirc'
sed -e "s!$KVERS!2.6.26-1-686!g;
s!$KSRC!/lib/modules/2.6.26-1-686/build!; s!$KARCH!i386!;
s!$KEMAIL!!; s!$KMAINT!!; s!$KDREV!2.6.26-13!; s!$DEBDATE!Tue, 03
Mar 2009 06:58:22 +0100!" debian/control.in > debian/control dh_testdir
# Add here commands to configure the package. touch configure-stamp
dh_testdir # Add here commands to compile the package.
/usr/bin/make debconf
make[2]: Entering directory `/usr/src/modules/lirc'
mkdir modules
/usr/bin/make -C drivers SUBDIRS="lirc_dev"
make[3]: Entering directory `/usr/src/modules/lirc/drivers'
Making all in lirc_dev
make[4]: Entering directory `/usr/src/modules/lirc/drivers/lirc_dev'
mv Makefile Makefile.automake
cp ../Makefile.kernel Makefile
/usr/bin/make -C /lib/modules/2.6.26-1-686/build
SUBDIRS=/usr/src/modules/lirc/drivers/lirc_dev modules
KBUILD_VERBOSE=1 make[5]: Entering directory
`/usr/src/linux-headers-2.6.26-1-686' 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 /usr/src/modules/lirc/drivers/lirc_dev/.tmp_versions ; rm
-f /usr/src/modules/lirc/drivers/lirc_dev/.tmp_versions/* /usr/bin/make
-f scripts/Makefile.build obj=/usr/src/modules/lirc/drivers/lirc_dev
gcc-4.1 -Wp,-MD,/usr/src/modules/lirc/drivers/lirc_dev/.lirc_dev.o.d
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include
-D__KERNEL__ -Iinclude -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -Os -fno-stack-protector -m32
-msoft-float -mregparm=3 -freg-struct-return
-mpreferred-stack-boundary=2 -march=i686 -ffreestanding
-DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -pipe
-Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx
-mno-sse2 -mno-3dnow -Iinclude/asm-x86/mach-default
-fomit-frame-pointer -Wdeclaration-after-statement -Wno-pointer-sign
-DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../..
-I/usr/src/modules/lirc/drivers/lirc_dev/../..
-I/lib/modules/2.6.26-1-686/build/include/ -DMODULE
-D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"
-D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)" -c
-o /usr/src/modules/lirc/drivers/lirc_dev/.tmp_lirc_dev.o /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:35:26:
error: linux/config.h: No such file or
directory /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c: In
function
‘cleanup’: /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:136:
error: implicit declaration of function
‘class_device_destroy’ /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:
In function
‘lirc_register_plugin’: /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:250:
error: implicit declaration of function
‘DECLARE_MUTEX_LOCKED’ /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:250:
error: ‘tn’ undeclared (first use in this
function) /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:250: error:
(Each undeclared identifier is reported only
once /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:250: error: for
each function it appears
in.) /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:387: error:
implicit declaration of function
‘class_device_create’ /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:
In function
‘lirc_unregister_plugin’: /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:440:
error: ‘tn’ undeclared (first use in this
function) /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:441: error:
‘tn2’ undeclared (first use in this
function) /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c: In
function
‘lirc_dev_init’: /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:873:
error: void value not ignored as it ought to
be /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c: In function
‘cleanup_module’: /usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.c:900:
error: void value not ignored as it ought to be make[6]: ***
[/usr/src/modules/lirc/drivers/lirc_dev/lirc_dev.o] Error 1 make[5]:
*** [_module_/usr/src/modules/lirc/drivers/lirc_dev] Error 2 make[5]:
Leaving directory `/usr/src/linux-headers-2.6.26-1-686' make[4]: ***
[lirc_dev.o] Error 2 make[4]: Leaving directory
`/usr/src/modules/lirc/drivers/lirc_dev' make[3]: *** [all-recursive]
Error 1 make[3]: Leaving directory `/usr/src/modules/lirc/drivers'
make[2]: *** [dev] Error 2 make[2]: Leaving directory
`/usr/src/modules/lirc' make[1]: *** [build-stamp] Error 2 make[1]:
Leaving directory `/usr/src/modules/lirc' make: *** [kdist_image] Error
2


--
___ ____
/__/ / ** Registrovani korisnik Linuksa #291606 **
/ / / / ** Registered Linux user #291606 **
/__/\____/--\__ ** http://counter.li.org/ **


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 07:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org