Hi All, I am new to NOX source code. Today I tried to create new NOX app "try_newapp" in netapps directory, it compiled successfully but when I start executing nox_core executable "./nox_core -v -I ptcp:789 try_newapp" it throws error "00041|nox|ERR:Application 'try_newapp' description not found."
Steps used to create new app: nox-new-c-app.py try_newapp it created try_newapp dir . root@desktop:~/nox/src/nox/netapps/try_newapp# ls Makefile.am Makefile.in meta.json try_newapp.cc try_newapp.hh Please find the attachment of error log and config log. Correct me if I was wrong in creating new app.. Thanks -B Suresh Reddy
checking build number... none checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... gnutar checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for fgrep... /bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for dlfcn.h... yes checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... g++ -E checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... yes checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... no checking for dlopen in -ldl... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... yes checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for fdatasync... yes checking for ppoll... yes checking for boostlib >= 1.34.1... yes checking whether the Boost::Filesystem library is available... yes checking for exit in -lboost_filesystem-mt... yes checking pcap.h usability... no checking pcap.h presence... no checking for pcap.h... no checking openssl/md5.h usability... yes checking openssl/md5.h presence... yes checking for openssl/md5.h... yes checking for MD5_Init in -lssl... yes checking for openssl... yes checking if SSL_CTX_new() can take a const argument... no checking for linux/netlink.h... yes checking whether thread-local storage with __thread is supported... yes checking whether libc supports hooks for malloc and related functions... yes checking for sphinx-build... no configure: WARNING: cannot find sphinx-build. While not build documentation checking for doxygen... /usr/bin/doxygen checking for python... /usr/bin/python checking for a version of Python >= '2.1.0'... yes checking for a version of Python >='2.5'... yes checking for the distutils Python package... yes checking for Python include path... -I/usr/include/python2.6 checking for Python library path... -L/usr/lib/python2.6/config -lpython2.6 checking for Python site-packages path... /usr/lib/python2.6/dist-packages checking python extra libraries... -lssl -lcrypto -lssl -lcrypto -L/usr/lib -lz -lpthread -ldl -lutil -lm checking python extra linking flags... -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions checking consistency of all components of python development environment... yes checking whether twisted python is installed... yes checking for swig... /usr/bin/swig checking for SWIG version... 1.3.40 configure: SWIG executable is '/usr/bin/swig' configure: SWIG library directory is '/usr/share/swig1.3' checking for SWIG 64-bit support... no checking whether the Boost::Unit_Test_Framework library is available... yes checking for exit in -lboost_unit_test_framework-mt... yes configure: creating ./config.status config.status: creating src/builtin/Makefile config.status: creating src/utilities/Makefile config.status: creating src/nox/Makefile config.status: creating src/nox/netapps/discovery/Makefile config.status: creating src/nox/netapps/storage/Makefile config.status: creating src/nox/netapps/storage/t/Makefile config.status: creating src/nox/netapps/data/Makefile config.status: creating src/nox/netapps/tablog/Makefile config.status: creating src/nox/netapps/routing/Makefile config.status: creating src/nox/netapps/try_newapp/Makefile config.status: creating src/nox/netapps/bindings_storage/Makefile config.status: creating src/nox/netapps/bindings_storage/t/Makefile config.status: creating src/nox/netapps/Makefile config.status: creating src/nox/netapps/tests/Makefile config.status: creating src/nox/netapps/tests/pyunittests/Makefile config.status: creating src/nox/netapps/l2mcast_igmp/Makefile config.status: creating src/nox/netapps/switchstats/Makefile config.status: creating src/nox/netapps/networkstate/Makefile config.status: creating src/nox/netapps/authenticator/Makefile config.status: creating src/nox/netapps/route/Makefile config.status: creating src/nox/netapps/lavi/Makefile config.status: creating src/nox/netapps/hoststate/Makefile config.status: creating src/nox/netapps/switch_management/Makefile config.status: creating src/nox/netapps/user_event_log/Makefile config.status: creating src/nox/netapps/flow_fetcher/Makefile config.status: creating src/nox/netapps/topology/Makefile config.status: creating src/nox/webapps/webservice/Makefile config.status: creating src/nox/webapps/webserver/Makefile config.status: creating src/nox/webapps/Makefile config.status: creating src/nox/webapps/webserviceclient/Makefile config.status: creating src/nox/webapps/webserviceclient/t/Makefile config.status: creating src/nox/webapps/miscws/Makefile config.status: creating src/nox/lib/netinet/Makefile config.status: creating src/nox/lib/Makefile config.status: creating src/nox/lib/packet/Makefile config.status: creating src/nox/lib/packet/t/Makefile config.status: creating src/nox/coreapps/pyrt/Makefile config.status: creating src/nox/coreapps/coretests/Makefile config.status: creating src/nox/coreapps/examples/Makefile config.status: creating src/nox/coreapps/examples/t/Makefile config.status: creating src/nox/coreapps/Makefile config.status: creating src/nox/coreapps/simple_c_app/Makefile config.status: creating src/nox/coreapps/messenger/Makefile config.status: creating src/nox/coreapps/switch/Makefile config.status: creating src/nox/coreapps/testharness/Makefile config.status: creating src/nox/coreapps/hub/Makefile config.status: creating src/nox/coreapps/snmp/Makefile config.status: creating src/nox/coreapps/simple_c_py_app/Makefile config.status: creating src/etc/Makefile config.status: creating src/Makefile config.status: creating src/tests/Makefile config.status: creating src/include/Makefile config.status: creating src/lib/Makefile config.status: creating Makefile config.status: creating man/Makefile config.status: creating man/man5/Makefile config.status: creating man/man1/Makefile config.status: creating doc/Makefile config.status: creating doc/manual/Makefile config.status: creating doc/doxygen/Makefile config.status: creating doc/doxygen/doxygen.conf config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands config.status: executing libtool commands
root@hpnimcast-desktop:~/nox/build/src# ./nox_core -v -i ptcp:789 try_newapp 00001|nox|INFO:Starting nox_core (/home/hpnimcast/nox/build/src/.libs/lt-nox_core) 00002|pyrt|DBG:Loading a component description file 'nox/coreapps/pyrt/meta.json'. 00003|pyrt|DBG:Loading a component description file 'nox/coreapps/coretests/meta.json'. 00004|pyrt|DBG:Loading a component description file 'nox/coreapps/examples/meta.json'. 00005|pyrt|DBG:Loading a component description file 'nox/coreapps/examples/t/meta.json'. 00006|pyrt|DBG:Loading a component description file 'nox/coreapps/simple_c_app/meta.json'. 00007|pyrt|DBG:Loading a component description file 'nox/coreapps/messenger/meta.json'. 00008|pyrt|DBG:Loading a component description file 'nox/coreapps/switch/meta.json'. 00009|pyrt|DBG:Loading a component description file 'nox/coreapps/testharness/meta.json'. 00010|pyrt|DBG:Loading a component description file 'nox/coreapps/hub/meta.json'. 00011|pyrt|DBG:Loading a component description file 'nox/coreapps/snmp/meta.json'. 00012|pyrt|DBG:Loading a component description file 'nox/coreapps/simple_c_py_app/meta.json'. 00013|pyrt|DBG:Loading a component description file 'nox/netapps/discovery/meta.json'. 00014|pyrt|DBG:Loading a component description file 'nox/netapps/storage/meta.json'. 00015|pyrt|DBG:Loading a component description file 'nox/netapps/storage/t/meta.json'. 00016|pyrt|DBG:Loading a component description file 'nox/netapps/data/meta.json'. 00017|pyrt|DBG:Loading a component description file 'nox/netapps/tablog/meta.json'. 00018|pyrt|DBG:Loading a component description file 'nox/netapps/routing/meta.json'. 00019|pyrt|DBG:Loading a component description file 'nox/netapps/try_newapp/meta.json'. 00020|pyrt|DBG:Loading a component description file 'nox/netapps/bindings_storage/meta.json'. 00021|pyrt|DBG:Loading a component description file 'nox/netapps/bindings_storage/t/meta.json'. 00022|pyrt|DBG:Loading a component description file 'nox/netapps/tests/meta.json'. 00023|pyrt|DBG:Loading a component description file 'nox/netapps/l2mcast_igmp/meta.json'. 00024|pyrt|DBG:Loading a component description file 'nox/netapps/switchstats/meta.json'. 00025|pyrt|DBG:Loading a component description file 'nox/netapps/networkstate/meta.json'. 00026|pyrt|DBG:Loading a component description file 'nox/netapps/authenticator/meta.json'. 00027|pyrt|DBG:Loading a component description file 'nox/netapps/route/meta.json'. 00028|pyrt|DBG:Loading a component description file 'nox/netapps/lavi/meta.json'. 00029|pyrt|DBG:Loading a component description file 'nox/netapps/hoststate/meta.json'. 00030|pyrt|DBG:Loading a component description file 'nox/netapps/switch_management/meta.json'. 00031|pyrt|DBG:Loading a component description file 'nox/netapps/user_event_log/meta.json'. 00032|pyrt|DBG:Loading a component description file 'nox/netapps/flow_fetcher/meta.json'. 00033|pyrt|DBG:Loading a component description file 'nox/netapps/topology/meta.json'. 00034|pyrt|DBG:Loading a component description file 'nox/webapps/webservice/meta.json'. 00035|pyrt|DBG:Loading a component description file 'nox/webapps/webserver/meta.json'. 00036|pyrt|DBG:Loading a component description file 'nox/webapps/miscws/meta.json'. 00037|nox|DBG:Application installation report: 00038|nox|DBG:built-in event dispatcher: Current state: INSTALLED Required state: INSTALLED Dependencies: 00039|nox|DBG:built-in DSO deployer: Current state: INSTALLED Required state: INSTALLED Dependencies: 00040|nox|DBG:python: Current state: INSTALLED Required state: INSTALLED Dependencies: 00041|nox|ERR:Application 'try_newapp' description not found.
_______________________________________________ nox-dev mailing list nox-dev@noxrepo.org http://noxrepo.org/mailman/listinfo/nox-dev