NetXMS Support Forum

Please login or register.

Login with username, password and session length

Author Topic: problem with compilation under linux  (Read 3341 times)

sss

  • Newbie
  • *
  • Posts: 5
    • View Profile
problem with compilation under linux
« on: July 02, 2007, 03:49:15 pm »

hi all, i have problem with compilation unde debian linux (uname -a = Linux evil 2.6.22-rc6-git2sssrebuild #1 Thu Jun 28 14:37:02 EEST 2007 i686 GNU/Linux)

with build from cvs:

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

---------------------------------------------------------------------
                         Configure results
---------------------------------------------------------------------

Prefix              : /usr/local
Build Server        : YES
Encryption enabled  : NO
Build DB-Drivers    : mysql
Build Clients       : NO
Build Web Interface : NO
Build Agent         : YES
Subagents list      : linux
Build Static Agent  : NO

make[3]: Leaving directory `/home/sss/123/nms/src/libnxsnmp'
Making all in libnxsl
make[3]: Entering directory `/home/sss/123/nms/src/libnxsl'
make[3]: *** �е�' п�EURавила дл� �бо�EURки �+ели `parser.tab.hpp', �'�EURеб�NLGемой дл� `lex.yy.cpp'.  ���'анов.
make[3]: Leaving directory `/home/sss/123/nms/src/libnxsl'
make[2]: *** [all-recursive] ��^ибка 1
make[2]: Leaving directory `/home/sss/123/nms/src'
make[1]: *** [all-recursive] ��^ибка 1
make[1]: Leaving directory `/home/sss/123/nms'
make: *** [all] ��^ибка 2

with latest release:

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

---------------------------------------------------------------------
                         Configure results
---------------------------------------------------------------------

Prefix              : /usr/local
Build Server        : YES
Encryption enabled  : NO
Build DB-Drivers    : mysql
Build Clients       : NO
Build Web Interface : NO
Build Agent         : YES
Subagents list      : linux
Build Static Agent  : NO

session.cpp: In member function 'void ClientSession::SendServerInfo(DWORD)':
session.cpp:1218: error: 'RAND_bytes' was not declared in this scope
session.cpp: In member function 'void ClientSession::AddCACertificate(CSCPMessage*)':
session.cpp:8885: error: 'X509' was not declared in this scope
session.cpp:8885: error: 'pCert' was not declared in this scope
session.cpp:8903: error: 'd2i_X509' was not declared in this scope
session.cpp:8907: error: 'X509_free' was not declared in this scope
session.cpp:8922: error: 'ReloadCertificates' was not declared in this scope
session.cpp: In member function 'void ClientSession::DeleteCertificate(CSCPMessage*)':
session.cpp:8971: error: 'ReloadCertificates' was not declared in this scope
make[4]: *** [session.lo] ÐÑ^ибка 1
make[4]: Leaving directory `/home/sss/123/netxms-0.2.18-rc2/src/server/core'
make[3]: *** [all-recursive] ÐÑ^ибка 1
make[3]: Leaving directory `/home/sss/123/netxms-0.2.18-rc2/src/server'
make[2]: *** [all-recursive] ÐÑ^ибка 1
make[2]: Leaving directory `/home/sss/123/netxms-0.2.18-rc2/src'
make[1]: *** [all-recursive] ÐÑ^ибка 1
make[1]: Leaving directory `/home/sss/123/netxms-0.2.18-rc2'
make: *** [all] ÐÑ^ибка 2

how can i fix it ?
« Last Edit: January 01, 1970, 03:00:00 am by sss »
Logged

Victor Kirhenshtein

  • Lead Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 6451
    • View Profile
problem with compilation under linux
« Reply #1 on: July 03, 2007, 12:31:07 am »

Hello!

It's a bug, I have fix it in 0.2.18.

Best regards,
Victor
Logged

sss

  • Newbie
  • *
  • Posts: 5
    • View Profile
problem with compilation under linux
« Reply #2 on: July 03, 2007, 03:21:13 pm »

thx
Logged