Hi
I am trying to compile ossec 2.0 on AIX box but it fails during the
compilation. The error received is as follow. Previously I have
deployed on many AIX boxes but haven't face this problem before. I
have tried with other version also but the same problem lies
Can any one pls help out
Thanks & Regards
Gagan
*** Making os_xml ***
gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers -
DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DAIX -DHIGHFIRST -DARGV0=
\"os_xml\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_xml.c os_xml_access.c
os_xml_node_access.c os_xml_variables.c os_xml_writer.c
In file included from ../headers/shared.h:64,
from os_xml.c:17:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or
'...' before 'rid_t'
In file included from ../headers/shared.h:64,
from os_xml_writer.c:18:
/usr/include/unistd.h:923: error: expected ')' before '[' token
/usr/include/unistd.h:924: error: expected declaration specifiers or
'...' before 'rid_t'
make: 1254-004 The error code from the last command is 1.
Stop.
Error Making os_xml
make: 1254-004 The error code from the last command is 1.
Stop.
Error 0x5.
Building error. Unable to finish the installation.