Hi, everyone:
I tried to add some other classes into NOX, and what I wanna do is to to
insert some functionality into NOX kernel.
I am able to add one class named intercept.hh and intercept.cc into
nox/src/include folder, and I added them into  nox/src/include/Makefile.am,
as well as nox/builtin/Makefile.am,  but after that I cannot add more
classes which is included into intercept.hh, even though I did the same
thing, everytime it gives me compiler error, e.g. :

/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/tests
-export-dynamic  -o test-classifier test-classifier.o
../lib/libnoxcore.la../builtin/.libs/
libbuiltin.la -L/usr/lib -lboost_unit_test_framework-mt
-lboost_filesystem-mt -lssl ../components.xsd.o ../nox.xsd.o
libtool: link: g++ -fno-omit-frame-pointer -fno-strict-aliasing -Wall
-Wno-sign-compare -Winit-self -Wformat-nonliteral -Wformat-security -g -O2
-o .libs/test-classifier test-classifier.o ../components.xsd.o ../nox.xsd.o
-Wl,--export-dynamic  ../lib/.libs/libnoxcore.so
../builtin/.libs/libbuiltin.so -L/usr/lib -lboost_unit_test_framework-mt
-lboost_filesystem-mt -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin
-Wl,-rpath -Wl,/usr/local/bin/tests
../builtin/.libs/libbuiltin.so: undefined reference to
`vigil::test::print()'
collect2: ld returned 1 exit status
make[5]: *** [test-classifier] Error 1
make[5]: Leaving directory `/home/kelvinzou/nox/src/tests'
make[4]: *** [check-am] Error 2
make[4]: Leaving directory `/home/kelvinzou/nox/src/tests'
make[3]: *** [check] Error 2
make[3]: Leaving directory `/home/kelvinzou/nox/src/tests'
make[2]: *** [check-recursive] Error 1
make[2]: Leaving directory `/home/kelvinzou/nox/src'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/kelvinzou/nox/src'
make: *** [check-recursive] Error 1





It is really strange that I can add one class into it, but no more, does
anyone have any idea what is wrong here?
Or do I need to change more things here? Did I forgot some link stuff or .?

-- 
Thanks!
Kelvin Zou

Reply via email to