- From: Greg Simonoff <gsimonoff_at_yahoo.com>
- Date: Fri, 31 Dec 2004 23:08:36 -0800 (PST)
The CVS version of comedi:
The autogen.sh in the cvs version of comedi (as of
12/31/04) flat out fails to create a configure file,
and no configure file is included in the CVS
repository for either comedi or comedilib. The I
tried the autogen on a serveral of distros and it
failed on all.
My RTAI system configuration;
Mandrake 10.0 community edition (3 ISO CDs from
Mandrake). It has a 2.6 kernel.
A fresh linux-2.6.8.1 kernel from Kernel.org
rtai-3.1 (stable) from RTAI.org
gcc 3.3.2
All work was performed on a rtai configured kernel.
Inorder to add comedi I did the following:
I configured and made:
comedi-0.7.69.tar.gz and comedilib-0.7.222
using “configure –prefix=/usr
–with-rtaidir=/usr/realtime
–with-linuxdir=/usr/rtai/linux”
Both compiled – I assume correctly – No errors. I
went back to the rtai-build directory and “make
clean”ed. Then I xconfiged (from build dir) and
moused the comedi support from the addons section.
The xconfig window disappeared and the config seemed
to go smoothly. However, when I ran “make” and after
~20min of compiling the system gets to the comedi
stuff and the following errors appear:
Making all in rtai-addons
make[2]: Entering directory
`/usr/rtai/rtai-build/rtai-addons'
Making all in comedi
make[3]: Entering directory
`/usr/rtai/rtai-build/rtai-addons/comedi'
if gcc -DHAVE_CONFIG_H -I.
-I/usr/rtai/rtai-3.1/rtai-addons/comedi -I../.. -O2
-I/usr/rtai/linux/include -Wall -Wstrict-prototypes
-pipe -D__IN_RTAI__ -DCONFIG_RTAI_LXRT_INLINE=0
-D_GNU_SOURCE -D_REENTRANT
-I/usr/rtai/rtai-3.1/rtai-core/include
-I../../rtai-core/include -I/usr/include -MT
libkcomedilxrt_a-kcomedi.o -MD -MP -MF
".deps/libkcomedilxrt_a-kcomedi.Tpo" \
-c -o libkcomedilxrt_a-kcomedi.o `test -f
'kcomedi.c' || echo
'/usr/rtai/rtai-3.1/rtai-addons/comedi/'`kcomedi.c; \
then mv -f ".deps/libkcomedilxrt_a-kcomedi.Tpo"
".deps/libkcomedilxrt_a-kcomedi.Po"; \
else rm -f ".deps/libkcomedilxrt_a-kcomedi.Tpo"; exit
1; \
fi
rm -f libkcomedilxrt.a
ar cru libkcomedilxrt.a libkcomedilxrt_a-kcomedi.o
ranlib libkcomedilxrt.a
make[4]: Entering directory `/usr/rtai/linux-2.6.8.1'
CC [M]
/usr/rtai/rtai-build/rtai-addons/comedi/kcomedi-module.o
In file included from /usr/include/features.h:295,
from /usr/include/sys/ioctl.h:22,
from
/usr/include/linux/comedilib.h:29,
from
/usr/rtai/rtai-3.1/rtai-addons/comedi/rtai_comedi.h:86,
from
/usr/rtai/rtai-build/rtai-addons/comedi/kcomedi-module.c:34:
/usr/include/sys/cdefs.h:183:1: warning:
"__attribute_pure__" redefined
In file included from include/linux/compiler.h:24,
from include/asm-generic/siginfo.h:4,
from include/asm/siginfo.h:4,
from include/asm/adeos.h:26,
from include/linux/adeos.h:25,
from include/linux/sched.h:8,
from include/linux/module.h:10,
from
/usr/rtai/rtai-build/rtai-addons/comedi/kcomedi-module.c:27:
include/linux/compiler-gcc3.h:22:1: warning: this is
the location of the previous definition
In file included from /usr/include/features.h:295,
from /usr/include/sys/ioctl.h:22,
from
/usr/include/linux/comedilib.h:29,
from
/usr/rtai/rtai-3.1/rtai-addons/comedi/rtai_comedi.h:86,
from
/usr/rtai/rtai-build/rtai-addons/comedi/kcomedi-module.c:34:
/usr/include/sys/cdefs.h:192:1: warning:
"__attribute_used__" redefined
In file included from include/linux/compiler.h:24,
from include/asm-generic/siginfo.h:4,
from include/asm/siginfo.h:4,
from include/asm/adeos.h:26,
from include/linux/adeos.h:25,
from include/linux/sched.h:8,
from include/linux/module.h:10,
from
/usr/rtai/rtai-build/rtai-addons/comedi/kcomedi-module.c:27:
include/linux/compiler-gcc3.h:17:1: warning: this is
the location of the previous definition
In file included from /usr/include/bits/fcntl.h:25,
from /usr/include/fcntl.h:33,
from
/usr/include/linux/comedilib.h:30,
from
/usr/rtai/rtai-3.1/rtai-addons/comedi/rtai_comedi.h:86,
from
/usr/rtai/rtai-build/rtai-addons/comedi/kcomedi-module.c:34:
/usr/include/sys/types.h:35: error: redefinition of
`u_char'
include/linux/types.h:93: error: `u_char' previously
declared here
/usr/include/sys/types.h:36: error: redefinition of
`u_short'
Any suggestions? Is there something I’m completely
overlooking here?
greg
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo
Received on 2005-01-01Z07:08:36