Hi Russ (2010.12.03_19:25:06_+0200) > > opensaml2 (U) > I'm not sure what to make of these. The build failure says that it thinks > it got a log4cpp that's older than version 1.0, but the version in Ubuntu > is the same as the version in Debian.
gcc argument order: g++ -o conftest -pthread -g -O2 -Wall -O2 -DNDEBUG -pthread -g -O2 -g -Wall -O2 -O2 -DNDEBUG -L/usr/lib -llog4cpp -lnsl -Wl,-Bsymbolic-functions conftest.cpp -lz >&5 /tmp/ccnWkLI6.o: In function `main': /tmp/buildd/opensaml2-2.3/conftest.cpp:35: undefined reference to `log4cpp::Category::getInstance(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' /tmp/buildd/opensaml2-2.3/conftest.cpp:36: undefined reference to `log4cpp::eol(log4cpp::CategoryStream&)' /tmp/buildd/opensaml2-2.3/conftest.cpp:36: undefined reference to `log4cpp::CategoryStream::operator<<(log4cpp::CategoryStream& (*)(log4cpp::CategoryStream&))' /tmp/buildd/opensaml2-2.3/conftest.cpp:35: undefined reference to `log4cpp::CategoryStream::~CategoryStream()' /tmp/buildd/opensaml2-2.3/conftest.cpp:35: undefined reference to `log4cpp::CategoryStream::~CategoryStream()' collect2: ld returned 1 exit status This will work: g++ -o conftest -pthread -g -O2 -Wall -O2 -DNDEBUG -pthread -g -O2 -g -Wall -O2 -O2 -DNDEBUG conftest.cpp -L/usr/lib -llog4cpp -lnsl -Wl,-Bsymbolic-functions -lz Looks like autoconf's fault. SR -- Stefano Rivera http://tumbleweed.org.za/ H: +27 21 465 6908 C: +27 72 419 8559 UCT: x3127 -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20101203221332.gk11...@bach.rivera.co.za