cannot run test program while cross compiling.

Hi All,

While doing the cross compilation of pkg_config for directFB for MIPS
target from i86 platform, i am getting the following error.
"checking for extra flags to get ANSI library prototypes... configure:
error: cannot run test program while cross compiling."
Can any body help in this regard?

Thanks in advance.


  • Identical post in the main forum deleted. Please avoid double-posting.
  • I am not an expert in cross compilation,but i think its impossible that
    the program runs since itv has been compiled for another platform from the one it was compiled on.Please take the compiled code to its target platform and try to run.It should work.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!