gcc48/gcc49: isalnum/isgraph: Undefined symbols for architecture x86_64
Joshua Root
jmr at macports.org
Wed Nov 6 15:38:30 PST 2013
> Hello all,
>
> I’m getting an undefined symbol for isalnum and isgraph using g++-mp-4.8.
>
> I found this article here: http://stackoverflow.com/questions/19649421/something-odd-happened-to-c-11-in-mavericks which mentions the issue in Mavericks and the Xcode command line tools. However, I’m using MP and the g++ from mp when trying to build. And yes, I rebuilt ports, from scratch, when I upgraded (clean install) to Mavericks.
>
> It could just be me missing something, but I’ve tried everything I can think of and every combination of google searches to figure this one out. The code is very simple (I think). Oh, and yes, I did a +universal when I installed gcc49 and gcc48. And if it matters, I installed gcc49 (with libgcc) before gcc48. When I tried gcc48 then gcc49 I got an error about libgcc, but doing it the other way works.
>
> What am I missing???
>
> Thanks,
>
> -b
>
> #include <ctype.h>
Shouldn't that be '#include <cctype>' since you're compiling as C++?
- Josh
More information about the macports-users
mailing list