Re: [nox-dev] Nox installation: problem with make check

2010-01-29 Thread Martin Casado
Thanks for the ptr on autoconf, we pushed that patch on suggestion from 
the list a few weeks back.


We very much need to compile a list of packages required to compile Nox 
0.6 on different platforms.  If you could put that together, it would be 
hugely useful (and greatly appreciated).


.martin


Oops, I had overlooked the 'noxcore' vs 'nox' bit. Grabbed 0.6.0 as you
suggested, and it worked perfectly. Thanks!

Incidentally, a thing I had mentioned in passing:

  (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.)

This wasn't a problem with 0.6.0, although I suspect that it's because I
installed pkg-config between trying the first time and trying just now.

But, it reminded me to ask: Do you have a list somewhere of exactly what
packages you need to install on Ubuntu K in order to build NOX? (Like, in
the form of a 'sudo apt-get ...' command.) If not, I could probably help
come up with a list, if that'd be useful.

  -Josh (j...@bbn.com)
  



___
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

2010-01-29 Thread Josh Smift
MC> Ah, that's 0.5.  It hasn't been patched for more recent versions of g++.
MC>
MC> Could you pull from noxrepo.org/nox instead?

Oops, I had overlooked the 'noxcore' vs 'nox' bit. Grabbed 0.6.0 as you
suggested, and it worked perfectly. Thanks!

Incidentally, a thing I had mentioned in passing:

  (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.)

This wasn't a problem with 0.6.0, although I suspect that it's because I
installed pkg-config between trying the first time and trying just now.

But, it reminded me to ask: Do you have a list somewhere of exactly what
packages you need to install on Ubuntu K in order to build NOX? (Like, in
the form of a 'sudo apt-get ...' command.) If not, I could probably help
come up with a list, if that'd be useful.

  -Josh (j...@bbn.com)

___
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

2010-01-29 Thread Martin Casado

Hi Josh,

Ah, that's 0.5.  It hasn't been patched for more recent versions of g++.

Could you pull from noxrepo.org/nox instead?
.martin


MC> What branch are you compiling against?

I think just the main branch -- I got the code with

  git clone git://noxrepo.org/noxcore
  cd noxcore

so whatever that gets me.

MC> If cstdio is being included then this is probably a namespace issue. 
MC> Try std::printf instead and let us know if that works.


No joy; I replaced three instances of 'printf' with 'std::printf' in
.../src/tests/test-coop-preblock-hook.cc.orig, and now it says

  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' is not a 
member of 'std'
  ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread1()':
  ../../../src/tests/test-coop-preblock-hook.cc:40: error: 'printf' is not a 
member of 'std'
  ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread2()':
  ../../../src/tests/test-coop-preblock-hook.cc:52: error: 'printf' is not a 
member of 'std'
  make[5]: *** [test-coop-preblock-hook.o] Error 1

and exits.

  -Josh (j...@bbn.com)
  



___
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

2010-01-29 Thread Josh Smift
MC> What branch are you compiling against?

I think just the main branch -- I got the code with

  git clone git://noxrepo.org/noxcore
  cd noxcore

so whatever that gets me.

MC> If cstdio is being included then this is probably a namespace issue. 
MC> Try std::printf instead and let us know if that works.

No joy; I replaced three instances of 'printf' with 'std::printf' in
.../src/tests/test-coop-preblock-hook.cc.orig, and now it says

  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' is not a 
member of 'std'
  ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread1()':
  ../../../src/tests/test-coop-preblock-hook.cc:40: error: 'printf' is not a 
member of 'std'
  ../../../src/tests/test-coop-preblock-hook.cc: In function 'void thread2()':
  ../../../src/tests/test-coop-preblock-hook.cc:52: error: 'printf' is not a 
member of 'std'
  make[5]: *** [test-coop-preblock-hook.o] Error 1

and exits.

  -Josh (j...@bbn.com)

___
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

2010-01-28 Thread Martin Casado
What branch are you compiling against?  If cstdio is being included then 
this is probably a namespace issue.  Try std::printf instead and let us 
know if that works.




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 (j...@bbn.com)

___
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] Nox installation: problem with make check

2010-01-28 Thread Josh Smift
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 (j...@bbn.com)

___
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

2010-01-11 Thread Martin Casado

Awesome, thanks kk.


Hi,

I have pushed this patch to the master branch.  Just do a git pull
--rebase, and you should be okay.

Regards
KK

2010/1/11 Ashish Agarwal :
  

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  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 
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 :
  

#include 

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
 ../builtin/.libs/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'
make[1]: *** [check] Error 2
make[1]:

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread kk yap
Hi,

I have pushed this patch to the master branch.  Just do a git pull
--rebase, and you should be okay.

Regards
KK

2010/1/11 Ashish Agarwal :
> 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  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 
>> 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 :
>> > #include 
>> >
>> > 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
>> >>  ../builtin/.libs/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()’:
>

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Ashish Agarwal
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  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 
> 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 :
> > #include 
> >
> > 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
> >>  ../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/bui

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread kk yap
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 
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 :
> #include 
>
> 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
>>  ../builtin/.libs/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'
>> make[1]: *** [check] Error 2
>> make[1]: Leaving directory `/home/immad/nox/build/src'
>> make: *** [check-recursive] Error 1
>>
>> Can anyone please help me out with this?
>>
>> Regards,
>> Immad
>>
>>
>> 
>>
>> 

Re: [nox-dev] Nox installation: problem with make check

2010-01-11 Thread Martin Casado

#include 

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  
../builtin/.libs/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'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/immad/nox/build/src'
make: *** [check-recursive] Error 1

Can anyone please help me out with this?

Regards,
Immad




___
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] Nox installation: problem with make check

2010-01-11 Thread Muhammad Immad Uddin
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
../builtin/.libs/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'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/home/immad/nox/build/src'
make: *** [check-recursive] Error 1

Can anyone please help me out with this?

Regards,
Immad
___
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org