I had ossec 2.4.1 installed on three servers (redhat 7.1, redhat 7.2, and centos 4.8). I ran the update on all three servers, and only had success with the centos 4.8 server. On the two redhat 7.x servers, it failed with the following error:
************************************************************************************** *** Making config *** make[1]: Entering directory `/root/ossec-hids-2.5.1/src/config' gcc -c -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" - DCLIENT -DUSE_OPENSSL -DARGV0=\"ossec-config\" -DXML_VAR=\"var\" - DOSSECHIDS *.c rules-config.c: In function `Read_Rules': rules-config.c:216: parse error before `int' rules-config.c:218: `ii' undeclared (first use in this function) rules-config.c:218: (Each undeclared identifier is reported only once rules-config.c:218: for each function it appears in.) rules-config.c:62: warning: unused variable `xml_rules_lists_dir' make[1]: *** [logcollector] Error 1 make[1]: Leaving directory `/root/ossec-hids-2.5.1/src/config' Error Making config make: *** [all] Error 1 Error 0x5. Building error. Unable to finish the installation. ************************************************************************************** Any idea what is going on?
