Error compiling during install SNMP++V3

Frank Fock Frank.Fock____t-online.de
Mon Oct 21 18:45:28 CEST 2002


Marc,

obviously something went wrong when you applied
the path to the Makefile because it is not
active! So please check it again.
The code of interest is located in libdes/des.h
and looks like:

#ifdef HEADER_DES_LOCL_H
char *crypt(const char *buf,const char *salt);
#else
char *crypt();
#endif

Best regards,
Frank

Beumer, Marc wrote:
> Hello,
> 
>  
> 
> I have done this to the Makefile, the error remains the same.
> 
>  
> 
> I have added it to the Makefile in the COPTIONS section.
> 
>  
> 
> Thanks
> 
>  
> 
> -----Original Message-----
> *From:* Frank Fock [mailto:Frank.Fock____t-online.de]
> *Sent:* Thursday, October 10, 2002 7:02 PM
> *To:* mbeumer____euronet.nl
> *Cc:* agentpp-dl____agentpp.com
> *Subject:* Re: Error compiling during install SNMP++V3
> 
>  
> 
> Hello,
> 
> Please add -DHEADER_DES_LOCL_H to your Makefile options
> of SNMP++ (and AGENT++).
> 
> Best regards,
> Frank
> 
>  
> 
> mbeumer____euronet.nl wrote:
>>  Hello,
>>
>>  I have this error when trying to compile under RedHat 8.0
>>  Anybody, know a quick fix ?
>>
>>  Thanks
>>
>>  [root at localhost src]# make
>>  g++ -D_XPG4_EXTENDED -Dsun -D__unix -Wall  -I../include -I./ 
> -I../../libdes -g -
>>  o auth_priv.o -c auth_priv.cpp
>>  In file included from ../include/address.h:83,
>>                  from ../include/target.h:72,
>>                  from ../include/usm_v3.h:40,
>>                  from ../include/auth_priv.h:39,
>>                  from auth_priv.cpp:46:
>>  /usr/include/unistd.h:946: declaration of C function `char* 
> crypt(const char*,
>>    const char*)' conflicts with
>>  ../../libdes/des.h:192: previous declaration `char* crypt()' here
>>  make: *** [auth_priv.o] Error 1
>>  [root at localhost src]#
>>  [root at localhost src]#
>>
>>
>>
> 
> 
> 
> 







More information about the AGENTPP mailing list