- From: David Schleef <ds_at_schleef.org>
- Date: Tue, 28 May 2002 11:08:29 -0700
On Tue, May 28, 2002 at 03:09:47PM +0200, Ivan Martinez wrote: > Hello all, > I'm trying to include "comedilib.h" and "rtai_sched.h" in the same module, > but I get many redefines between them: > > gcc -c -I/usr/include -I/usr/local/include -I/usr/src/rtai/include > -D__KERNEL__ -DMODULE -O2 -Wall -o rtmodule.o rtmodule.c The problem is you are trying to use /usr/include headers, which means you get the well-known conflicts between the kernel and Glibc. dave...
Received on 2002-05-28Z17:08:29