I'm trying to build NOX for Ubuntu K (9.10), and running into a problem that I've seen references to on the list. When I do a 'make check', it errors out, saying (at the end)
g++ -DHAVE_CONFIG_H -I. -I../../../src/tests -I../.. -DPKGDATADIR=\"/usr/local/share/nox\" -DPKGLIBDIR=\"/usr/local/bin/tests\" -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" -DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -include ../../config.h -I ../../../src/include -I../../../src/include/openflow -I/usr/include -D_GNU_SOURCE=1 -D_REENTRANT -D__STDC_LIMIT_MACROS=1 -D__STDC_FORMAT_MACROS=1 -D__STDC_CONSTANT_MACROS=1 -D_GLIBCXX_CONCEPT_CHECKS=1 -D_GLIBCXX_DEBUG=1 -D_GLIBCXX_DEBUG_PEDANTIC=1 -I -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2 -MT test-coop-preblock-hook.o -MD -MP -MF .deps/test-coop-preblock-hook.Tpo -c -o test-coop-preblock-hook.o ../../../src/tests/test-coop-preblock-hook.cc ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread1_hook()': ../../../src/tests/test-coop-preblock-hook.cc:32: error: 'printf' was not declared in this scope ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread1()': ../../../src/tests/test-coop-preblock-hook.cc:40: error: 'printf' was not declared in this scope ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread2()': ../../../src/tests/test-coop-preblock-hook.cc:52: error: 'printf' was not declared in this scope make[5]: *** [test-coop-preblock-hook.o] Error 1 make[5]: Leaving directory `/home/jbs/src/nox-0.6.0/noxcore/build/src/tests' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/home/jbs/src/nox-0.6.0/noxcore/build/src/tests' make[3]: *** [check] Error 2 make[3]: Leaving directory `/home/jbs/src/nox-0.6.0/noxcore/build/src/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/jbs/src/nox-0.6.0/noxcore/build/src' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/jbs/src/nox-0.6.0/noxcore/build/src' make: *** [check-recursive] Error 1 http://noxrepo.org/pipermail/nox-dev_noxrepo.org/2010-January/001086.html seems like the most recent instance, which concluded with KK saying I have pushed this patch to the master branch. Just do a git pull --rebase, and you should be okay. (in http://noxrepo.org/pipermail/nox-dev_noxrepo.org/2010-January/001093.html) but when I tried just now, I still got the above errors. The exact sequence I ran was: git clone git://noxrepo.org/noxcore cd noxcore ./boot.sh autoreconf -Wno-portability --install --force mkdir build cd build ../configure --with-python=yes make make check (The 'autoreconf --install --force' is because the original invocation of boot.sh errors out with aclocal: couldn't open directory `config': No such file or directory autoreconf: aclocal failed with exit status: 1 and dropping the '-I config' from the command at the end seemed to work.) -Josh ([email protected]) _______________________________________________ nox-dev mailing list [email protected] http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
