Oliver Rath | 28 Dec 16:31
Picon
Favicon

cxx-tools-svn Probleme bei Ubuntu 11.10 Oneiric

Hallo Liste,

wie schonmal im Chat angesprochen habe ich hier Probleme, die
svn-Version von cxxtools (und damit auch von tntnet) zu installieren.

Um eine sauberes Environment zu garantieren, habe ich in einer
virtuellen Maschine ein Ubuntu 11.10 installiert, danach noch folgendes
ausgeführt:

$ sudo apt-get install build-essential subversion automake libtool

Danach habe ich ein

$ svn co
https://cxxtools.svn.sourceforge.net/svnroot/cxxtools/trunk/cxxtools
cxxtools

gemacht (rev. 1401), ein

$ cd cxxtools ; ./autogen ; ./configure

Das nun obligatorische make produziert mir folgenden Fehler:

libtool: link: g++ -g -O2 -o .libs/httprequest httprequest.o 
../src/http/.libs/libcxxtools-http.so -ldl -lnsl
/usr/bin/ld: httprequest.o: undefined reference to symbol
'cxxtools::Timer::~Timer()'
/usr/bin/ld: note: 'cxxtools::Timer::~Timer()' is defined in DSO
/home/dmi/cxxtools/src/.libs/libcxxtools.so.7 so try adding it to the
linker command line
(Continue reading)

Tommi Mäkitalo | 30 Dec 17:18

Re: cxx-tools-svn Probleme bei Ubuntu 11.10 Oneiric

Hello,

I already answered to Oliver but to give the answer to the list also.

There is a change in the linker of linux where indirect linking is not 
allowed any more. Here cxxtools links the demo httprequest, which uses 
functionality from libcxxtools-http and libcxxtools. But only 
libcxxtools-http is linked explicitely. Since libcxxtools-http need 
libcxxtools, it was linked automatically to httprequest implicitly. This 
is now detected by the linker, so that a explicit linking to libcxxtools 
is needed here.

I fixed that in svn trunk already and successfully build cxxtools on 
ubuntu 11.10, which I installed in a virtual machine just like Oliver did.

Thank you for reporting, Oliver.

And I wish you all a very good new year. I had a very busy year 2011 but 
it have settled down at least a little in the last months. You may have 
noticed, that there was much activity in the svn of cxxtools. My head if 
full of ideas, how to improve cxxtools, tntnet and tntdb, so I'm looking 
forward to a great 2012.

Tommi

On 12/28/2011 04:31 PM, Oliver Rath wrote:
> Hallo Liste,
>
> wie schonmal im Chat angesprochen habe ich hier Probleme, die
> svn-Version von cxxtools (und damit auch von tntnet) zu installieren.
(Continue reading)


Gmane