Hello!
Looks like you have 64 bit platform. Can you please try to change the
following code in include/nms_common.h (2 occurences):
typedef long int LONG;
typedef unsigned long DWORD;
with
#if (SIZEOF_LONG == 4)
typedef long LONG;
#else
typedef int LONG;
#endif
#if (SIZEOF_LONG == 4)
typedef unsigned long DWORD;
#else
typedef unsigned int DWORD;
#endif
Best regards,
Victor
-----Original Message-----
From: Miley, Shain [mailto:SMiley_at_czn.com]
Sent: Thursday, November 03, 2005 6:17 PM
To: NetXMS Users
Subject: [netxms-users] RedHat Compile Problems
Hello,
I just downloaded the newest version of NetXMS and I am having some
issues compiling the software. Here is the relevant info:
NetXMS version 0.2.6
# g++ --version
g++ (GCC) 3.4.4 20050721 (Red Hat 3.4.4-2)
Here is the error that I recieve when running make:
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -fno-exceptions
-I/usr/local/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
-DDATADIR=\"/opt/share/netxms\" -DLIBDIR=\"/opt/lib\" -g -O2 -MT
crypto.lo -MD -MP -MF .deps/crypto.Tpo -c crypto.cpp -fPIC -DPIC -o
.libs/crypto.o
In file included from libnxcscp.h:30,
from crypto.cpp:24:
../../include/nxcscpapi.h:96: error: `void
CSCPMessage::SetVariable(DWORD, QWORD)' and `void
CSCPMessage::SetVariable(DWORD, DWORD)' cannot be overloaded
make[3]: *** [crypto.lo] Error 1
make[3]: Leaving directory `/usr/local/src/netxms-0.2.6/src/libnxcscp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/netxms-0.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/netxms-0.2.6'
make: *** [all] Error 2
Any help would be appreciated.
Shain
Received on Thu Nov 03 2005 - 23:54:11 EET
This archive was generated by hypermail 2.2.0 : Fri Nov 04 2005 - 00:06:39 EET