addi-data cvs version versus 0.7.70 under RTAI

Hi,

picking up the thread 

https://mail.comedi.org/pipermail/comedi/2006-February/007698.html

Question: How can I carry on with the installation in case make fails
in addi-data (I don't need this stuff). So the question is, how to
exclude certain drivers from the build process?

I just wanted to add that the compilation of the cvs version
terminates with (using cvs version of RTAI aka rtai-3.3 and kernel 2.6.14):

make[4]: Entering directory `/usr/src/cvs/comedi/comedi/drivers/addi-data'
if gcc -m32 -DHAVE_CONFIG_H -I. -I. -I../../..    -I../../../include/ -DKBUILD_MODNAME=addi_common 
-DKBUILD_BASENAME=addi_common -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
-fno-common -ffreestanding -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 
-march=athlon -I/lib/modules/2.6.14-ipipe-r3/build/include/asm-i386/mach-default -D__KERNEL__ 
-I/lib/modules/2.6.14-ipipe-r3/build/include  -DMODULE -g -O2 -MT addi_common.o -MD -MP -MF 
".deps/addi_common.Tpo" -c -o addi_common.o addi_common.c; \
then mv -f ".deps/addi_common.Tpo" ".deps/addi_common.Po"; else rm -f ".deps/addi_common.Tpo"; exit 
1; fi
In file included from addi_common.c:67:
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:21: error: syntax error before "do"
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:21: error: syntax error before "struct"
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:21: error: syntax error before "struct"
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:21: error: syntax error before "struct"
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:21: error: syntax error before "struct"
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:21: error: syntax error before "struct"
In file included from addi_common.c:67:
/lib/modules/2.6.14-ipipe-r3/build/include/asm/i387.h:31:1: warning: "restore_fpu" redefined
In file included from /usr/realtime/include/asm/rtai_hal.h:177,
                 from /usr/realtime/include/asm/rtai.h:20,
                 from /usr/realtime/include/rtai.h:26,
                 from ../../../include/linux/comedi_rt.h:42,
                 from ../../../include/linux/comedidev.h:395,
                 from addi_common.c:65:
/usr/realtime/include/asm/rtai_fpu.h:111:1: warning: this is the location of the previous definition
make[4]: *** [addi_common.o] Error 1
make[4]: Leaving directory `/usr/src/cvs/comedi/comedi/drivers/addi-data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/cvs/comedi/comedi/drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cvs/comedi/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cvs/comedi'
make: *** [all] Error 2

and terminates with (using rtai-3.2 and kernel 2.6.10):

Making all in drivers
make[3]: Entering directory `/usr/src/cvs/comedi/comedi/drivers'
Making all in addi-data
make[4]: Entering directory `/usr/src/cvs/comedi/comedi/drivers/addi-data'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../..    -I../../../include/ -DKBUILD_MODNAME=addi_common -DKBUILD_BASENAME=addi_common -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=athlon -I/lib/modules/2.6.10/build/include/asm-i386/mach-default -D__KERNEL__ -I/lib/modules/2.6.10/build/include  -DMODULE -I/usr/realtime/include  -g -O2 -MT addi_common.o -MD -MP -MF ".deps/addi_common.Tpo" -c -o addi_common.o addi_common.c; \
then mv -f ".deps/addi_common.Tpo" ".deps/addi_common.Po"; else rm -f ".deps/addi_common.Tpo"; exit 1; fi
In file included from addi_common.c:67:
/lib/modules/2.6.10/build/include/asm/i387.h:22: error: syntax error before "do"
/lib/modules/2.6.10/build/include/asm/i387.h:22: error: syntax error before '->' token
/lib/modules/2.6.10/build/include/asm/i387.h:26: error: syntax error before "do"
make[4]: *** [addi_common.o] Error 1
make[4]: Leaving directory `/usr/src/cvs/comedi/comedi/drivers/addi-data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/cvs/comedi/comedi/drivers'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/cvs/comedi/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/cvs/comedi'
make: *** [all] Error 2

In the meantime the comedi tar ball 0.7.70 compiles with no problems.

Cheers Petrik

Received on 2006-02-10Z08:31:15