← Back to team overview

mythbuntu-bugs team mailing list archive

[Bug 529514] Re: lirc 0.8.6 and linux kernel >= 2.6.33 (will affect Ubuntu 10.10)

 

Sorry, but I have the same still the same problem in 10.04:


ProblemType: Package
DKMSBuildLog:
 DKMS make.log for lirc-0.8.6 for kernel 2.6.35-22-generic (x86_64)
 Sat Nov  6 00:34:34 CET 2010
 mkdir modules
 make -C drivers SUBDIRS="lirc_dev"
 make[1]: Entering directory `/var/lib/dkms/lirc/0.8.6/build/drivers'
 Making all in lirc_dev
 make[2]: Entering directory `/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev'
 cp ./../lirc_dev/Module*.symvers .
 cp: cannot stat `./../lirc_dev/Module*.symvers': No such file or directory
 make[2]: [lirc_dev.o] Error 1 (ignored)
 mv Makefile Makefile.automake
 cp ./../Makefile.kernel Makefile
 CPPFLAGS="" CFLAGS="" LDFLAGS="" \
 	make -C /lib/modules/2.6.35-22-generic/build SUBDIRS=/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev modules \
 		KBUILD_VERBOSE=1
 make[3]: Entering directory `/usr/src/linux-headers-2.6.35-22-generic'
 test -e include/generated/autoconf.h -a -e include/config/auto.conf || (		\
 	echo;								\
 	echo "  ERROR: Kernel configuration is invalid.";		\
 	echo "         include/generated/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 /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.tmp_versions ; rm -f /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.tmp_versions/*
 make -f scripts/Makefile.build obj=/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev
   gcc -Wp,-MD,/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.lirc_dev.o.d  -nostdinc -isystem /usr/lib/gcc/x86_64-linux-gnu/4.4.3/include  -I/usr/src/linux-headers-2.6.35-22-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -Iubuntu/include  -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m64 -mtune=generic -mno-red-zone -mcmodel=kernel -funit-at-a-time -maccumulate-outgoing-args -fstack-protector -DCONFIG_AS_CFI=1 -DCONFIG_AS_CFI_SIGNAL_FRAME=1 -DCONFIG_AS_CFI_SECTIONS=1 -pipe -Wno-sign-compare -fno-asynchronous-unwind-tables -mno-sse -mno-mmx -mno-sse2 -mno-3dnow -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -pg -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fconserve-stack -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/. -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/ -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/../.. -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/../.. -I/lib/modules/2.6.35-22-generic/build/include/ -I/lib/modules/2.6.35-22-generic/build/drivers/media/video/  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"  -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)"  -c -o /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.tmp_lirc_dev.o /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.c
 /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.c:35:28: error: linux/autoconf.h: No such file or directory
 make[4]: *** [/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.o] Error 1
 make[3]: *** [_module_/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev] Error 2
 make[3]: Leaving directory `/usr/src/linux-headers-2.6.35-22-generic'
 make[2]: *** [lirc_dev.o] Error 2
 make[2]: Leaving directory `/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/var/lib/dkms/lirc/0.8.6/build/drivers'
 make: *** [dev] Error 2
Date: Sat Nov  6 00:34:37 2010
ErrorMessage: lirc kernel module failed to build
Package: lirc-modules-source
PackageVersion: 0.8.6-0ubuntu4.2
SourcePackage: lirc

-- 
lirc 0.8.6 and linux kernel >= 2.6.33 (will affect Ubuntu 10.10)
https://bugs.launchpad.net/bugs/529514
You received this bug notification because you are a member of Mythbuntu
Bug Team, which is subscribed to lirc in ubuntu.

Status in “lirc” package in Ubuntu: Fix Released

Bug description:
Binary package hint: lirc

l# dpkg-reconfigure lirc-modules-source                                                                                             
Removing all DKMS Modules                                                                                                                                
Done.                                                                                                                                                    
Loading new lirc-0.8.6 DKMS files...                                                                                                                     
Building for 2.6.33-020633-generic and 2.6.33-020633rc8-generic                                                                                          
Building for architecture i686                                                                                                                           
Building initial module for 2.6.33-020633-generic                                                                                                        

Error! Bad return status for module build on kernel: 2.6.33-020633-generic (i686)
Consult the make.log in the build directory                                      
/var/lib/dkms/lirc/0.8.6/build/ for more information.                  
        

# cat /var/lib/dkms/lirc/0.8.6/build/make.log             
DKMS make.log for lirc-0.8.6 for kernel 2.6.33-020633-generic (i686)            
So 28. Feb 14:43:52 CET 2010                                                    
mkdir modules                                                                   
make -C drivers SUBDIRS="lirc_dev"                                              
make[1]: Betrete Verzeichnis '/var/lib/dkms/lirc/0.8.6/build/drivers'           
Making all in lirc_dev                                                          
make[2]: Betrete Verzeichnis '/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev'  
cp ./../lirc_dev/Module*.symvers .                                              
cp: Aufruf von stat für „./../lirc_dev/Module*.symvers“ nicht möglich: No such file or directory
make[2]: [lirc_dev.o] Fehler 1 (ignoriert)                                                      
mv Makefile Makefile.automake                                                                   
cp ./../Makefile.kernel Makefile                                                                
CPPFLAGS="" CFLAGS="" LDFLAGS="" \                                                              
        make -C /lib/modules/2.6.33-020633-generic/build SUBDIRS=/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev modules \
                KBUILD_VERBOSE=1                                                                                          
make[3]: Betrete Verzeichnis '/usr/src/linux-headers-2.6.33-020633-generic'                                               
test -e include/generated/autoconf.h -a -e include/config/auto.conf || (                \                                 
        echo;                                                           \                                                 
        echo "  ERROR: Kernel configuration is invalid.";               \                                                 
        echo "         include/generated/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 /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.tmp_versions ; rm -f /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.tmp_versions/*
make -f scripts/Makefile.build obj=/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev                                                            
  gcc -Wp,-MD,/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.lirc_dev.o.d  -nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.4.3/include -I/usr/src/linux-headers-2.6.33-020633-generic/arch/x86/include -Iinclude  -include include/generated/autoconf.h -D__KERNEL__ -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -Werror-implicit-function-declaration -Wno-format-security -fno-delete-null-pointer-checks -O2 -m32 -msoft-float -mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586 -mtune=generic -Wa,-mtune=generic32 -ffreestanding -fstack-protector -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 -Wframe-larger-than=1024 -fno-omit-frame-pointer -fno-optimize-sibling-calls -Wdeclaration-after-statement -Wno-pointer-sign -fno-strict-overflow -fno-dwarf2-cfi-asm -fconserve-stack -DIRCTL_DEV_MAJOR=61 -DEXPORT_SYMTAB -DHAVE_CONFIG_H -I. -I. -I../.. -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/. -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/ -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/../.. -I/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/../.. -I/lib/modules/2.6.33-020633-generic/build/include/ -I/lib/modules/2.6.33-020633-generic/build/drivers/media/video/  -DMODULE -D"KBUILD_STR(s)=#s" -D"KBUILD_BASENAME=KBUILD_STR(lirc_dev)"  -D"KBUILD_MODNAME=KBUILD_STR(lirc_dev)"  -c -o /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/.tmp_lirc_dev.o /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.c                    
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.c:35:28: error: linux/autoconf.h: No such file or directory                                           
In file included from /var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.c:72:                                                                           
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h: In function ‘lirc_buffer_init’:                                                                    
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h:88: warning: passing argument 1 of ‘kfifo_alloc’ makes pointer from integer without a cast          
include/linux/kfifo.h:109: note: expected ‘struct kfifo *’ but argument is of type ‘unsigned int’                                                              
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h:88: warning: passing argument 3 of ‘kfifo_alloc’ makes integer from pointer without a cast          
include/linux/kfifo.h:109: note: expected ‘gfp_t’ but argument is of type ‘struct spinlock_t *’                                                                
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h:88: warning: assignment makes pointer from integer without a cast                                   
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h: In function ‘lirc_buffer_read’:                                                                    
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h:185: error: implicit declaration of function ‘kfifo_get’                                            
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h: In function ‘lirc_buffer_write’:                                                                   
/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.h:206: error: implicit declaration of function ‘kfifo_put’                                            
make[4]: *** [/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev/lirc_dev.o] Fehler 1                                                                             
make[3]: *** [_module_/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev] Fehler 2                                                                                
make[3]: Verlasse Verzeichnis '/usr/src/linux-headers-2.6.33-020633-generic'                                                                                   
make[2]: *** [lirc_dev.o] Fehler 2                                                                                                                             
make[2]: Verlasse Verzeichnis '/var/lib/dkms/lirc/0.8.6/build/drivers/lirc_dev'                                                                                
make[1]: *** [all-recursive] Fehler 1                                                                                                                          
make[1]: Verlasse Verzeichnis '/var/lib/dkms/lirc/0.8.6/build/drivers'                                                                                         
make: *** [dev] Fehler 2





References