cross compilation issue

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

/*Sorry for cross posting, but as I didnt get in answers, so doing it
here..i apologise for the inconvenience, but pls reply if someone is
aware of this stuff...am badly stuck*/
Hi Everybody,
                   am facing a problem in cross compiling for arm9. I
have the toolchain installed, the hello world program builds fine, but
when I add headers linux/i2c.h and linux/i2c-dev.h, i get a hell of
errors. I think I am missing out something here, can somebody point it
out?

I have tried my application, then this is the simplest application,
which gives a lot of errors...

#include<stdio.h>
#include<linux/i2c.h>
#include <linux/i2c-dev.h>

main()
{
return 0;

}

which I am compiling by $CROSS_COMPILER hello.c.

Thanks and Regards,
Sudip

Site Timeline