cross compiling issue!!!!! - Linux

This is a discussion on cross compiling issue!!!!! - Linux ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: cross compiling issue!!!!!

  1. cross compiling issue!!!!!

    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

  2. Re: cross compiling issue!!!!!

    -----BEGIN PGP SIGNATURE-----
    Version: GnuPG v1.4.6 (GNU/Linux)

    iD8DBQFIHjTTVcFcaSW/uEgRApdyAKCoBo+7JZ+Yonl9ClvZdxwzFejylgCg3WTi
    R6u4/cZZCr1AQ70+WZLba0c=
    =D0F/
    -----END PGP SIGNATURE-----

+ Reply to Thread