Prateek, if possible I'd suggest you build nox 0.6 from git. Several automake and gcc versioning issues are fixed in that release.
I believe this is a result in a change in GCC that eliminated the
automatic inclusion of certain header files.  Try adding #include
<stdio.h> at the top of the source file.  Also, the latest version in
git already has this issue resolved, so you might use the version from
git instead of 0.5.0.

Aaron

On Thu, Jan 21, 2010 at 1:32 PM, Prateek Jain <[email protected]> wrote:
Hi,

After installing all the dependencies when I try make it fails with the
below compiler errors

prat...@pjainlinuxpc:~/nox-0.
5.0~full~beta$ sudo make
make  all-recursive
make[1]: Entering directory `/home/prateek/nox-0.5.0~full~beta'
Making all in src
make[2]: Entering directory `/home/prateek/nox-0.5.0~full~beta/src'
make  all-recursive
make[3]: Entering directory `/home/prateek/nox-0.5.0~full~beta/src'
Making all in include
make[4]: Entering directory `/home/prateek/nox-0.5.0~full~beta/src/include'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/prateek/nox-0.5.0~full~beta/src/include'
Making all in lib
make[4]: Entering directory `/home/prateek/nox-0.5.0~full~beta/src/lib'
make  all-am
make[5]: Entering directory `/home/prateek/nox-0.5.0~full~beta/src/lib'
/bin/bash ../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
-I../..  -DPKGDATADIR=\"/usr/local/share/nox\"
-DPKGLIBDIR=\"/usr/local/bin/lib\" -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\"
-DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -include ../../config.h -I
../../src/include -I/home/prateek/openflow/openflow-1.0.0/include
-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/usr/include/python2.6 -I/home/prateek/openflow/openflow-1.0.0/include
-I../../src/nox  -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self
-Wformat-nonliteral -Wformat-security -g -O2 -MT async_io.lo -MD -MP -MF
.deps/async_io.Tpo -c -o async_io.lo async_io.cc
 g++ -DHAVE_CONFIG_H -I. -I../.. -DPKGDATADIR=\"/usr/local/share/nox\"
-DPKGLIBDIR=\"/usr/local/bin/lib\" -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\"
-DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -include ../../config.h -I
../../src/include -I/home/prateek/openflow/openflow-1.0.0/include
-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/usr/include/python2.6 -I/home/prateek/openflow/openflow-1.0.0/include
-I../../src/nox -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self
-Wformat-nonliteral -Wformat-security -g -O2 -MT async_io.lo -MD -MP -MF
.deps/async_io.Tpo -c async_io.cc  -fPIC -DPIC -o .libs/async_io.o
async_io.cc: In member function ‘int
vigil::Async_stream::read_fully(vigil::Buffer&, ssize_t*, bool)’:
async_io.cc:84: error: ‘EOF’ was not declared in this scope
make[5]: *** [async_io.lo] Error 1
make[5]: Leaving directory `/home/prateek/nox-0.5.0~full~beta/src/lib'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/home/prateek/nox-0.5.0~full~beta/src/lib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/prateek/nox-0.5.0~full~beta/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/prateek/nox-0.5.0~full~beta/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/prateek/nox-0.5.0~full~beta'
make: *** [all] Error 2

Can somebody please help

Thanks,
Prateek
_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org



_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org


_______________________________________________
nox-dev mailing list
[email protected]
http://noxrepo.org/mailman/listinfo/nox-dev_noxrepo.org

Reply via email to