It's ok !!!  Thanks 

The solution :

mv /usr/vac/bin/cc /usr/vac/bin/cc-lamarde
ln -s /opt/pware/bin/gcc cc
./install.sh
rm /usr/vac/bin/cc
mv /usr/vac/bin/cc-lamarde mv /usr/vac/bin/cc

--
GluGlu

-----Message d'origine-----
De : [email protected] [mailto:[email protected]] De la 
part de dan (ddp)
Envoyé : mercredi 15 septembre 2010 14:50
À : [email protected]
Objet : Re: [ossec-list] [Compilation AIX] error

In the ossec-hids-*/src directory there is a file called LOCATION.

Check to see if that includes the full path to your gcc installation.

On Wed, Sep 15, 2010 at 8:36 AM,  <[email protected]> wrote:
> Thanks for your help
>
> I do :
>
> export CC=/opt/pware/bin/gcc
> ./install.sh
>
> I have the same error
>
> How can I be sure that GCC replaces CC ?
>
>
>
> --
> GluGLu
>
> -----Message d'origine-----
> De : [email protected] [mailto:[email protected]] De la 
> part de dan (ddp)
> Envoyé : mercredi 15 septembre 2010 14:11
> À : [email protected]
> Objet : Re: [ossec-list] [Compilation AIX] error
>
> 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
>>
>

Reply via email to