This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How do I add missing stdc functions to libstdc++-v3?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]