Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - VarLog

#1
Не собирается на ubuntu-server


root@ubuntu-server:~/netxms-0.2.31# uname -a
Linux ubuntu-server 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686 GNU/Linux

./configure --with-server --with-mysql --with-agent --with-nxhttpd
make
....

Making all in core
make[4]: Entering directory `/root/netxms-0.2.31/src/server/core'
/bin/bash ../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/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 -D_GNU_SOURCE -I/usr/local/include  -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 netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c -o netinfo.lo netinfo.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../.. -I../../../include -I../../../src/server/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 -D_GNU_SOURCE -I/usr/local/include -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 netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c netinfo.cpp  -fPIC -DPIC -o .libs/netinfo.o
In file included from ../../../src/server/include/nxsrvapi.h:42,
                from ../../../src/server/include/nms_core.h:71,
                from nxcore.h:27,
                from netinfo.cpp:23:
../../../include/nms_agent.h: In function 'void ret_int(char*, LONG)':
../../../include/nms_agent.h:360: warning: format '%d' expects type 'int', but argument 4 has type 'LONG'
../../../include/nms_agent.h:360: warning: format '%d' expects type 'int', but argument 4 has type 'LONG'
../../../include/nms_agent.h: In function 'void ret_uint(char*, DWORD)':
../../../include/nms_agent.h:365: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD'
../../../include/nms_agent.h:365: warning: format '%u' expects type 'unsigned int', but argument 4 has type 'DWORD'
netinfo.cpp: In function 'void StrToMac(char*, BYTE*)':
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 3 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 4 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 5 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 6 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 7 has type 'DWORD*'
netinfo.cpp:122: warning: format '%x' expects type 'unsigned int*', but argument 8 has type 'DWORD*'
netinfo.cpp: In function 'ARP_CACHE* SysGetLocalArpCache()':
netinfo.cpp:214: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp: In function 'INTERFACE_LIST* SysGetLocalIfList()':
netinfo.cpp:326: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:335: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:342: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:359: error: invalid conversion from 'const char*' to 'char*'
netinfo.cpp:368: error: invalid conversion from 'const char*' to 'char*'
make[4]: *** [netinfo.lo] Error 1
make[4]: Leaving directory `/root/netxms-0.2.31/src/server/core'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/netxms-0.2.31/src/server'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/netxms-0.2.31/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netxms-0.2.31'
make: *** [all] Error 2