- From: Morten L. Jørgensen <mljo04_at_kom.aau.dk>
- Date: Thu, 20 Oct 2005 13:02:42 +0200
Hi,
I'm rather new to the whole linux thing so my question might have a
simple solution (I sure hope so :-), so bare with me.
I am running linux 2.6.9 patched with rtlinux 3.1, I am running the
pwc-10.0.6 patch for webcam-support. The same problem occurs without the
pwc-10.0.6 patch. I do a:
$ ./configure --with-linuxdir=/usr/src/linux-2.6.9-rt/
--with-rtlinuxdir=/usr/src/rtlinux-3.1/
and this does not produce any errors. I then do a
$ make
then a whole bunch of crap comes out:
make all-recursive
make[1]: Entering directory `/root/comedi-0.7.70'
Making all in comedi
make[2]: Entering directory `/root/comedi-0.7.70/comedi'
Making all in .
make[3]: Entering directory `/root/comedi-0.7.70/comedi'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include/
-DKBUILD_MODNAME=comedi -DKBUILD_BASENAME=comedi_fops -Wall
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2
-fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2
-march=pentium4 -I/usr/src/linux-2.6.9-rt//include/asm-i386/mach-default
-D__KERNEL__ -I/usr/src/linux-2.6.9-rt//include -DMODULE
-I/usr/src/rtlinux-3.1//include -I/usr/src/rtlinux-3.1//include/compat
-I/usr/src/rtlinux-3.1//include/posix -D__RT__ -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
In file included from ../include/linux/comedi_rt.h:47,
from ../include/linux/comedidev.h:395,
from comedi_fops.c:44:
/usr/src/rtlinux-3.1/include/rtl_core.h:43:1: warning: "IRQ_HANDLED"
redefined
In file included from ../include/linux/interrupt.h:31,
from ../include/linux/comedidev.h:40,
from comedi_fops.c:44:
/usr/src/linux-2.6.9-rt/include/linux/interrupt.h:33:1: warning: this is
the location of the previous definition
In file included from ../include/linux/comedi_rt.h:48,
from ../include/linux/comedidev.h:395,
from comedi_fops.c:44:
/usr/src/rtlinux-3.1/include/rtl_time.h:37:1: warning: "TICK_USEC" redefined
In file included from /usr/src/linux-2.6.9-rt/include/linux/sched.h:11,
from ../include/linux/sched.h:70,
from /usr/src/linux-2.6.9-rt/include/linux/module.h:10,
from ../include/linux/module.h:62,
from comedi_fops.c:27:
/usr/src/linux-2.6.9-rt/include/linux/timex.h:181:1: warning: this is
the location of the previous definition
In file included from ../include/linux/comedi_rt.h:48,
from ../include/linux/comedidev.h:395,
from comedi_fops.c:44:
/usr/src/rtlinux-3.1/include/rtl_time.h:74: error: conflicting types for
`clockid__t'
/usr/src/linux-2.6.9-rt/include/linux/types.h:35: error: previous
declaration of `clockid__t'
make[3]: *** [comedi_ko-comedi_fops.o] Error 1
make[3]: Leaving directory `/root/comedi-0.7.70/comedi'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/comedi-0.7.70/comedi'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/comedi-0.7.70'
make: *** [all] Error 2
I choose to interpret this as some sort of error :-) Any suggestions?
-Morten L. Jørgensen
Received on 2005-10-20Z10:02:42