From: Luis.F.Correia <Lui...@se...> - 2005-05-02 13:39:27
|
Hi Michael, > -----Original Message----- > From: Michael Reinelt [mailto:re...@eu...] > Sent: Monday, May 02, 2005 11:41 AM > To: lcd4linux-devel > Subject: [Lcd4linux-devel] I2C again > > Hi there, > > I prepared a superb fully-featured massively complext i2c test program > to verify wether I cannot compile it or not. Well, the > latter: I can not. > > I tried on another notebook (debian sarge, too), and I get > the same errors. > > Here's the test program: > > #include <stdlib.h> > #include <stdio.h> > > #include <linux/i2c.h> > > > int main (int argc, char *argv[]) > { > printf ("Hello, world\n"); > } > > > If any (or all) of you are able to compile this beast, I really wonder > what's wrong here. Maybe we should start with comparing the result of > the preporocessor stage.... > > > bye, Michael > I still find this very very strange. This is what I got on my VM devel system: (Red Hat Linux release 8.0 (Psyche) 2.4.18-14 ) [root@lc_vm test]# find / -name i2c.h -print /usr/include/linux/i2c.h /usr/i386-linux-uclibc/include/linux/i2c.h What does this command tell you on your system? Luis Correia |