- From: Peter Dettori <dettori_at_astro.su.se>
- Date: Thu, 05 Feb 2004 14:00:54 +0100
I am not really sure which list this belongs on but I am trying to
compile comedi 0.7.66 with rtai 24.1.12. I get the following error
compiling comedi. The comedi version of config.h is being included by
rtai-24.h. I can get things to compile but putting the full path in the
include specification in rtai-24.h, but that doesn't seem like a very
clean solution.
Is either project planning to (or have already in later releases) rename
their "config.h" files to something a little less generic? Or is there
another workaround I have missed?
gcc -I /share/scratch/pete/comedi-0.7.66/include -D__KERNEL__
-I/usr/src/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs
-O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe
-mpreferred-stack-boundary=2 -march=athlon -DMODULE -I
/share/scratch/pete/rtai-24.1.12/include -nostdinc -I
/usr/lib/gcc-lib/i386-redhat-linux/3.2.2/include -DMODULE -c -o
comedi_fops.o comedi_fops.c
In file included from /share/scratch/pete/rtai-24.1.12/include/asm/rtai.h:7,
from /share/scratch/pete/rtai-24.1.12/include/rtai.h:11,
from
/share/scratch/pete/comedi-0.7.66/include/linux/comedi_rt.h:42,
from
/share/scratch/pete/comedi-0.7.66/include/linux/comedidev.h:364,
from comedi_fops.c:42:
/share/scratch/pete/rtai-24.1.12/include/asm/rtai-24.h:510:
`CONFIG_RTAI_CPUS' undeclared here (not in a function)
/share/scratch/pete/rtai-24.1.12/include/asm/rtai-24.h:514:
`CONFIG_RTAI_CPUS' undeclared here (not in a function)
make[1]: *** [comedi_fops.o] Error 1
make[1]: Leaving directory
`/amd/ebba.astro.su.se/scratch/pete/comedi-0.7.66/comedi'
make: *** [_mod_comedi] Error 2
Best regards,
Pete
Received on 2004-02-05Z13:00:54