bug-commoncpp
[Top][All Lists]
Advanced

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

Re: Error including date types in 1.1.0


From: David Sugar
Subject: Re: Error including date types in 1.1.0
Date: Mon, 5 Apr 2004 20:54:18 -0400
User-agent: KMail/1.5.3

I have not tested STLPort in a long time...

It is very useful having a single reference stl implimentation that you can 
take to different platforms, as so many of the past ones had been broken.

I see they changed the compile and link rules a bit...

On Wednesday 07 April 2004 06:55 am, Jose Pedro Tavares wrote:
> 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...
>
>
> _______________________________________________
> Bug-commoncpp mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-commoncpp





reply via email to

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