Prego (You're welcome)

Alberto

P.S. I see your question here http://mail-archives.apache.org/mod_mbox/xerces-c-users/201311.mbox/browser
Maybe it's only a matter of time before they appear there

Il 01/11/2013 10:16, Mallick, Kamlesh ha scritto:
Hi Alberto,

Bellisimo!!!!

Graci for this suggestion!

It worked!!!!   Appreciate this help!!

p.s
How does this mailing list work?
Do my question appear in a website?
I don't see my question here!
http://mail-archives.apache.org/mod_mbox/xerces-c-users/

Thanks,

Kamlesh Mallick
*Programmer | BMC Footprints AssetCore*


On Nov 1, 2013, at 2:28 PM, Alberto Massari <albertomass...@tiscali.it <mailto:albertomass...@tiscali.it>> wrote:

The undefined symbols are from the standard C++ library; why don't you
use -x llvm-g++ in your configure command line?

Alberto

Il 01/11/2013 09:38, Mallick, Kamlesh ha scritto:
Hi,

I did the following after downloaidng XALAN C++ Source Code

export XERCESCROOT="/usr/local"  (This path has the XERCES .dylib)
export
XALANCROOT="/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c"
  (my location)


./runConfigure -p macosx -c llvm-gcc -x llvm-gcc -z -m32 -l -m32    (I
want to build 32 bit Binaries on MAC OSX 10.8 thus the extra flags)

Make

Now i get Linker ERRORS.   I just cannot seem to solve it!


mac-kmallick-01:c kmallick$ make
make -C src/xalanc all
Preparing the directory structure for a build ...
mkdir -p ../../obj
mkdir -p ../../lib
mkdir -p ../../bin
make -C Utils prepare
mkdir -p ../../../nls
mkdir -p ../../../nls/include
make -C Utils locale
make -C MsgCreator
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
-c -I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src
-I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/include -I../../../../nls/include
-I/usr/local/src/ -I/usr/local/include/xercesc -I/usr/local/include/
-o ../../../../obj/MsgFileOutputStream.o
/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src/xalanc/Utils/MsgCreator/MsgFileOutputStream.cpp
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
-c -I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src
-I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/include -I../../../../nls/include
-I/usr/local/src/ -I/usr/local/include/xercesc -I/usr/local/include/
-o ../../../../obj/ICUResHandler.o
/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src/xalanc/Utils/MsgCreator/ICUResHandler.cpp
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
-c -I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src
-I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/include -I../../../../nls/include
-I/usr/local/src/ -I/usr/local/include/xercesc -I/usr/local/include/
-o ../../../../obj/InMemHandler.o
/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src/xalanc/Utils/MsgCreator/InMemHandler.cpp
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
-c -I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src
-I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/include -I../../../../nls/include
-I/usr/local/src/ -I/usr/local/include/xercesc -I/usr/local/include/
-o ../../../../obj/MsgCreator.o
/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src/xalanc/Utils/MsgCreator/MsgCreator.cpp
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
-c -I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src
-I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/include -I../../../../nls/include
-I/usr/local/src/ -I/usr/local/include/xercesc -I/usr/local/include/
-o ../../../../obj/NLSHandler.o
/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src/xalanc/Utils/MsgCreator/NLSHandler.cpp
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -DXALAN_INMEM_MSG_LOADER
-c -I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src
-I/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/include -I../../../../nls/include
-I/usr/local/src/ -I/usr/local/include/xercesc -I/usr/local/include/
-o ../../../../obj/SAX2Handler.o
/AC/WorkShop/ovaldi-5.10.1.5-src/PREREQUISITES/xalan-c-1.11/c/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp
llvm-gcc -m32 -O -DNDEBUG  -pthread -D_REENTRANT -Wall
-fno-elide-constructors -DMACOSX -D_REENTRANT
-DXALAN_USE_XERCES_LOCAL_CODEPAGE_TRANSCODERS -m32  -pthread
-D_REENTRANT -DXALAN_INMEM_MSG_LOADER   \
-lm  -lpthread  ../../../../obj/MsgFileOutputStream.o
../../../../obj/ICUResHandler.o ../../../../obj/InMemHandler.o
../../../../obj/MsgCreator.o ../../../../obj/NLSHandler.o
../../../../obj/SAX2Handler.o -o ../../../../bin/MsgCreator
-L/usr/local/lib -lxerces-c
Undefined symbols for architecture i386:
 "std::basic_ostream<char, std::char_traits<char>
::operator<<(std::basic_ostream<char, std::char_traits<char> >&
(*)(std::basic_ostream<char, std::char_traits<char> >&))", referenced
from:
     _main in MsgCreator.o
xalanc_1_11::SAX2Handler::warning(xercesc_3_1::SAXParseException
const&)    in SAX2Handler.o
xalanc_1_11::SAX2Handler::fatalError(xercesc_3_1::SAXParseException
const&)     in SAX2Handler.o
xalanc_1_11::SAX2Handler::error(xercesc_3_1::SAXParseException const&)
  in SAX2Handler.o
 "std::basic_ostream<char, std::char_traits<char>
::operator<<(unsigned long long)", referenced from:
xalanc_1_11::SAX2Handler::warning(xercesc_3_1::SAXParseException
const&)    in SAX2Handler.o
xalanc_1_11::SAX2Handler::fatalError(xercesc_3_1::SAXParseException
const&)     in SAX2Handler.o
xalanc_1_11::SAX2Handler::error(xercesc_3_1::SAXParseException const&)
  in SAX2Handler.o
 "std::ios_base::Init::Init()", referenced from:
     global constructors keyed to s_szVariableNamein InMemHandler.o
     global constructors keyed to
_Z7getArgsiPPcR13CmdLineParamsPPKcin MsgCreator.o
     global constructors keyed to szApacheLicensein SAX2Handler.o
 "std::ios_base::Init::~Init()", referenced from:
     ___tcf_0 in InMemHandler.o
     ___tcf_0 in MsgCreator.o
     ___tcf_0 in SAX2Handler.o
 "std::cerr", referenced from:
     _main in MsgCreator.o
xalanc_1_11::SAX2Handler::warning(xercesc_3_1::SAXParseException
const&)    in SAX2Handler.o

…
…
…
…
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
make[3]: *** [../../../../bin/MsgCreator] Error 1
make[2]: *** [../../../bin/MsgCreator] Error 2
make[1]: *** [locale] Error 2
make: *** [all] Error 2


Can someone help? XERCES (3.1.1) is being linked, but
then something else is missing.


Thanks,

Kamlesh Mallick
*Programmer | BMC Footprints AssetCore*


Nessun virus nel messaggio.
Controllato da AVG -www.avg.com <http://www.avg.com/><http://www.avg.com <http://www.avg.com/>>
Versione: 2014.0.4158 / Database dei virus: 3615/6795 - Data di
rilascio: 30/10/2013



Nessun virus nel messaggio.
Controllato da AVG - www.avg.com <http://www.avg.com>
Versione: 2014.0.4158 / Database dei virus: 3615/6795 - Data di rilascio: 30/10/2013


Reply via email to