Thanks for that tip, making sure that its compiling against the right
include directory did the trick :) I just didn't know what to look for.
But with that another problem appeared: How can I add header files for
the mips platform that the cross compiler can use (here curses.h and
openssl/* are needed)? Can I just copy them from the embedded device
(router)?
Am 13.05.2008 um 06:58 schrieb Ian Lance Taylor:
Till Elsner <till.elsner@xxxxxxxxxxxxxxxxxx> writes:
Thanks for the explaination. I removed the toolchain and installed
the
pre-compiled one from http://debian.speedblue.org but the same error
still exists. Anyone an idea what might be the problem or where to
get
a working cross compiler from? I'm trying to compile an application
for OpenWRT.
Is there an explicit -I /usr/include on the compilation command line?
Something is apparently telling the compiler to read /usr/include.
You need to find that and change it.
Ian