Re: RedHat Compile Problems

From: Alex Kirhenshtein <alk_at_DOMAIN_REMOVED>
Date: Thu, 03 Nov 2005 19:35:16 +0200

Hello.

Isn't you running a 64-bit platform, by any chance?
Could you please specify exact version of RedHat you are currently using?

Try to run following command in src/libnxcscp/ and send me (alk_at_ctco.lv)
processed file (crypto.procesed.cpp):

g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include \
-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 \
crypto.cpp -o crypto.procesed.cpp -E

wbr, alex.

Miley, Shain wrote:
> 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

-- 
Alex Kirhenshtein
C.T.Co
Cellular: +371-9145688
Received on Thu Nov 03 2005 - 19:35:16 EET

This archive was generated by hypermail 2.2.0 : Thu Nov 03 2005 - 19:47:40 EET