I'm on OSX 10.11 and didn't see this problem when rebuilding the latest 
incoming sdk yesterday evening, I have built from a fresh emsdk 
installation though, and I also don't have the Mono.framework installed (it 
is strange that the linker tries to pick the libxml2.dylib from the Mono 
framework, may be something wrong with your dylib search paths).

Am Donnerstag, 22. Oktober 2015 12:49:57 UTC+2 schrieb awt:
>
> Hi,
>
> I saw the following error when building incoming from the sdk today. Has 
> anybody seen this error before?
>
> ld: warning: ignoring file 
> /Library/Frameworks/Mono.framework/Versions/3.2.7/lib/libxml2.dylib, file 
> was built for i386 which is not the architecture being linked (x86_64): 
> /Library/Frameworks/Mono.framework/Versions/3.2.7/lib/libxml2.dylib
> Undefined symbols for architecture x86_64:
>   "_xmlCheckVersion", referenced from:
>       _main in c-index-test.c.o
>   "_xmlRelaxNGParse", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlParseDoc", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlRelaxNGNewParserCtxt", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlRelaxNGNewValidCtxt", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlRelaxNGValidateDoc", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlRelaxNGFreeParserCtxt", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlGetLastError", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlFreeDoc", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlRelaxNGFreeValidCtxt", referenced from:
>       _PrintCursor in c-index-test.c.o
>   "_xmlRelaxNGFree", referenced from:
>       _PrintCursor in c-index-test.c.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[2]: *** [bin/c-index-test] Error 1
> make[1]: *** 
> [tools/clang/tools/c-index-test/CMakeFiles/c-index-test.dir/all] Error 2
> make: *** [all] Error 2
> Build failed due to exception!
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to