Hi Oliver, looks like you have compiled with new headers but try to link against old cxxtools. The symbols are new and hence known to the compiler, since he sees the new definitions.
If you have configured cxxtools with default parameters it was installed into /usr/local/lib but you link against /usr/lib/libcxxtools/so. Tommi Am 18.09.2013 18:34, schrieb [email protected]: > Hi list, > > I wanted to compile a new version of cxxtools-git and tntnet-git from > today (system: gentoo, x86). > > cxxtools compile fine, but tntnet failed: > > tntnet # make > Making all in framework/common > make[1]: Entering directory `/root/tntnet/framework/common' > make all-am > make[2]: Entering directory `/root/tntnet/framework/common' > make[2]: Leaving directory `/root/tntnet/framework/common' > make[1]: Leaving directory `/root/tntnet/framework/common' > Making all in doc/man > make[1]: Entering directory `/root/tntnet/doc/man' > make[1]: Für das Ziel »all« ist nichts zu tun. > make[1]: Leaving directory `/root/tntnet/doc/man' > Making all in framework/runtime > make[1]: Entering directory `/root/tntnet/framework/runtime' > /bin/sh ../../libtool --tag=CXX --mode=link g++ > -DTNTNET_CONF=\"/usr/local/etc/tntnet/tntnet.xml\" > -DTNTNET_PID=\"/usr/local/var/tntnet.pid\" -g -O2 -lcxxtools -o tntnet > tntnet-main.o tntnet-process.o ../../framework/common/libtntnet.la > -lpthread -ldl > libtool: link: g++ -DTNTNET_CONF=\"/usr/local/etc/tntnet/tntnet.xml\" > -DTNTNET_PID=\"/usr/local/var/tntnet.pid\" -g -O2 -o .libs/tntnet > tntnet-main.o tntnet-process.o > ../../framework/common/.libs/libtntnet.so -lz /usr/lib/libcxxtools.so > -lrt -lnsl -lssl -lcrypto -lpthread -ldl > tntnet-main.o: In function `getLogger': > /root/tntnet/framework/runtime/main.cpp:60: undefined reference to > `cxxtools::LogManager::_enabled' > /root/tntnet/framework/runtime/main.cpp:60: undefined reference to > `cxxtools::LogManager::getInstance()' > /root/tntnet/framework/runtime/main.cpp:60: undefined reference to > `cxxtools::LogManager::getLogger(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > tntnet-main.o: In function `tnt::TntnetProcess::initializeLogging()': > /root/tntnet/framework/runtime/main.cpp:198: undefined reference to > `cxxtools::LogManager::logInit(cxxtools::SerializationInfo const&)' > tntnet-main.o: In function `main': > /root/tntnet/framework/runtime/main.cpp:241: undefined reference to > `cxxtools::LogManager::logInit(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > tntnet-process.o: In function `getLogger': > /root/tntnet/framework/runtime/process.cpp:42: undefined reference to > `cxxtools::LogManager::_enabled' > /root/tntnet/framework/runtime/process.cpp:42: undefined reference to > `cxxtools::LogManager::getInstance()' > /root/tntnet/framework/runtime/process.cpp:42: undefined reference to > `cxxtools::LogManager::getLogger(std::basic_string<char, > std::char_traits<char>, std::allocator<char> > const&)' > collect2: ld returned 1 exit status > make[1]: *** [tntnet] Fehler 1 > make[1]: Leaving directory `/root/tntnet/framework/runtime' > make: *** [all-recursive] Fehler 1 > > > Tfh! > > Oliver > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Tntnet-general mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/tntnet-general ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Tntnet-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/tntnet-general
