Hi Junda, Thanks. Just for the record for everyone out there. That works, though I need the authenticator.
Regards KK 2008/9/22 Junda Liu <[EMAIL PROTECTED]>: > I've had this problem on Fedora 8 with gcc 4.1. > You can disable the authenticator app if you don't need it (delete the entry > from the makefile). > Or upgrade gcc (not very easy). > > Best, > Junda > > On Sep 21, 2008, at 10:38 PM, kk yap wrote: > >> Hi, >> >> We are trying to build NOX in CentOS5. The listed packages are >> basically installed. But we have compilation error as shown below. >> >> Any idea of the cause? Thanks >> >> Regards >> KK >> >> make all-recursive >> make[1]: Entering directory `/home/ykk/nox/noxcore' >> Making all in src >> make[2]: Entering directory `/home/ykk/nox/noxcore/src' >> make all-recursive >> make[3]: Entering directory `/home/ykk/nox/noxcore/src' >> Making all in include >> make[4]: Entering directory `/home/ykk/nox/noxcore/src/include' >> Making all in netinet++ >> make[5]: Entering directory `/home/ykk/nox/noxcore/src/include/netinet++' >> make[5]: Nothing to be done for `all'. >> make[5]: Leaving directory `/home/ykk/nox/noxcore/src/include/netinet++' >> Making all in openflow >> make[5]: Entering directory `/home/ykk/nox/noxcore/src/include/openflow' >> make[5]: Nothing to be done for `all'. >> make[5]: Leaving directory `/home/ykk/nox/noxcore/src/include/openflow' >> make[5]: Entering directory `/home/ykk/nox/noxcore/src/include' >> make[5]: Nothing to be done for `all-am'. >> make[5]: Leaving directory `/home/ykk/nox/noxcore/src/include' >> make[4]: Leaving directory `/home/ykk/nox/noxcore/src/include' >> Making all in third-party >> make[4]: Entering directory `/home/ykk/nox/noxcore/src/third-party' >> make all-recursive >> make[5]: Entering directory `/home/ykk/nox/noxcore/src/third-party' >> make[6]: Entering directory `/home/ykk/nox/noxcore/src/third-party' >> make[6]: Nothing to be done for `all-am'. >> make[6]: Leaving directory `/home/ykk/nox/noxcore/src/third-party' >> make[5]: Leaving directory `/home/ykk/nox/noxcore/src/third-party' >> make[4]: Leaving directory `/home/ykk/nox/noxcore/src/third-party' >> Making all in lib >> make[4]: Entering directory `/home/ykk/nox/noxcore/src/lib' >> make all-am >> make[5]: Entering directory `/home/ykk/nox/noxcore/src/lib' >> make[5]: Nothing to be done for `all-am'. >> make[5]: Leaving directory `/home/ykk/nox/noxcore/src/lib' >> make[4]: Leaving directory `/home/ykk/nox/noxcore/src/lib' >> Making all in nox >> make[4]: Entering directory `/home/ykk/nox/noxcore/src/nox' >> make all-recursive >> make[5]: Entering directory `/home/ykk/nox/noxcore/src/nox' >> Making all in apps >> make[6]: Entering directory `/home/ykk/nox/noxcore/src/nox/apps' >> make all-recursive >> make[7]: Entering directory `/home/ykk/nox/noxcore/src/nox/apps' >> Making all in configuration >> make[8]: Entering directory >> `/home/ykk/nox/noxcore/src/nox/apps/configuration' >> make all-am >> make[9]: Entering directory >> `/home/ykk/nox/noxcore/src/nox/apps/configuration' >> make[9]: Leaving directory >> `/home/ykk/nox/noxcore/src/nox/apps/configuration' >> make[8]: Leaving directory >> `/home/ykk/nox/noxcore/src/nox/apps/configuration' >> Making all in pyrt >> make[8]: Entering directory `/home/ykk/nox/noxcore/src/nox/apps/pyrt' >> make all-am >> make[9]: Entering directory `/home/ykk/nox/noxcore/src/nox/apps/pyrt' >> make[9]: Leaving directory `/home/ykk/nox/noxcore/src/nox/apps/pyrt' >> make[8]: Leaving directory `/home/ykk/nox/noxcore/src/nox/apps/pyrt' >> Making all in bcast_resolve >> make[8]: Entering directory >> `/home/ykk/nox/noxcore/src/nox/apps/bcast_resolve' >> make all-am >> make[9]: Entering directory >> `/home/ykk/nox/noxcore/src/nox/apps/bcast_resolve' >> make[9]: Leaving directory >> `/home/ykk/nox/noxcore/src/nox/apps/bcast_resolve' >> make[8]: Leaving directory >> `/home/ykk/nox/noxcore/src/nox/apps/bcast_resolve' >> Making all in authenticator >> make[8]: Entering directory >> `/home/ykk/nox/noxcore/src/nox/apps/authenticator' >> make all-am >> make[9]: Entering directory >> `/home/ykk/nox/noxcore/src/nox/apps/authenticator' >> /bin/sh ../../../../libtool --tag=CXX --mode=compile g++ >> -DHAVE_CONFIG_H -I. -I../../../.. >> -DPKGDATADIR=\"/usr/local/share/nox\" >> -DPKGLIBDIR=\"/usr/local/bin/nox/apps/authenticator\" >> -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" >> -DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -I ../../../../src/include >> -I/home/ykk/nox/noxcore/../openflow/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/local/include/python2.5 -I./../ >> -I../../../../src/nox >> -D__COMPONENT_FACTORY_FUNCTION__=authenticator_get_factory >> -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self >> -Wformat-nonliteral -Wformat-security -g -O2 -MT >> authenticator_la-authenticator.lo -MD -MP -MF >> .deps/authenticator_la-authenticator.Tpo -c -o >> authenticator_la-authenticator.lo `test -f 'authenticator.cc' || echo >> './'`authenticator.cc >> g++ -DHAVE_CONFIG_H -I. -I../../../.. >> -DPKGDATADIR=\"/usr/local/share/nox\" >> -DPKGLIBDIR=\"/usr/local/bin/nox/apps/authenticator\" >> -DPKGLOCALSTATEDIR=\"/usr/local/var/nox\" >> -DPKGSYSCONFDIR=\"/usr/local/etc/nox\" -I ../../../../src/include >> -I/home/ykk/nox/noxcore/../openflow/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/local/include/python2.5 -I./../ >> -I../../../../src/nox >> -D__COMPONENT_FACTORY_FUNCTION__=authenticator_get_factory >> -fno-omit-frame-pointer -Wall -Wno-sign-compare -Winit-self >> -Wformat-nonliteral -Wformat-security -g -O2 -MT >> authenticator_la-authenticator.lo -MD -MP -MF >> .deps/authenticator_la-authenticator.Tpo -c authenticator.cc -fPIC >> -DPIC -o .libs/authenticator_la-authenticator.o >> authenticator.cc: In member function 'bool >> vigil::applications::Authenticator::rename(const std::string&, const >> std::string&, vigil::applications::Directory::Principal_Type, >> vigil::applications::Directory::Group_Type, bool)': >> authenticator.cc:250: error: no matching function for call to >> 'vigil::hash_map<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> >, unsigned int, >> __gnu_cxx::hash<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, std::equal_to<std::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, >> std::allocator<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > > >>> >>> ::erase(__gnu_cxx::_Hashtable_const_iterator<std::pair<const >> >> std::basic_string<char, std::char_traits<char>, std::allocator<char> >>> >>> , unsigned int>, std::basic_string<char, std::char_traits<char>, >> >> std::allocator<char> >, __gnu_cxx::hash<std::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, >> std::_Select1st<std::pair<const std::basic_string<char, >> std::char_traits<char>, std::allocator<char> >, unsigned int> >, >> std::equal_to<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, std::allocator<std::basic_string<char, >> std::char_traits<char>, std::allocator<char> > > >&)' >> >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hash_map:248: >> note: candidates are: typename __gnu_cxx::hashtable<std::pair<const >> _Key, _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >>> >>> , _EqualKey, _Alloc>::size_type __gnu_cxx::hash_map<_Key, _Tp, >> >> _HashFcn, _EqualKey, _Alloc>::erase(const typename >> __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, >> std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, >> _Alloc>::key_type&) [with _Key = std::basic_string<char, >> std::char_traits<char>, std::allocator<char> >, _Tp = unsigned int, >> _HashFcn = __gnu_cxx::hash<std::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, _EqualKey = >> std::equal_to<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, _Alloc = >> std::allocator<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >] >> >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hash_map:252: >> note: void __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, >> _EqualKey, _Alloc>::erase(typename >> __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, >> std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, >> _Alloc>::iterator) [with _Key = std::basic_string<char, >> std::char_traits<char>, std::allocator<char> >, _Tp = unsigned int, >> _HashFcn = __gnu_cxx::hash<std::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, _EqualKey = >> std::equal_to<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, _Alloc = >> std::allocator<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >] >> >> /usr/lib/gcc/i386-redhat-linux/4.1.2/../../../../include/c++/4.1.2/ext/hash_map:256: >> note: void __gnu_cxx::hash_map<_Key, _Tp, _HashFcn, >> _EqualKey, _Alloc>::erase(typename >> __gnu_cxx::hashtable<std::pair<const _Key, _Tp>, _Key, _HashFcn, >> std::_Select1st<std::pair<const _Key, _Tp> >, _EqualKey, >> _Alloc>::iterator, typename __gnu_cxx::hashtable<std::pair<const _Key, >> _Tp>, _Key, _HashFcn, std::_Select1st<std::pair<const _Key, _Tp> >, >> _EqualKey, _Alloc>::iterator) [with _Key = std::basic_string<char, >> std::char_traits<char>, std::allocator<char> >, _Tp = unsigned int, >> _HashFcn = __gnu_cxx::hash<std::basic_string<char, >> std::char_traits<char>, std::allocator<char> > >, _EqualKey = >> std::equal_to<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >, _Alloc = >> std::allocator<std::basic_string<char, std::char_traits<char>, >> std::allocator<char> > >] >> make[9]: *** [authenticator_la-authenticator.lo] Error 1 >> make[9]: Leaving directory >> `/home/ykk/nox/noxcore/src/nox/apps/authenticator' >> make[8]: *** [all] Error 2 >> make[8]: Leaving directory >> `/home/ykk/nox/noxcore/src/nox/apps/authenticator' >> make[7]: *** [all-recursive] Error 1 >> make[7]: Leaving directory `/home/ykk/nox/noxcore/src/nox/apps' >> make[6]: *** [all] Error 2 >> make[6]: Leaving directory `/home/ykk/nox/noxcore/src/nox/apps' >> make[5]: *** [all-recursive] Error 1 >> make[5]: Leaving directory `/home/ykk/nox/noxcore/src/nox' >> make[4]: *** [all] Error 2 >> make[4]: Leaving directory `/home/ykk/nox/noxcore/src/nox' >> make[3]: *** [all-recursive] Error 1 >> make[3]: Leaving directory `/home/ykk/nox/noxcore/src' >> make[2]: *** [all] Error 2 >> make[2]: Leaving directory `/home/ykk/nox/noxcore/src' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/ykk/nox/noxcore' >> make: *** [all] Error 2 >> >> _______________________________________________ >> 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
