/*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
#include
#include

main()
{
return 0;

}

which I am compiling by $CROSS_COMPILER hello.c.

Thanks and Regards,
Sudip