How do I add missing stdc functions to libstdc++-v3?
Marc Glisse
marc.glisse@inria.fr
Thu Mar 15 06:33:00 GMT 2012
On Wed, 14 Mar 2012, Vaugha Brewchuk wrote:
> /bin/ld: Undefined symbols:
> access(char const*, int)
> strdup(char const*)
> strxfrm(char*, char const*, unsigned long)
> collect2: ld returned 1 exit status
It is suspicious that you get the types of the arguments printed here. It
means the functions were compiled as C++ functions, so probably their
declaration is missing extern "C".
--
Marc Glisse
More information about the Gcc-help
mailing list