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/

[]s

On Fri, Feb 29, 2008 at 7:55 PM, David van Geest <[EMAIL PROTECTED]>
wrote:

> On Fri, Feb 29, 2008 at 11:15 AM, Harry Gunnarsson <[EMAIL PROTECTED]>
> wrote:
>  > It looks about right, I am looking at one of my own source files that
> calls
>  > the functions you refer to and I include
>
>  Thanks Harry, turns out the order does matter a lot.  This is what I
>  have, for anyone else who's interested:
>
>  #include <sys/types.h>
>  #include <sys/stat.h>
>  #include <fcntl.h>
>  #include <sys/ioctl.h>
>  #include <unistd.h>
>  #include
> "/home/rr/uCLinux/uClinux-dist/user/lm_sensors/kernel/include/i2c-dev.h"
>
>  My test app works as expected now.  Thanks!
>
>  -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
>



-- 
Regards,
+
---------------------------------------------------------------------------------+
Jorge Pereira, From: Olinda/Pe/Brazil
Home:  http://www.jorgepereira.com.br/
E-mail:  [EMAIL PROTECTED], [EMAIL PROTECTED]
Mobile: +55 (81) 8833-2484
My Public Key: http://www.jorgepereira.com.br/public.pgp
+
---------------------------------------------------------------------------------+
   "Se você ama alguma coisa, liberte-a;
  Se ela não voltar a ti, cace-a e mate-a."
+----------------------------------------------------------------------------------+
_______________________________________________
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

Reply via email to