Hi,
In test1, no errors in make when it enters the directory:
make[4]: Entering directory `/home/neha/test1/build/src/builtin'
make all-am
make[5]: Entering directory `/home/neha/test1/build/src/builtin'
make[5]: Nothing to be done for `all-am'.
make[5]: Leaving directory `/home/neha/test1/build/src/builtin'
make[4]: Leaving directory `/home/neha/test1/build/src/builtin'
Making all in nox
In test2, the same error:
Making all in builtin
make[4]: Entering directory `/home/neha/test2/build/src/builtin'
make all-am
make[5]: Entering directory `/home/neha/test2/build/src/builtin'
CXX deployer.lo
CXX component.lo
CXX dso-deployer.lo
CXX event-dispatcher-component.lo
CXX kernel.lo
CXX nox.lo
../../../src/builtin/nox.cc: In member function 'void
vigil::nox::Handshake_fsm::handle_vendor(std::auto_ptr<vigil::Buffer>)':
../../../src/builtin/nox.cc:1037:20: error: expected '(' before 'ntohs'
../../../src/builtin/nox.cc:1441:1: error: expected '}' at end of input
../../../src/builtin/nox.cc:1441:1: error: expected '}' at end of input
../../../src/builtin/nox.cc:1441:1: error: expected '}' at end of input
../../../src/builtin/nox.cc: At global scope:
../../../src/builtin/nox.cc:1441:1: error: expected '}' at end of input
../../../src/builtin/nox.cc:1441:1: error: expected '}' at end of input
In file included from ../../../src/include/classifier.hh:26:0,
from ../../../src/nox/packet-classifier.hh:21,
from ../../../src/nox/nox.hh:46,
from ../../../src/builtin/nox.cc:19:
../../../src/include/cnode.hh: In instantiation of 'const uint32_t
vigil::Cnode<vigil::Packet_expr, boost::function<void(const vigil::Event&)>
>::MASKS [32]':
../../../src/include/cnode.hh:254:5: required from 'void
vigil::Cnode<Expr, Action>::add_rule(vigil::Rule<Expr, Action>* const&,
uint32_t, bool) [with Expr = vigil::Packet_expr; Action =
boost::function<void(const vigil::Event&)>; vigil::Cnode<Expr,
Action>::Rule_ptr = vigil::Rule<vigil::Packet_expr,
boost::function<void(const vigil::Event&)> >*; uint32_t = unsigned int]'
../../../src/include/classifier.hh:215:13: required from 'uint32_t
vigil::Classifier<Expr, Action>::add_rule(uint32_t, const Expr&, const
Action&) [with Expr = vigil::Packet_expr; Action =
boost::function<void(const vigil::Event&)>; uint32_t = unsigned int]'
../../../src/builtin/nox.cc:757:56: required from here
../../../src/include/cnode.hh:93:16: warning: narrowing conversion of
'-2147483648' from 'int' to 'const uint32_t {aka const unsigned int}'
inside { } is ill-formed in C++11 [-Wnarrowing]
*I was able to rectify it by doing something as simple as this:*
1037c1037
< switch ntohs(ofmph->type) {
---
> switch (ntohs(ofmph->type)) {
___________________________________________________________________________________________
However, I got the following error:-
make[9]: *** No rule to make target `serverkey.pem', needed by `all-am'.
Stop.
make[9]: Leaving directory
`/home/neha/nox_bak/build/src/nox/coreapps/messenger'
*I rectified it by adding the files *.pem from the previous messenger
folder to the one provided by you. Can you please verify if this will work
fine.*
___________________________________________________________________________________________
I want to create an external JAVA application that will send JSON objects
over TCP (port 2703). I was wondering if something like DataStreamOutput
will work for the sender side? Will the JSON messenger in NOX be able to
respond to the messages sent in that way?
Thanks & Regards,
Neha