You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by David Reitter <r8...@davids-welt.de> on 2002/10/08 15:50:08 UTC

Re: Build on OS X fails -- cout

in reference to my recent post, I would like to mention that compiling the
stable 2.1.0 release works with g++2 (gcc 2.95.2). gcc2 is selected with
"gcc_select 2" 

Linking fails - see below.

---
ld: Undefined symbols:
_cout
_write__7ostreamPCci
/usr/bin/libtool: internal link edit command failed
make[1]: *** [/Users/dr/Prog/xerces-c-src2_1_0//lib/libxerces-c.dylib.21.0]
Error 1
make[1]: Target `ALL' not remade because of errors.
make: *** [/Users/dr/Prog/xerces-c-src2_1_0//lib/libxerces-c.21.0] Error 2
---

Well, I removed the cout.write from framework/StdOutFOrmatTarget.cpp, et
voilĂ , things seem to work now.

I would really appreciate more complete build instructions for OS X.
Actually, I don't understand, why I need to switch to gcc2, since the 3.1
version is mentioned as standard platform for some other Unixes.

thanks
dave


---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org