Re: [nox-dev] asynchronous behavior in NOX
I'm probably missing something basic, but if events are processed sequentially and each event is sent sequentially to each of its handlers, then where does threading play a role? On Tue, Mar 9, 2010 at 9:18 PM, Martin Casado cas...@nicira.com wrote: Events are processed sequentially until an event blocks on an IO operation or stops in which case another event may enter the system. NOX is described as supporting an asynchronous programming model. I'm trying to understand what this means by considering the following scenarios: Multiple components are registered to handle a single event. I understand that this event will be passed sequentially to each component registered to handle it in the order specified in nox.ml http://nox.ml. The subsequent handler is only called if the previous one returns CONTINUE. Alternatively, processes could be forked to call all of this event's handlers simultaneously. However, this latter option is not supported, correct? Two events are queued, first event A and then B. Event A gets dispatched to its first handler. When is Event B dispatched? Does NOX await completion of Event A's processing? ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
[nox-dev] list of events and their handlers
Is there any way to get a list of events provided by default in NOX, along with a list of which components raise and handle them? Thank you. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] list of events and their handlers
I meant the components provided with the NOX distribution. I just got the doxygen documentation working and see it provides a list of components and events. What is nox-draw-dependencies? -Ashish On Tue, Feb 23, 2010 at 10:32 PM, kk yap yap...@stanford.edu wrote: Hi Ashish, What do you mean by base components? The components can be listed from all the meta.xml. Yes, ugly. nox-draw-dependencies already does that to draw the dependency-graph though. Regards KK On 23 February 2010 19:28, Ashish Agarwal agarwal1...@gmail.com wrote: Thanks for the replies! This is very helpful. Similarly, is there a list of the base components available? On Tue, Feb 23, 2010 at 9:20 PM, kk yap yap...@stanford.edu wrote: Hi, The doxygen is unfortunately not complete AFAIK. For the record, cd doc/doxygen make html will do what Kyriakos says automatically. A quick list of events would be from event-dispatcher-component.cc. // Register the system events register_eventDatapath_join_event(); register_eventDatapath_leave_event(); register_eventError_event(); register_eventFlow_removed_event(); register_eventFlow_mod_event(); register_eventPacket_in_event(); register_eventPort_status_event(); register_eventShutdown_event(); register_eventBootstrap_complete_event(); register_eventFlow_stats_in_event(); register_eventQueue_stats_in_event(); register_eventQueue_config_in_event(); register_eventTable_stats_in_event(); register_eventOfmp_config_update_event(); register_eventOfmp_config_update_ack_event(); register_eventOfmp_resources_update_event(); register_eventPort_stats_in_event(); register_eventAggregate_stats_in_event(); register_eventDesc_stats_in_event(); register_eventSwitch_mgr_join_event(); register_eventSwitch_mgr_leave_event(); register_eventBarrier_reply_event(); register_eventOpenflow_msg_event(); Regards KK On 23 February 2010 18:15, Kyriakos Zarifis kyr.zari...@gmail.com wrote: Hi Asish, this is actually being worked on right now, but for now you can generate the doxygen documentation which gives an overview of class hierarchies. To do so, edit nox/build/doc/doxygen/doxygen.conf and change the line GENERATE_HTML = NO to GENERATE_HTML = YES Then, in the same folder run 'doxygen doxygen.conf' and check the index.html in the newly created 'html' folder It will be a bit hard to decipher some of the relations between components and events for now, but check back at the and of the week. On Tue, Feb 23, 2010 at 5:20 PM, Ashish Agarwal agarwal1...@gmail.com wrote: Is there any way to get a list of events provided by default in NOX, along with a list of which components raise and handle them? Thank you. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
[nox-dev] understanding NOX internals
Hi. What is a Disposition? I don't find a class definition for this within the NOX source code. I'm trying to understand NOX's design overall. I've read the white paper, but the NOX manual says that unfortunately NOX's internal design is not well documented. Is that still the case, or is there some documentation I haven't found? Or is the source code the only source of information? Thank you. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] understanding NOX internals
Okay I kind of understand that, although I don't see this defined in nox.xml. This file just lists some events and provides filters for each (but what's a filter?). In nox_main.cc, there are the beginnings of a doxygen manual describing the NOX Programming Model, but it just has section titles right now. This is exactly what I need. Is this documentation completed in any later branch? On Tue, Feb 16, 2010 at 12:12 PM, Kyriakos Zarifis kyr.zari...@gmail.comwrote: Hey, without being sure, if I recall Dispositions are what components return with regards to the handling of an incoming event.. For example CONTINUE would push the event to be handled by the next component, and STOP would stop the forwarding of the event along the handler chain. This chain is defined in nox.xml I might be wrong, so someone else can correct me On Tue, Feb 16, 2010 at 9:03 AM, Ashish Agarwal agarwal1...@gmail.comwrote: Hi. What is a Disposition? I don't find a class definition for this within the NOX source code. I'm trying to understand NOX's design overall. I've read the white paper, but the NOX manual says that unfortunately NOX's internal design is not well documented. Is that still the case, or is there some documentation I haven't found? Or is the source code the only source of information? Thank you. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
Re: [nox-dev] Nox installation: problem with make check
Looks like the same error I reported a few weeks ago. The following sequence of commands led to a successful install for me: git clone git://noxrepo.org/nox cd nox git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a ./boot.sh ./configure make make check On Mon, Jan 11, 2010 at 4:30 PM, kk yap yap...@stanford.edu wrote: Hi, I believe there is a patch in NOX 0.6 for OpenFlow 1.0. Looks like that got overwritten. Just cherry pick. commit 8f34004cbce1bf94965c336502665e72a929612a Author: Mikio Hara mik...@stanford.edu Date: Thu Dec 3 12:47:32 2009 -0800 GCC 4.4 compliance patch for test suite (make check) Fixed header compatibility issues Regards KK 2010/1/11 Martin Casado cas...@nicira.com: #include cstdio using namespace std; .m Hi, I am trying to install and configure nox on ubuntu 9.10. I was able to install all dependencies and was able to get the noxcore using git. I was able to configure and make nox. However, when I tried the command 'make check', I get the following error: (End portion of the output when running 'make check') make test-classifier test-coop-preblock-hook test-coop-sema test-coop-signals test-ethernetaddr test-event-dispatcher-blocking test-event-dispatcher-starvation test-poll-loop-removal test-timer-dispatcher-delay test-timer-dispatcher-duplicates test-timer-dispatcher-starvation test-timeval test-type-props make[5]: Entering directory `/home/immad/nox/build/src/tests' 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 -I/usr/include/xercesc -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-classifier.o -MD -MP -MF .deps/test-classifier.Tpo -c -o test-classifier.o ../../../src/tests/test-classifier.cc mv -f .deps/test-classifier.Tpo .deps/test-classifier.Po /bin/bash ../../libtool --tag=CXX --mode=link g++ -fno-omit-frame-pointer -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 http://libnoxcore.la ../builtin/.libs/libbuiltin.la http://libbuiltin.la -L/usr/lib -lboost_unit_test_framework-mt-d -lboost_filesystem-mt-d -lssl ../components.xsd.o ../nox.xsd.o libtool: link: g++ -fno-omit-frame-pointer -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-d -lboost_filesystem-mt-d -lssl -Wl,-rpath -Wl,/usr/local/bin/builtin -Wl,-rpath -Wl,/usr/local/bin/tests 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 -I/usr/include/xercesc -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/immad/nox/build/src/tests' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/home/immad/nox/build/src/tests' make[3]: *** [check] Error 2 make[3]: Leaving directory `/home/immad/nox/build/src/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/immad/nox/build/src'
Re: [nox-dev] make check errors
The following sequence succeeds: git clone git://noxrepo.org/nox cd nox git cherry-pick 8f34004cbce1bf94965c336502665e72a929612a ./boot.sh ./configure make make check Output says all 13 tests passed. But the following fails: $ cd src $ ./nox_core tests NOX 0.8.0~full~beta (nox_core), compiled Dec 21 2009 17:12:27 Compiled with OpenFlow 0x97 (exp) 1|nox|ERR:Application 'pytstorage' description not found. Incidentally, is NOX now at 0.8? Thanks. On Sat, Dec 19, 2009 at 7:45 PM, kk yap yap...@gmail.com wrote: Hi Ashish, There is definitely an effort to move to gcc-4.0. If you are using NOX 0.6, you can try cherry-pick commit 8f34004cbce1bf94965c336502665e72a929612a Author: Mikio Hara mik...@stanford.edu 2009-12-03 12:47:32 GCC 4.4 compliance patch for test suite (make check) Fixed header compatibility issues Let me know if you confirm this works. I will push this commit to NOX 0.6. Thanks. Regards KK 2009/12/19 Ashish Agarwal agarwal1...@gmail.com: Thanks. Yes, I am running 4.4. I think the documentation said 4.2 or higher. I can try your recommendation but should I instead just install gcc 4.2 and compile with that? I'd rather sync with whatever is considered the more reliable compilation environment. On Sat, Dec 19, 2009 at 5:14 PM, n...@illicitonion.com wrote: I'm guessing you're using GCC/G++ 4.4 (you can find out by running `g++ --version`), and this is a leftover from http://noxrepo.org/pipermail/nox-dev_noxrepo.org/2009-October/000865.html You need to add the line: #include cstdio to each of the following files: src/tests/test-coop-preblock-hook.cc src/tests/test-coop-sema.cc src/tests/test-coop-signals.cc src/tests/test-event-dispatcher-blocking.cc src/tests/test-event-dispatcher-starvation.cc src/tests/test-poll-loop-removal.cc src/tests/test-timer-dispatcher-delay.cc src/tests/test-timer-dispatcher-duplicates.cc src/tests/test-timer-dispatcher-starvation.cc (Might as well just add it after all the other #include lines in each file) `make check` should then succeed, and run the tests On Sat 19/12/09 01:12, Ashish Agarwal agarwal1...@gmail.com wrote: I got NOX 0.6 compiled and then ran some of the tests mentioned in the documentation. Some fail and some succeed so Im wondering if my installation worked or not. The tests I ran are: ./nox_core -h -- this works fine make check -- fails as shown below ./nox_core tests -- fails with errors shown below ./nox_core -v -i pgen:10 packetdump -- seems to have run fine if Im correctly understanding the output shown below Thank you. $ make check 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 -I/usr/include/xercesc -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/ashish/local/nox/build/src/tests make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/home/ashish/local/nox/build/src/tests make[3]: *** [check] Error 2 make[3]: Leaving directory `/home/ashish/local/nox/build/src/tests make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/ashish/local/nox/build/src make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/ashish/local/nox/build/src make: *** [check-recursive] Error 1 $ ./nox_core tests NOX 0.8.0~full~beta (nox_core), compiled Dec 18 2009 18:34:14 Compiled with OpenFlow 0x97 (exp) 1|nox|ERR:Application pytstorage description not found. $ ./nox_core -v -i pgen:10 packetdump 1|nox|INFO:Starting nox_core (/home/ashish/local/nox/build/src/.libs/lt-nox_core) 2|pyrt|DBG:Loading a component
Re: [nox-dev] make check errors
Thanks. Yes, I am running 4.4. I think the documentation said 4.2 or higher. I can try your recommendation but should I instead just install gcc 4.2 and compile with that? I'd rather sync with whatever is considered the more reliable compilation environment. On Sat, Dec 19, 2009 at 5:14 PM, n...@illicitonion.com wrote: I'm guessing you're using GCC/G++ 4.4 (you can find out by running `g++ --version`), and this is a leftover from http://noxrepo.org/pipermail/nox-dev_noxrepo.org/2009-October/000865.html You need to add the line: #include cstdio to each of the following files: src/tests/test-coop-preblock-hook.cc src/tests/test-coop-sema.cc src/tests/test-coop-signals.cc src/tests/test-event-dispatcher-blocking.cc src/tests/test-event-dispatcher-starvation.cc src/tests/test-poll-loop-removal.cc src/tests/test-timer-dispatcher-delay.cc src/tests/test-timer-dispatcher-duplicates.cc src/tests/test-timer-dispatcher-starvation.cc (Might as well just add it after all the other #include lines in each file) `make check` should then succeed, and run the tests On Sat 19/12/09 01:12, Ashish Agarwal agarwal1...@gmail.com wrote: I got NOX 0.6 compiled and then ran some of the tests mentioned in the documentation. Some fail and some succeed so Im wondering if my installation worked or not. The tests I ran are: ./nox_core -h -- this works fine make check -- fails as shown below ./nox_core tests -- fails with errors shown below ./nox_core -v -i pgen:10 packetdump -- seems to have run fine if Im correctly understanding the output shown below Thank you. $ make check 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 -I/usr/include/xercesc -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/ashish/local/nox/build/src/tests make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/home/ashish/local/nox/build/src/tests make[3]: *** [check] Error 2 make[3]: Leaving directory `/home/ashish/local/nox/build/src/tests make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/ashish/local/nox/build/src make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/ashish/local/nox/build/src make: *** [check-recursive] Error 1 $ ./nox_core tests NOX 0.8.0~full~beta (nox_core), compiled Dec 18 2009 18:34:14 Compiled with OpenFlow 0x97 (exp) 1|nox|ERR:Application pytstorage description not found. $ ./nox_core -v -i pgen:10 packetdump 1|nox|INFO:Starting nox_core (/home/ashish/local/nox/build/src/.libs/lt-nox_core) 2|pyrt|DBG:Loading a component description file nox/coreapps/testharness/meta.xml. 3|pyrt|DBG:Loading a component description file nox/coreapps/hub/meta.xml. 4|pyrt|DBG:Loading a component description file nox/coreapps/pyrt/meta.xml. 5|pyrt|DBG:Loading a component description file nox/coreapps/examples/meta.xml. 6|pyrt|DBG:Loading a component description file nox/coreapps/examples/t/meta.xml. 7|pyrt|DBG:Loading a component description file nox/coreapps/coretests/meta.xml. 8|pyrt|DBG:Loading a component description file nox/coreapps/simple_c_py_app/meta.xml. 9|pyrt|DBG:Loading a component description file nox/coreapps/simple_c_app/meta.xml. 00010|pyrt|DBG:Loading a component description file nox/coreapps/switch/meta.xml. 00011|pyrt|DBG:Loading a component description file nox/netapps/flow_fetcher/meta.xml. 00012|pyrt|DBG:Loading a component description file nox/netapps/user_event_log/meta.xml. 00013|pyrt|DBG:Loading a component description file nox/netapps/authenticator/meta.xml. 00014|pyrt|DBG:Loading a component description file nox
Re: [nox-dev] problem downloading nox
It's just a typo in the command. It should say git clone. On Fri, Dec 18, 2009 at 4:25 PM, Ashish Agarwal agarwal1...@gmail.comwrote: $ git pull git://noxrepo.org/nox fatal: Not a git repository (or any of the parent directories): .git Is this path correct? This is what is given on the website. Thanks. ___ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org
[nox-dev] make check errors
I got NOX 0.6 compiled and then ran some of the tests mentioned in the documentation. Some fail and some succeed so I'm wondering if my installation worked or not. The tests I ran are: ./nox_core -h -- this works fine make check -- fails as shown below ./nox_core tests -- fails with errors shown below ./nox_core -v -i pgen:10 packetdump -- seems to have run fine if I'm correctly understanding the output shown below Thank you. $ make check 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 -I/usr/include/xercesc -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/ashish/local/nox/build/src/tests' make[4]: *** [check-am] Error 2 make[4]: Leaving directory `/home/ashish/local/nox/build/src/tests' make[3]: *** [check] Error 2 make[3]: Leaving directory `/home/ashish/local/nox/build/src/tests' make[2]: *** [check-recursive] Error 1 make[2]: Leaving directory `/home/ashish/local/nox/build/src' make[1]: *** [check] Error 2 make[1]: Leaving directory `/home/ashish/local/nox/build/src' make: *** [check-recursive] Error 1 $ ./nox_core tests NOX 0.8.0~full~beta (nox_core), compiled Dec 18 2009 18:34:14 Compiled with OpenFlow 0x97 (exp) 1|nox|ERR:Application 'pytstorage' description not found. $ ./nox_core -v -i pgen:10 packetdump 1|nox|INFO:Starting nox_core (/home/ashish/local/nox/build/src/.libs/lt-nox_core) 2|pyrt|DBG:Loading a component description file 'nox/coreapps/testharness/meta.xml'. 3|pyrt|DBG:Loading a component description file 'nox/coreapps/hub/meta.xml'. 4|pyrt|DBG:Loading a component description file 'nox/coreapps/pyrt/meta.xml'. 5|pyrt|DBG:Loading a component description file 'nox/coreapps/examples/meta.xml'. 6|pyrt|DBG:Loading a component description file 'nox/coreapps/examples/t/meta.xml'. 7|pyrt|DBG:Loading a component description file 'nox/coreapps/coretests/meta.xml'. 8|pyrt|DBG:Loading a component description file 'nox/coreapps/simple_c_py_app/meta.xml'. 9|pyrt|DBG:Loading a component description file 'nox/coreapps/simple_c_app/meta.xml'. 00010|pyrt|DBG:Loading a component description file 'nox/coreapps/switch/meta.xml'. 00011|pyrt|DBG:Loading a component description file 'nox/netapps/flow_fetcher/meta.xml'. 00012|pyrt|DBG:Loading a component description file 'nox/netapps/user_event_log/meta.xml'. 00013|pyrt|DBG:Loading a component description file 'nox/netapps/authenticator/meta.xml'. 00014|pyrt|DBG:Loading a component description file 'nox/netapps/switchstats/meta.xml'. 00015|pyrt|DBG:Loading a component description file 'nox/netapps/storage/meta.xml'. 00016|pyrt|DBG:Loading a component description file 'nox/netapps/storage/t/meta.xml'. 00017|pyrt|DBG:Loading a component description file 'nox/netapps/routing/meta.xml'. 00018|pyrt|DBG:Loading a component description file 'nox/netapps/topology/meta.xml'. 00019|pyrt|DBG:Loading a component description file 'nox/netapps/bindings_storage/meta.xml'. 00020|pyrt|DBG:Loading a component description file 'nox/netapps/bindings_storage/t/meta.xml'. 00021|pyrt|DBG:Loading a component description file 'nox/netapps/data/meta.xml'. 00022|pyrt|DBG:Loading a component description file 'nox/netapps/switch_management/meta.xml'. 00023|pyrt|DBG:Loading a component description file 'nox/netapps/tests/meta.xml'. 00024|pyrt|DBG:Loading a component description file 'nox/netapps/discovery/meta.xml'. 00025|pyrt|DBG:Loading a component description file 'nox/webapps/webservice/meta.xml'. 00026|pyrt|DBG:Loading a component description file 'nox/webapps/webserver/meta.xml'. 00027|pyrt|DBG:Loading a component description file 'nox/webapps/miscws/meta.xml'. 00028|pycomponent|DBG:Importing Python module nox.coreapps.examples.packetdump 00029|nox|DBG:Application installation report: