/usr/local/lib/nof/libstdc++.so.6: undefined reference to [EMAIL PROTECTED]'
/usr/local/lib/nof/libstdc++.so.6: undefined reference to [EMAIL PROTECTED]'
These functions should come from libgcc_s.so or libgcc_eh.a, depending on whether this is a shared or static link.
Try checking to see which libgcc libraries are being linked in. Try adding -v to the compiler line, or even -Wl,--verbose to see what the linker is doing.
Try running nm on the libgcc libraries to make sure they are OK.
If you have multiple gcc versions installed, you might be accidentally linking in the wrong libgcc libraries. If you have libraries compiled with other gcc versions, it is possible that they are bringing in the wrong libgcc, from an older gcc release.
Try using g++ to link instead of gcc. Somehow you are getting C++ libraries even though you seem to be linking C code, and using g++ for the link will make sure that the proper C++ libraries are linked in the proper order.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com