PDA

Bekijk de volledige versie : libstdc++.so.5 and c++ compilation on unified firmware



hugo
21-12-2004, 22:47
Hi,

I'm trying to get nullmailer compiled on the 1.9.2.7 -3 Oleg's firmware.

It doesn't use gcc but c++, which is provided by the uclibc bin folder. Problem is, after solving all makefile error, I get a warning about a possible conflict between libstdc++ and libc. The process goes file, and I get the compiled result. But If I try to run it, it ask for libstdc++.so.5 After looking for it, I cann only find it in the mipsel-linux folder. Even if I put it in my lib folder, I get the dreaded ./mailq: linked against GNU libc! message at runtime, meaning there has been a mix in the library.

Is it possible to use this lib on Oleg's firmware? How can I pass by the error? I tryed a LDFLAGS=--all-static amongst other -L folders but it's still dynamic.

Anybody successfully complied c++ for uclibc?

Oleg
22-12-2004, 08:32
Try passing just -static.