#5 doxymacs fails to build with clang

open
nobody
None
5
2012-10-14
2012-10-14
Misty De Meo
No

When trying to build with clang as the compiler, the build fails with missing symbols errors:

Undefined symbols for architecture x86_64:
"_AddCompoundMembers", referenced from:
_main in doxymacs_parser.o
"_AddToCompletionList", referenced from:
_main in doxymacs_parser.o
"_OutputCompletionList", referenced from:
_main in doxymacs_parser.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [doxymacs_parser] Error 1
make: *** [install-recursive] Error 1

The build succeeds using gcc 4.2.

Discussion