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. > > 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 > /home/dmi/cxxtools/src/.libs/libcxxtools.so.7: could not read symbols: > Invalid operation > collect2: ld returned 1 exit status > make[1]: *** [httprequest] Fehler 1 > make[1]: Verlasse Verzeichnis '/home/dmi/cxxtools/demo' > make: *** [all-recursive] Fehler 1 > > beim zweiten Mal make kommt dann das hier: > > [..] > make[1]: Betrete Verzeichnis '/home/dmi/cxxtools/demo' > /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -o > httprequest httprequest.o ../src/http/libcxxtools-http.la -ldl -lnsl > 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 > /home/dmi/cxxtools/src/.libs/libcxxtools.so.7: could not read symbols: > Invalid operation > collect2: ld returned 1 exit status > make[1]: *** [httprequest] Fehler 1 > make[1]: Verlasse Verzeichnis '/home/dmi/cxxtools/demo' > make: *** [all-recursive] Fehler 1 > > > Was ist hier los? > > Tfh! > > Oliver > > > ------------------------------------------------------------------------------ > Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex > infrastructure or vast IT resources to deliver seamless, secure access to > virtual desktops. With this all-in-one solution, easily deploy virtual > desktops for less than the cost of PCs and save 60% on VDI infrastructure > costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
