Patches to fix this link error and to make us compatible with Boost 1.46 have been pushed.
-- Murphy On Oct 20, 2011, at 11:17 PM, Heryandi wrote: > Thanks Murphy, I tried applying the changes from > "73fc9071b9d4f77b8314bf44fe4e5c6bccb480df" in destiny branch to the zaku > branch and now I can 'configure' successfully. > > But I am still not able to compile NOX. When I 'make' I got this error > message: > /bin/bash ../libtool --tag=CXX --mode=link g++ -fno-omit-frame-pointer > -fno-strict-aliasing -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral > -Wformat-security -g -O2 -R/usr/local/bin -export-dynamic -L/usr/lib > -lboost_unit_test_framework-mt -lboost_filesystem-mt -lssl -lcrypto -Wl,-E > -o nox_core components.xsd.o nox.xsd.o nox_main.o > ./builtin/.libs/libbuiltin.la ./lib/libnoxcore.la > libtool: link: g++ -fno-omit-frame-pointer -fno-strict-aliasing -Wall > -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 > -Wl,-E -o .libs/nox_core components.xsd.o nox.xsd.o nox_main.o > -Wl,--export-dynamic -L/usr/lib -lboost_unit_test_framework-mt > -lboost_filesystem-mt -lssl -lcrypto ./builtin/.libs/libbuiltin.so > ./lib/.libs/libnoxcore.so -Wl,-rpath -Wl,/usr/local/bin/builtin -Wl,-rpath > -Wl,/usr/local/bin > /usr/bin/ld: components.xsd.o: undefined reference to symbol > 'boost::system::get_system_category()' > /usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO > /usr/lib/libboost_system.so.1.42.0 so try adding it to the linker command line > /usr/lib/libboost_system.so.1.42.0: could not read symbols: Invalid operation > collect2: ld returned 1 exit status > > I am currently using boost 1.42. > > Previously I used boost 1.46 but there was another error message (which I > didn't keep) and I thought the boost used is too new, therefore I changed it > to 1.42. > I can provide the 'make' log message with boost 1.46 if needed. > > Regards, > Heryandi > > -----Original Message----- > From: Murphy McCauley [mailto:jam...@nau.edu] > Sent: Thursday, October 20, 2011 4:52 PM > To: Heryandi > Cc: nox-dev@noxrepo.org > Subject: Re: [nox-dev] NOX cannot be compiled in Ubuntu 11.10? > > I believe I fixed this in the destiny branch some time ago. Give that a shot? > > -- Murphy > > On Oct 20, 2011, at 1:32 AM, Heryandi wrote: > >> Hi all, >> >> I have previously compiled NOX successfully in ubuntu 10.04. >> Now, I am trying to compile NOX zaku in my ubuntu 11.10 VM, but it doesn't >> work. >> All the NOX dependencies have been installed. >> >> Here is the end of the configure output: >> checking pcap.h usability... yes >> checking pcap.h presence... yes >> checking for pcap.h... yes >> checking openssl/md5.h usability... yes checking openssl/md5.h >> presence... yes checking for openssl/md5.h... yes checking for >> MD5_Init in -lssl... no >> configure: error: openssl/md5.h not found. NOX requires OpenSSL The >> full log and the config.log output are as attached. >> >> I have installed openssl and I can find the md5.h inside >> /usr/include/openssl/md5.h. >> >> Regards, >> Heryandi >> >> CONFIDENTIALITY: This email is intended solely for the person(s) named and >> may be confidential and/or privileged. If you are not the intended >> recipient, please delete it, notify us and do not copy, use, or disclose its >> content. >> >> Towards A Sustainable Earth: Print Only When Necessary. Thank you. >> <config.log><configure >> output.log>_______________________________________________ >> nox-dev mailing list >> nox-dev@noxrepo.org >> http://noxrepo.org/mailman/listinfo/nox-dev > _______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev