Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Flatly)
  • No Skin
Collapse
Brand Logo

NetXMS Forum

V

VarLog

@VarLog
Unfollow Follow
About
Posts
2
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Не собирается под Ubuntu server
    V VarLog
    Support (Russian)

    не помогло 😞

    make[4]: Entering directory `/root/netxms-0.2.27/src/server/core'
    /bin/sh ../../../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 -fno-const-strings -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 -fno-const-strings -Wno-deprecated -MT netinfo.lo -MD -MP -MF .deps/netinfo.Tpo -c netinfo.cpp  -fPIC -DPIC -o .libs/netinfo.o
    netinfo.cpp:49: error: 'StringList' was not declared in this scope
    netinfo.cpp:49: error: expected primary-expression before ')' token
    netinfo.cpp:49: error: expected ',' or ';' before '=' token
    netinfo.cpp:50: error: 'StringList' was not declared in this scope
    netinfo.cpp:50: error: expected primary-expression before ')' token
    netinfo.cpp:50: error: expected ',' or ';' before '=' token
    netinfo.cpp: In function 'void InitLocalNetInfo()':
    netinfo.cpp:86: error: expected primary-expression before '(' token
    netinfo.cpp:86: error: expected primary-expression before ')' token
    netinfo.cpp:86: error: 'StringList' was not declared in this scope
    netinfo.cpp:86: error: expected primary-expression before ')' token
    netinfo.cpp:86: error: expected `;' before 'DLGetSymbolAddr'
    netinfo.cpp:87: error: expected primary-expression before '(' token
    netinfo.cpp:87: error: expected primary-expression before ')' token
    netinfo.cpp:87: error: expected primary-expression before ')' token
    netinfo.cpp:87: error: expected `;' before 'DLGetSymbolAddr'
    netinfo.cpp: In function 'ARP_CACHE* SysGetLocalArpCache()':
    netinfo.cpp:180: error: 'StringList' was not declared in this scope
    netinfo.cpp:180: error: expected `;' before 'list'
    netinfo.cpp:182: error: 'list' was not declared in this scope
    netinfo.cpp:182: error: 'imp_NxSubAgentGetArpCache' cannot be used as a function
    netinfo.cpp: In function 'INTERFACE_LIST* SysGetLocalIfList()':
    netinfo.cpp:317: error: 'StringList' was not declared in this scope
    netinfo.cpp:317: error: expected `;' before 'list'
    netinfo.cpp:318: error: 'list' was not declared in this scope
    netinfo.cpp:318: error: 'imp_NxSubAgentGetIfList' cannot be used as a function
    make[4]: *** [netinfo.lo] Error 1
    make[4]: Leaving directory `/root/netxms-0.2.27/src/server/core'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/root/netxms-0.2.27/src/server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/netxms-0.2.27/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/netxms-0.2.27'
    make: *** [all] Error 2
    

    на всякий случай, прикладываю вывод ./configure и make


    out


  • Не собирается под Ubuntu server
    V VarLog
    Support (Russian)

    Не собирается на 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
    
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups