You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-users@xerces.apache.org by Richard Darnley <rd...@hotmail.co.uk> on 2010/08/29 16:58:01 UTC
undefined reference errors
Hi,
I am installing xercesc-source-2.8.0 in a cygwin environment under Win32 system and I getting a huge list of 'undefined reference' errors when I try to ./configure the source files. I am a total newbie to this stuff so I cannot explain it any better :-(
Based on what I have seen another user do, I ran the './configure' step as follows....
$ ./runConfigure -pcygwin -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P`cd ../../..; pwd`
Everything seems to be OK in the output until I get...
Creating library file: c:/Geant4/geant4_9_3_p01/xercesc/xerces-c-src_2_8_0/lib/libxerces-depdom28.dll.aCYGWIN/depdom/AttrImpl.o:AttrImpl.cpp:(.text+0x735): undefined reference to `xercesc_2_8::XMemory::operator new(unsigned int, xercesc_2_8::MemoryManager*)'
Afterwhich all the 'undefined reference' errors follow.
Can anyone help me?
Thanks in advance,
Richardps I have attached the full output to this email.
Re: undefined reference errors
Posted by Boris Kolpackov <bo...@codesynthesis.com>.
Hi Richard,
Richard Darnley <rd...@hotmail.co.uk> writes:
> I am installing xercesc-source-2.8.0 in a cygwin environment under
> Win32 system and I getting a huge list of 'undefined reference' errors
> when I try to ./configure the source files.
Try to build the static library instead of DLL (see the runConfigure
options for the switch).
Boris
--
Boris Kolpackov, Code Synthesis http://codesynthesis.com/~boris/blog
Open-source XML data binding for C++ http://codesynthesis.com/products/xsd
XML data binding for embedded systems http://codesynthesis.com/products/xsde
Command line interface to C++ compiler http://codesynthesis.com/projects/cli