Hi, all
I have try to install NetXMS 0.2.31 (the same with 0.2.24(26)) on FreeBSD 8.0 and received error of compilation. How can I fix this?
#./configure --with-server --with-nxhttpd --with-mysql (successfull)
#
#make (aborted)
#
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated -MT net.lo -MD -MP -MF .deps/net.Tpo -c net.cpp -fPIC -DPIC -o .libs/net.o
net.cpp:69: warning: deprecated conversion from string constant to 'char*'
net.cpp: In function 'LONG H_NetRoutingTable(const char*, const char*, StringList*)':
net.cpp:339: error: 'RTF_WASCLONED' was not declared in this scope
*** Error code 1
Stop in /tmp/netxms-0.2.31/src/agent/subagents/freebsd.
*** Error code 1
Stop in /tmp/netxms-0.2.31/src/agent/subagents.
*** Error code 1
Stop in /tmp/netxms-0.2.31/src/agent.
*** Error code 1
Stop in /tmp/netxms-0.2.31/src.
*** Error code 1
Stop in /tmp/netxms-0.2.31.
*** Error code 1
Stop in /tmp/netxms-0.2.31.
				
			I have try to install NetXMS 0.2.31 (the same with 0.2.24(26)) on FreeBSD 8.0 and received error of compilation. How can I fix this?
#./configure --with-server --with-nxhttpd --with-mysql (successfull)
#
#make (aborted)
#
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../include -I/usr/local/mysql/include -I/usr/include/mysql -I/usr/mysql/include -I/usr/local/include/mysql -I/usr/local/mysql/include/mysql -I/usr/mysql/include/mysql -I/usr/local/include -D_THREAD_SAFE -D_THREAD_SAFE -DPREFIX=\"/usr/local\" -DPREFIXW=L\"/usr/local\" -DDATADIR=\"/usr/local/share/netxms\" -DLIBDIR=\"/usr/local/lib\" -g -O2 -fno-rtti -fno-exceptions -Wno-deprecated -MT net.lo -MD -MP -MF .deps/net.Tpo -c net.cpp -fPIC -DPIC -o .libs/net.o
net.cpp:69: warning: deprecated conversion from string constant to 'char*'
net.cpp: In function 'LONG H_NetRoutingTable(const char*, const char*, StringList*)':
net.cpp:339: error: 'RTF_WASCLONED' was not declared in this scope
*** Error code 1
Stop in /tmp/netxms-0.2.31/src/agent/subagents/freebsd.
*** Error code 1
Stop in /tmp/netxms-0.2.31/src/agent/subagents.
*** Error code 1
Stop in /tmp/netxms-0.2.31/src/agent.
*** Error code 1
Stop in /tmp/netxms-0.2.31/src.
*** Error code 1
Stop in /tmp/netxms-0.2.31.
*** Error code 1
Stop in /tmp/netxms-0.2.31.