From: Chandra V. <cha...@gm...> - 2005-03-16 22:04:56
|
Hi, I am trying to compile a simple i2c program in user space. I am using the latest cross compiler code (from http://svn.rungie.com/svn/gumstix-buildroot/trunk ) Based on a message on the bulletin board, I have copied i2c.h and i2c-dev.h from i2c-2.9.0 from www2.lm-sensors.nu and included them in my test program. When I compile I am getting a lots of errors - mostly from the include files. I would very much appreciate if some one could send me a simple sample code (with compile instructions). Thanks a lot. Regards, Chandra |
From: mgross <mar...@th...> - 2005-03-17 04:46:11
|
On Wednesday 16 March 2005 14:04, Chandra Venkatraman wrote: > Hi, > I am trying to compile a simple i2c program in user space. > > I am using the latest cross compiler code > (from http://svn.rungie.com/svn/gumstix-buildroot/trunk ) > > Based on a message on the bulletin board, > I have copied i2c.h and i2c-dev.h from i2c-2.9.0 from > www2.lm-sensors.nu and included them in my test program. > There are 2 versions of i2c-dev.h you want the one thats in the lm_sensors-2.9.0.tar.gz file. --mgross > When I compile I am getting a lots of errors - mostly from > the include files. > > I would very much appreciate if some one could send me > a simple sample code (with compile instructions). > > Thanks a lot. > Regards, > Chandra > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |