Dear All, I am facing the below issue while trying to install ossec agent 2.6 on an AIX machine 5.3. I followed the prerequisites of installing the following rpms to ensure that the install went smoothly:
- 1. libstdc++-devel-4.6.2-1.aix5.3.ppc.rpm - 2. gcc-4.6.2-1.aix5.3.ppc.rpm - 3. gcc-c++-4.6.2-1.aix5.3.ppc.rpm - 4. gcc-cpp-4.6.2-1.aix5.3.ppc.rpm - 5. gcc-gfortran-4.6.2-1.aix5.3.ppc.rpm - 6. libgcc-4.6.2-1.aix5.3.ppc.rpm - 7. libgomp-4.6.2-1.aix5.3.ppc.rpm - 8. libstdc++-4.6.2-1.aix5.3.ppc.rpm - 9. mpfr-3.1.0-1.aix5.1.ppc.rpm - 10. gmp-5.0.5-1.aix5.1.ppc.rpm - 11. libmpc-0.9-1.aix5.1.ppc.rpm Still i got the below error while trying to install the agent. may i know if there is any way to resolve this issue at the earliest. 5- Installing the system - Running the Makefile *** Making zlib (by Jean-loup Gailly and Mark Adler) *** gcc -c -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"zlib\" -DXML_VAR=\"var\" -DOSSECHIDS *.c ar cru libz.a *.o ranlib libz.a cp -pr zlib.h zconf.h ../../headers/ cp -pr libz.a ../ *** Making os_xml *** gcc -DXML_VAR=\"var\" -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -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 os_xml_variables.c: In function 'OS_ApplyVariables': os_xml_variables.c:119:33: warning: variable 'final' set but not used [-Wunused-but-set-variable] ar cru os_xml.a os_xml.o os_xml_access.o os_xml_node_access.o os_xml_variables.o os_xml_writer.o ranlib os_xml.a *** Making os_regex *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"os_regex\" -DXML_VAR=\"var\" -DOSSECHIDS -c *.c -Wall ar cru os_regex.a *.o ranlib os_regex.a *** Making os_net *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"os_net\" -DXML_VAR=\"var\" -DOSSECHIDS -c os_net.c ar cru os_net.a os_net.o ranlib os_net.a *** Making os_crypto *** gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"blowfish_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c bf_op.c bf_skey.c bf_enc.c ar cru bf_op.a bf_op.o bf_skey.o bf_enc.o ranlib bf_op.a gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"md5_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c md5.c md5_op.c ar cru md5_op.a md5_op.o md5.o ranlib md5_op.a gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"sha1_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c sha1_op.c ar cru sha1_op.a sha1_op.o ranlib sha1_op.a gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"md5_sha1_op\" -DXML_VAR=\"var\" -DOSSECHIDS -c ../md5/md5.c md5_sha1_op.c ar cru md5_op.a md5_sha1_op.o ../md5/md5.o ranlib md5_op.a gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"shared\" -DXML_VAR=\"var\" -DOSSECHIDS -c *.c ar cru shared.a *.o ranlib shared.a ar cru os_crypto.a blowfish/bf_op.o blowfish/bf_skey.o blowfish/bf_enc.o md5/md5_op.o md5/md5.o sha1/sha1_op.o md5_sha1/md5_sha1_op.o shared/*.o ranlib os_crypto.a *** Making shared *** gcc -c -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"shared-libs\" -DXML_VAR=\"var\" -DOSSECHIDS *.c read-agents.c: In function '_do_print_rootcheck': read-agents.c:567:12: warning: variable 'c_time' set but not used [-Wunused-but-set-variable] read-agents.c: In function 'get_agent_info': read-agents.c:1277:10: warning: variable 'tmp_file' set but not used [-Wunused-but-set-variable] ar cru lib_shared.a *.o ranlib lib_shared.a *** Making config *** gcc -c -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-config\" -DXML_VAR=\"var\" -DOSSECHIDS *.c ar cru lib_config.a *.o ranlib lib_config.a *** Making os_maild *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-maild\" -DXML_VAR=\"var\" -DOSSECHIDS maild.c config.c os_maild_client.c sendmail.c mail_list.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-maild maild.c: In function 'OS_Run': maild.c:191:9: warning: variable 'today' set but not used [-Wunused-but-set-variable] sendmail.c: In function 'OS_Sendmail': sendmail.c:285:10: warning: variable 'additional_to' set but not used [-Wunused-but-set-variable] *** Making os_dbd *** Compiling DB support with: gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-dbd\" -DXML_VAR=\"var\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-dbd db_op.c: In function 'none_osdb_connect': db_op.c:401:11: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] db_op.c: In function 'none_osdb_close': db_op.c:413:11: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] db_op.c: In function 'none_osdb_query_insert': db_op.c:421:11: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] db_op.c: In function 'none_osdb_query_select': db_op.c:430:11: warning: variable 'tmp' set but not used [-Wunused-but-set-variable] *** Making os_csyslogd *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-csyslogd\" -DXML_VAR=\"var\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-csyslogd *** Making agentlessd *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-agentlessd\" -DXML_VAR=\"var\" -DOSSECHIDS *.c ../config/lib_config.a ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a ../os_crypto/os_crypto.a -o ossec-agentlessd agentlessd.c: In function 'Agentlessd': agentlessd.c:483:9: warning: variable 'thisyear' set but not used [-Wunused-but-set-variable] agentlessd.c:482:9: warning: variable 'thismonth' set but not used [-Wunused-but-set-variable] *** Making os_execd *** gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-execd\" -DXML_VAR=\"var\" -DOSSECHIDS execd.c exec.c config.c ../shared/lib_shared.a ../os_net/os_net.a ../os_regex/os_regex.a ../os_xml/os_xml.a -o ossec-execd execd.c: In function 'main': execd.c:81:11: warning: variable 'cfg' set but not used [-Wunused-but-set-variable] execd.c:79:11: warning: variable 'dir' set but not used [-Wunused-but-set-variable] gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-execd\" -DXML_VAR=\"var\" -DOSSECHIDS -c execd.c exec.c config.c execd.c: In function 'main': execd.c:81:11: warning: variable 'cfg' set but not used [-Wunused-but-set-variable] execd.c:79:11: warning: variable 'dir' set but not used [-Wunused-but-set-variable] *** Making analysisd *** cd ./cdb; make gcc -I../ -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"cdb\" -DXML_VAR=\"var\" -DOSSECHIDS -c cdb.c cdb_hash.c cdb_make.c uint32_pack.c uint32_unpack.c ar cru cdb.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o ar cru cdb_make.a cdb.o cdb_hash.o cdb_make.o uint32_pack.o uint32_unpack.o ranlib cdb.a ranlib cdb_make.a cd ./alerts; make gcc -I../ -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"alerts\" -DXML_VAR=\"var\" -DOSSECHIDS -c mail.c log.c exec.c getloglocation.c ar cru alerts.a mail.o log.o exec.o getloglocation.o ranlib alerts.a cd ./decoders; make cd plugins; make; gcc -g -Wall -I../../../ -I../../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-analysisd\" -DXML_VAR=\"var\" -DOSSECHIDS -I../../ -c *.c gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-analysisd\" -DXML_VAR=\"var\" -DOSSECHIDS -I../ -c *.c ar cru decoders.a *.o plugins/*.o ranlib decoders.a cd ./compiled_rules; make; ./register_rule.sh build *Build completed. gcc -g -Wall -I../../ -I../../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-analysisd\" -DXML_VAR=\"var\" -DOSSECHIDS -I../ -c *.c gcc -g -Wall -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT -DUSE_OPENSSL -DAIX -DHIGHFIRST -DARGV0=\"ossec-analysisd\" -DXML_VAR=\"var\" -DOSSECHIDS -I./ analysisd.c stats.c lists.c lists_list.c rules.c rules_list.c config.c fts.c dodiff.c eventinfo.c eventinfo_list.c cleanevent.c active-response.c picviz.c prelude.c compiled_rules/*.o ../config/lib_config.a decoders/decoders.a cdb/cdb.a cdb/cdb_make.a alerts/alerts.a ../os_xml/os_xml.a ../os_regex/os_regex.a ../os_net/os_net.a ../shared/lib_shared.a ../os_zlib/os_zlib.c ../external/libz.a -o ossec-analysisd ld: 0711-593 SEVERE ERROR: Symbol C_BSTAT (entry 601) in object /tmp//ccy2RMR2.o: The symbol refers to a csect with symbol number 0, which was not found. The new symbol cannot be associated with a csect and is being ignored. collect2: ld returned 12 exit status make: 1254-004 The error code from the last command is 1. Stop. Error Making analysisd make: 1254-004 The error code from the last command is 1. Stop. Error 0x5. Building error. Unable to finish the installation. thanks and regards Amritha Kumar