Are you using gcc or AIX's compiler? You should be using gcc.
On Wed, Sep 15, 2010 at 5:43 AM, <[email protected]> wrote: > > Hello all, > > I have a problem to installing OSSEC agent on AIX 5.3 > > I get this error at the compilation : > > [CODE] > *** Making shared *** > > cc -c -g -I../ -I../headers -DDEFAULTDIR=\"/var/ossec\" -DCLIENT > -DAIX -DHIGHFIRST -DARGV0=\"shared-libs\" -DXML_VAR=\"var\" -DOSSECHIDS *.c > agent_op.c: > debug_op.c: > dirtree_op.c: > "dirtree_op.c", line 110.9: 1506-046 (S) Syntax error. > file_op.c: > file-queue.c: > hash_op.c: > help.c: > list_op.c: > "list_op.c", line 73.30: 1506-068 (W) Operation between types > "void(*)(void*)" and "void*" is not allowed. > math_op.c: > mem_op.c: > mq_op.c: > privsep_op.c: > pthreads_op.c: > read-agents.c: > read-alert.c: > regex_op.c: > report_op.c: > rules_op.c: > sig_op.c: > "sig_op.c", line 53.20: 1506-280 (W) Function argument assignment between > types "void(*)(int)" and "void(*)()" is not allowed. > "sig_op.c", line 54.21: 1506-280 (W) Function argument assignment between > types "void(*)(int)" and "void(*)()" is not allowed. > "sig_op.c", line 55.21: 1506-280 (W) Function argument assignment between > types "void(*)(int)" and "void(*)()" is not allowed. > "sig_op.c", line 56.21: 1506-280 (W) Function argument assignment between > types "void(*)(int)" and "void(*)()" is not allowed. > "sig_op.c", line 57.21: 1506-280 (W) Function argument assignment between > types "void(*)(int)" and "void(*)()" is not allowed. > "sig_op.c", line 69.21: 1506-280 (W) Function argument assignment between > types "void(*)(int)" and "void(*)()" is not allowed. > store_op.c: > "store_op.c", line 115.30: 1506-068 (W) Operation between types > "void(*)(void*)" and "void*" is not allowed. > validate_op.c: > wait_op.c: > make : 1254-004 Code d'erreur de la dernière commande : 1. > > > Arrêt. > > Error Making shared > make : 1254-004 Code d'erreur de la dernière commande : 1. > > > Arrêt. > > Error 0x5. > Building error. Unable to finish the installation. > [\CODE] > > Any idea ? > > Thanks in advance. > > > GluGlu >
