On Sat, Mar 1, 2008 at 3:02 PM, Jorge Pereira <[EMAIL PROTECTED]> wrote: > very uggly buddy, try below. > > 1) change your code > - #include > "/home/rr/uCLinux/uClinux-dist/user/lm_sensors/kernel/include/i2c-dev.h" > + #include <i2c-dev.h> > > 2) in your compile, add parammenter. > > -I$PATH_UCLINUXDIST/user/lm_sensors/kernel/include/
Yes, I know it's ugly. There are two i2c-dev.h files, one distributed with lm_sensors which is meant to be included from user apps, and one distributed with the kernel which is _not_ meant to be included from user apps. Does the code you give specify which one...? Doesn't seem like it. If I were doing anything other than compiling a quick and dirty test app, then I would be inclined to actually copy the header file into the project directory and reference it there. -David _______________________________________________ uClinux-dev mailing list [email protected] http://mailman.uclinux.org/mailman/listinfo/uclinux-dev This message was resent by [email protected] To unsubscribe see: http://mailman.uclinux.org/mailman/options/uclinux-dev
