bug-commoncpp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Error including date types in 1.1.0


From: Jose Pedro Tavares
Subject: Error including date types in 1.1.0
Date: Wed, 07 Apr 2004 11:55:52 +0100
User-agent: Mozilla Thunderbird 0.5 (X11/20040208)

I'm using cc++ 1.1.0 and it was all going allright until I tried to use Date types (Date, Datetime and Time). I've used Threads, Strings, Sockets and everything was good. I think it is a linking problem since it finds <cc++/numbers.h> or a compatibility problem with STLport, the error is:

/usr/include/stlport/stl/_ios_base.h:198: undefined reference to `ost::Datetime::Datetime[in-charge]()'

I use the following compiler flags:
-lstlport_gcc -lccgnu2
Is libccext needed for this? When I add -lccext2 to the compiler flags the following error appears:
-lstlport_gcc -lccext2 -lccgnu2 -o bin/sim_test
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `deflate' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `xmlCreatePushParserCtxt' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `inflate' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `xmlParseChunk' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `inflateInit_' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `deflateInit_' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `xmlFreeParserCtxt' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `inflateEnd' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/../../../libccext2.so: undefined reference to `deflateEnd'
collect2: ld returned 1 exit status

TIA
Zé Pedro

PS: Sorry for my bad english...




reply via email to

[Prev in Thread] Current Thread [Next in Thread]