Two guesses:
1) LD_LIBRARY_PATH needs to be set to include the correct libstdc++.so
( you must be finding an older copy).
Or
2) Your gcc was not compiled with "--enable-shared", with version 3
and newer gcc this is default. Beneath version 3 it was not the
default...
later,
Mike
On Wednesday, May 22, 2002, at 12:03 PM, Helge Hartmann wrote:
> hi!
>
> i have a problem compiling my first sax based parser:
>
> /opt/local/gcc-2.95/bin/g++ -I../include
> -I/home/helge/xerces-c-src1_7_0/include -Wall -g -ggdb
> -DDEVELOPMENT -c main.cpp -o ../obj/solaris/main.o
> /opt/local/gcc-2.95/bin/g++ -g -L/home/helge/xerces-c-src1_7_0/lib/
> ../obj/solaris/main.o -lm -lsocket -lnsl -lxerces-c1_7_0 -o
> ../bin/solaris/xmi2ssl
> Undefined first referenced
> symbol in file
> XMI2SSLHandler::ContentHandler virtual table../obj/solaris/main.o
> XMI2SSLHandler::ErrorHandler virtual table../obj/solaris/main.o
> XMI2SSLHandler::DTDHandler virtual table../obj/solaris/main.o
> XMI2SSLHandler virtual table ../obj/solaris/main.o
> XMI2SSLHandler::DeclHandler virtual table../obj/solaris/main.o
> XMI2SSLHandler::LexicalHandler virtual table../obj/solaris/main.o
> ld: fatal: Symbol referencing errors. No output written to
> ../bin/solaris/xmi2ssl
>
>
> what ist going wrong?
>
> Helge
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]