NetXMS Support Forum

English Support => General Support => Topic started by: romans on May 16, 2008, 10:54:38 AM

Title: NetXMS 0.2.21 compilation problem
Post by: romans on May 16, 2008, 10:54:38 AM
Hi
the following error occured:

linux.cpp:31:20: error: iostat.h: No such file or directory
linux.cpp:308: error: 'H_TransferRate' was not declared in this scope
linux.cpp:310: error: 'H_BlockReadRate' was not declared in this scope
linux.cpp:312: error: 'H_BlockWriteRate' was not declared in this scope
linux.cpp:314: error: 'H_BytesReadRate' was not declared in this scope
linux.cpp:316: error: 'H_BytesWriteRate' was not declared in this scope
linux.cpp:318: error: 'H_DiskQueue' was not declared in this scope
linux.cpp:322: error: 'H_DiskTime' was not declared in this scope
make[5]: *** [linux.lo] Error 1
make[5]: Leaving directory `/root/netxms-0.2.21/src/agent/subagents/linux'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/netxms-0.2.21/src/agent/subagents'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/netxms-0.2.21/src/agent'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/netxms-0.2.21/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/netxms-0.2.21'
make: *** [all] Error 2


previuous version 0.2.20 compiles fine.

Enviroment: CentOS 5.1 kernel: 2.6.18-53.1.19.el5
Title: Re: NetXMS 0.2.21 compilation problem
Post by: Victor Kirhenshtein on May 16, 2008, 01:21:37 PM
Hi!

File iostat.h was missing from source package. I put updated package on web site, now it should compiles without problems.

Best regards,
Victor
Title: Re: NetXMS 0.2.21 compilation problem
Post by: weec on May 16, 2008, 03:04:20 PM
0.2.21 - it CVS version or release ?
please don`t modify package
Title: Re: NetXMS 0.2.21 compilation problem
Post by: Victor Kirhenshtein on May 16, 2008, 04:21:41 PM
In release. But this only affects Linux builds.

Best regards,
Victor
Title: Re: NetXMS 0.2.21 compilation problem
Post by: weec on May 16, 2008, 04:34:10 PM
this modify hashes of source package