- From: Simpson, John <john.simpson_at_mbda.co.uk>
- Date: Fri, 19 May 2006 14:27:00 +0100
Hi
I am having the same problems compiling comedi-0.7.70 on FC5 as another
recent contributor. I've tried all the various remedies and patches (bugs
221 and 222) that seemed to resolve his problems, but I just get the same
make failures.
Typical logs as follows:
[root_at_ircm comedi-0.7.70]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strip... /usr/bin/strip
checking for depmod... /sbin/depmod
configure: Using 2.6.15-1.2054_FC5smp as the uname -r value
configure: Using i686 as the uname -m value
checking for rpm... yes
checking if rpm can be used to query packages... yes
checking for Linux in /lib/modules/2.6.15-1.2054_FC5smp/build... yes
checking /lib/modules/2.6.15-1.2054_FC5smp/build/.config... yes
checking Pre-FC2 Red Hat/Fedora kernel... not found
checking Linux config option CONFIG_M386... no
checking Linux config option CONFIG_M586... no
checking Linux config option CONFIG_M686... yes
checking Linux config option CONFIG_MPENTIUMIII... no
checking Linux config option CONFIG_MK7... no
checking Linux config option CONFIG_SMP... yes
checking Linux config option CONFIG_HIGHMEM64G... yes
configure: Putting kernel modules under /lib/modules/2.6.15-1.2054_FC5smp
configure: Putting kernel module development files under
/lib/modules/2.6.15-1.2054_FC5smp/build
checking Linux major/minor version... 2.6
checking for Linux CFLAGS... -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -Os
-fomit-frame-pointer -g -pipe -msoft-float -fno-builtin-sprintf
-fno-builtin-log2 -fno-builtin-puts -mpreferred-stack-boundary=2 -march=i686
-mtune=pentium4 -mregparm=3
-I/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm-i386/mach-generic
-I/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm-i386/mach-default
-Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__
-I/lib/modules/2.6.15-1.2054_FC5smp/build/include -include
include/linux/autoconf.h -DMODULE
checking for modpost...
/lib/modules/2.6.15-1.2054_FC5smp/build/scripts/mod/modpost
checking for strip... (cached) /usr/bin/strip
checking for depmod... (cached) /sbin/depmod
configure: creating modtool
checking Linux config option CONFIG_RTHAL... no
checking Linux config option CONFIG_ADEOS... no
checking Linux config option CONFIG_RTLINUX... no
checking Linux config option CONFIG_PCMCIA... yes
checking Linux config option CONFIG_ISA... yes
checking Linux config option CONFIG_PCI... yes
checking Linux config option CONFIG_USB... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating comedi/Makefile
config.status: creating comedi/drivers/Makefile
config.status: creating comedi/kcomedilib/Makefile
config.status: creating config.h
config.status: executing depfiles commands
and the make log
[root_at_ircm comedi-0.7.70]# make
make all-recursive
make[1]: Entering directory `/root/comedi/comedi-0.7.70'
Making all in comedi
make[2]: Entering directory `/root/comedi/comedi-0.7.70/comedi'
Making all in .
make[3]: Entering directory `/root/comedi/comedi-0.7.70/comedi'
if gcc -m32 -DHAVE_CONFIG_H -I. -I. -I.. -I../include/
-DKBUILD_MODNAME=comedi -DKBUILD_BASENAME=comedi_fops -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-ffreestanding -Os -fomit-frame-pointer -g -pipe -msoft-float
-fno-builtin-sprintf -fno-builtin-log2 -fno-builtin-puts
-mpreferred-stack-boundary=2 -march=i686 -mtune=pentium4 -mregparm=3
-I/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm-i386/mach-generic
-I/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm-i386/mach-default
-Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__
-I/lib/modules/2.6.15-1.2054_FC5smp/build/include -include
include/linux/autoconf.h -DMODULE -g -O2 -MT comedi_ko-comedi_fops.o -MD
-MP -MF ".deps/comedi_ko-comedi_fops.Tpo" -c -o comedi_ko-comedi_fops.o
`test -f 'comedi_fops.c' || echo './'`comedi_fops.c; \
then mv -f ".deps/comedi_ko-comedi_fops.Tpo"
".deps/comedi_ko-comedi_fops.Po"; else rm -f
".deps/comedi_ko-comedi_fops.Tpo"; exit 1; fi
cc1: error: include/linux/autoconf.h: No such file or directory
In file included from
/lib/modules/2.6.15-1.2054_FC5smp/build/include/linux/rwsem.h:27,
from
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h:42,
from ../include/asm/semaphore.h:18,
from
/lib/modules/2.6.15-1.2054_FC5smp/build/include/linux/sched.h:20,
from ../include/linux/sched.h:70,
from
/lib/modules/2.6.15-1.2054_FC5smp/build/include/linux/module.h:10,
from ../include/linux/module.h:62,
from comedi_fops.c:27:
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h: In function
âEUR~__down_readâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h:106: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h: In function
âEUR~__down_writeâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h:158: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h: In function
âEUR~__up_readâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h:195: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h:189: warning:
unused variable âEUR~tmpâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h: In function
âEUR~__up_writeâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h:221: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h: In function
âEUR~__downgrade_writeâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/rwsem.h:246: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
In file included from ../include/asm/semaphore.h:18,
from
/lib/modules/2.6.15-1.2054_FC5smp/build/include/linux/sched.h:20,
from ../include/linux/sched.h:70,
from
/lib/modules/2.6.15-1.2054_FC5smp/build/include/linux/module.h:10,
from ../include/linux/module.h:62,
from comedi_fops.c:27:
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h: In function
âEUR~downâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h:105: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h: In function
âEUR~down_interruptibleâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h:130: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h: In function
âEUR~down_trylockâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h:155: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h: In function
âEUR~upâEUR(tm):
/lib/modules/2.6.15-1.2054_FC5smp/build/include/asm/semaphore.h:179: error:
expected âEUR~:âEUR(tm) or âEUR~)âEUR(tm) before âEUR~comedi_fopsâEUR(tm)
comedi_fops.c: In function âEUR~comedi_initâEUR(tm):
comedi_fops.c:1798: warning: implicit declaration of function
âEUR~class_simple_createâEUR(tm)
comedi_fops.c:1798: warning: assignment makes pointer from integer without a
cast
comedi_fops.c:1808: warning: implicit declaration of function
âEUR~class_simple_destroyâEUR(tm)
comedi_fops.c:1826: warning: implicit declaration of function
âEUR~class_simple_device_addâEUR(tm)
comedi_fops.c: In function âEUR~comedi_cleanupâEUR(tm):
comedi_fops.c:1843: warning: implicit declaration of function
âEUR~class_simple_device_removeâEUR(tm)
make[3]: *** [comedi_ko-comedi_fops.o] Error 1
make[3]: Leaving directory `/root/comedi/comedi-0.7.70/comedi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/comedi/comedi-0.7.70/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/comedi/comedi-0.7.70'
make: *** [all] Error 2
I've cleared the autoconf.h error by copying the linux source version to the
local directory, but that only removes that line, all other errors remain.
I get the same errors using the /usr/src... source files as I do with these
/lib/modules... defaults.
I've tried --enable-kbuild, it's just the same.
Any ideas?
Thanks
John Simpson
********************************************************************
This email and any attachments are confidential to the intended
recipient and may also be privileged. If you are not the intended
recipient please delete it from your system and notify the sender.
You should not copy it or use it for any purpose nor disclose or
distribute its contents to any other person.
********************************************************************
Received on 2006-05-19Z12:27:00