uClibc++ application compilation error
gkajmowi at tbaytel.net
Sat Sep 23 14:08:17 UTC 2006
On Saturday 23 September 2006 12:21, manjunatha sirinivasan wrote:
> Iam facing the problem of compiling a C++ code
> with the cross C++ compiler of montavista
Ahh. My employer's competitor. :-)
> mips_fp_be-g++ -nostdlib -nodefaultlibs
> -L /opt/montavista/pro/devkit/mips/fp_be/target/lib
> hello.cpp -o hello
It looks like you haven't actually linked against the c++ library. I'd try
adding -luClibc++ to the command line above. You might also need -lgcc.
Finally, make sure that lib uClibc++ is properly cross-compiled as well.
More information about the uClibc