I've built on Debian lenny using g++ 4.4.4 or 4.4.5 pulled from sid without running into this. When you installed g++ 4.4.4, did you also get the updated C++ libraries and STL?
You might try changing json-util.cc line 50 to: jo = new json_object((const uint8_t *)str.get(), len); -- Murphy On Thu, 2010-08-05 at 16:23 -0700, Nikhil Handigol wrote: > I'm trying to compile nox destiny branch (commit no. > 1df14bf6edbf2de1762dbfd27680e609094d6330) on debian lenny with gcc > version 4.4.4. > > > I get the following error: > ../../../src/lib/json-util.cc: In function ‘vigil::json_object* > vigil::json::load_document(const std::string&)’: > ../../../src/lib/json-util.cc:50: error: no matching function for call > to ‘vigil::json_object::json_object(unsigned char*, int&)’ > ../../../src/include/json_object.hh:43: note: candidates are: > vigil::json_object::json_object(int) > ../../../src/include/json_object.hh:37: note: > vigil::json_object::json_object(const uint8_t*, ssize_t&, int) > ../../../src/include/json_object.hh:30: note: > vigil::json_object::json_object(const vigil::json_object&) > make[5]: *** [json-util.lo] Error 1 > > > Is this an error due to some gcc version incompatibility? Or, am I > doing something wrong? Please let me know you need any further info. > > > Thanks, > Nikhil > > > _______________________________________________ > 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