Hi guys, I've created a new component, named 'miocomponente' under the netapps folder; that tries to get a reference to the routeinstaller component. To this aim I've inserted a line
*#include "route/routeinstaller.hh"* in the miocomponente.hh file; moreover I've correctly modified the *meta.json *to include dependencies. When I issue the '*make -j*' command in the build directory, I get the following error: In file included from /usr/include/python2.6/Python.h:8, from ../../../../../src/nox/netapps/authenticator/flow_util.hh:25, from ../../../../../src/nox/netapps/routing/nat_enforcer.hh:21, from ../../../../../src/nox/netapps/routing/routing.hh:34, from ../../../../../src/nox/netapps/route/routeinstaller.hh:9, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:29, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: /usr/include/python2.6/pyconfig.h:1031:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/include/c++/4.4/i486-linux-gnu/bits/os_defines.h:39, from /usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h:243, from /usr/include/c++/4.4/bits/stl_algobase.h:60, from /usr/include/c++/4.4/list:61, from ../../../../../src/nox/component.hh:26, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:26, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: /usr/include/features.h:158:1: warning: this is the location of the previous definition In file included from /usr/include/python2.6/Python.h:8, from ../../../../../src/nox/netapps/authenticator/flow_util.hh:25, from ../../../../../src/nox/netapps/routing/nat_enforcer.hh:21, from ../../../../../src/nox/netapps/routing/routing.hh:34, from ../../../../../src/nox/netapps/route/routeinstaller.hh:9, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:29, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: /usr/include/python2.6/pyconfig.h:1040:1: warning: "_XOPEN_SOURCE" redefined In file included from /usr/include/c++/4.4/i486-linux-gnu/bits/os_defines.h:39, from /usr/include/c++/4.4/i486-linux-gnu/bits/c++config.h:243, from /usr/include/c++/4.4/bits/stl_algobase.h:60, from /usr/include/c++/4.4/list:61, from ../../../../../src/nox/component.hh:26, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:26, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: /usr/include/features.h:160:1: warning: this is the location of the previous definition In file included from ../../../../../src/nox/netapps/authenticator/flow_in.hh:22, from ../../../../../src/nox/netapps/authenticator/flow_fn_map.hh:22, from ../../../../../src/nox/netapps/authenticator/flow_util.hh:34, from ../../../../../src/nox/netapps/routing/nat_enforcer.hh:21, from ../../../../../src/nox/netapps/routing/routing.hh:34, from ../../../../../src/nox/netapps/route/routeinstaller.hh:9, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:29, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: ../../../../../src/nox/netapps/data/datatypes.hh:30:26: error: pyrt/pyglue.hh: No such file or directory In file included from ../../../../../src/nox/netapps/authenticator/flow_in.hh:22, from ../../../../../src/nox/netapps/authenticator/flow_fn_map.hh:22, from ../../../../../src/nox/netapps/authenticator/flow_util.hh:34, from ../../../../../src/nox/netapps/routing/nat_enforcer.hh:21, from ../../../../../src/nox/netapps/routing/routing.hh:34, from ../../../../../src/nox/netapps/route/routeinstaller.hh:9, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:29, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: ../../../../../src/nox/netapps/data/datatypes.hh:221: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:225: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:229: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:233: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:237: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:241: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:245: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/data/datatypes.hh:249: error: ‘to_python’ is not a template function In file included from ../../../../../src/nox/netapps/authenticator/flow_fn_map.hh:22, from ../../../../../src/nox/netapps/authenticator/flow_util.hh:34, from ../../../../../src/nox/netapps/routing/nat_enforcer.hh:21, from ../../../../../src/nox/netapps/routing/routing.hh:34, from ../../../../../src/nox/netapps/route/routeinstaller.hh:9, from ../../../../../src/nox/netapps/miocomponente/miocomponente.hh:29, from ../../../../../src/nox/netapps/miocomponente/miocomponente.cc:1: ../../../../../src/nox/netapps/authenticator/flow_in.hh:92: error: ‘to_python’ is not a template function ../../../../../src/nox/netapps/authenticator/flow_in.hh:96: error: ‘to_python’ is not a template function make[9]: *** [miocomponente_la-miocomponente.lo] Error 1 make[9]: Leaving directory `/home/andrea/nox/build/src/nox/netapps/miocomponente' make[8]: *** [all] Error 2 make[8]: Leaving directory `/home/andrea/nox/build/src/nox/netapps/miocomponente' make[7]: *** [all-recursive] Error 1 make[7]: Leaving directory `/home/andrea/nox/build/src/nox/netapps' make[6]: *** [all] Error 2 make[6]: Leaving directory `/home/andrea/nox/build/src/nox/netapps' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/andrea/nox/build/src/nox' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/andrea/nox/build/src/nox' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/home/andrea/nox/build/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/home/andrea/nox/build/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/andrea/nox/build' make: *** [all] Error 2 Any suggestions? best regards, -- Andrea Simeoni
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev