I think you have boost_filesystem 1.44 or above installed.  I believe
NOX currently works fine with semi-recent versions up to 1.40, and
possibly has very minor problems with 1.42 (maybe only on 64 bit?).  I
think these versions are what are in recent Ubuntu, even up through
11.04b3.

Potential ways of fixing this:

1) Roll back to boost_filesystem 1.40/1.42 (I'm not sure how you even
got 1.44 unless you did this manually, since I don't think Ubuntu has it
packaged in any repository yet).

2) Set the preprocessor macro BOOST_FILESYSTEM_VERSION to 2.

3) Manually edit tablog.cc.  I count three errors: lines 369, 420, and
426.  Each of these calls a function and passes in fs::native as the
last argument.  I think you can just remove that argument.

Hope that helps.

-- Murphy

On Fri, 2011-03-18 at 17:13 -0700, David Meyer wrote:
> On 2.6.35-28-server #49-Ubuntu SMP Tue Mar 1 14:55:37 UTC 2011 x86_64 
> GNU/Linux:
> ...
> ./../../src/nox/netapps/ -fno-omit-frame-pointer -fno-strict-aliasing
> -Wall -Wno-sign-compare -Winit-self -Wformat-nonliteral
> -Wformat-security -g -O2 -MT rttlog_la-rttlog.lo -MD -MP -MF
> .deps/rttlog_la-rttlog.Tpo -c
> ../../../../../src/nox/netapps/tablog/rttlog.cc  -fPIC -DPIC -o
> .libs/rttlog_la-rttlog.o
> ../../../../../src/nox/netapps/tablog/tablog.cc: In member function
> ‘std::string vigil::tablog::field_value(vigil::tablog::tablog_type,
> void*)’:
> ../../../../../src/nox/netapps/tablog/tablog.cc:214: warning: format
> ‘%llu’ expects type ‘long long unsigned int’, but argument 3 has type
> ‘long unsigned int’
> ../../../../../src/nox/netapps/tablog/tablog.cc: In member function
> ‘void vigil::tablog::dump_file(const char*, bool, std::string)’:
> ../../../../../src/nox/netapps/tablog/tablog.cc:369: error: invalid
> conversion from ‘bool (*)(const std::string&)’ to ‘void*’
> ../../../../../src/nox/netapps/tablog/tablog.cc:369: error:
> initializing argument 2 of ‘boost::filesystem3::path::path(const
> Source&, typename
> boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
> boost::decay<Source>::type>, void>::type*) [with Source = const
> char*]’
> ../../../../../src/nox/netapps/tablog/tablog.cc: In member function
> ‘boost::filesystem3::path vigil::tablog::get_int_path(const char*,
> int)’:
> ../../../../../src/nox/netapps/tablog/tablog.cc:420: error: invalid
> conversion from ‘bool (*)(const std::string&)’ to ‘void*’
> ../../../../../src/nox/netapps/tablog/tablog.cc:420: error:
> initializing argument 2 of ‘boost::filesystem3::path::path(const
> Source&, typename
> boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
> boost::decay<Source>::type>, void>::type*) [with Source = const
> char*]’
> ../../../../../src/nox/netapps/tablog/tablog.cc:426: error: invalid
> conversion from ‘bool (*)(const std::string&)’ to ‘void*’
> ../../../../../src/nox/netapps/tablog/tablog.cc:426: error:
> initializing argument 2 of ‘boost::filesystem3::path::path(const
> Source&, typename
> boost::enable_if<boost::filesystem3::path_traits::is_pathable<typename
> boost::decay<Source>::type>, void>::type*) [with Source = const
> char*]’
> make[9]: *** [tablog_la-tablog.lo] Error 1
> make[9]: *** Waiting for unfinished jobs....
> mv -f .deps/rttlog_la-rttlog.Tpo .deps/rttlog_la-rttlog.Plo
> mv -f .deps/flowlog_la-flowlog.Tpo .deps/flowlog_la-flowlog.Plo
> make[9]: Leaving directory `/usr/local/src/nox/build/src/nox/netapps/tablog'
> make[8]: *** [all] Error 2
> ...
> 
> 
> Anyone else seeing this? config.log attached.
> 
> Thnx,
> 
> Dave
> _______________________________________________
> nox-dev mailing list
> nox-dev@noxrepo.org
> http://noxrepo.org/mailman/listinfo/nox-dev


_______________________________________________
nox-dev mailing list
nox-dev@noxrepo.org
http://noxrepo.org/mailman/listinfo/nox-dev

Reply via email to