Agent++ Build problem on HP-UX.

Gopi Krishna Bhavaraju gopi____pspl.co.in
Thu Nov 28 12:21:18 CET 2002


Hi,

I am trying to compile Agent++ library on HP-UX. All the three(libdes, SNMP++ and Agent++) libraries got compiled successfully. But when I am linking these libraries with the main agent I am getting the following error :
    __h_errno() (first referenced in  SnmpPP/hp-ux/libSnmpPP.a(address.o)).

It looks like SNMP++/src/address.cpp is using 64-bit h_errno.

I am using SNMP++ 3.2.1b. I have used the following flags while building this address.cpp:
aCC +z -D_XPG4_EXTENDED -D__unix -DHEADER_DES_LOCL_H -Dsun -I../include -I./ -I../../libdes -DRWSTD_MULTI_THREAD -D_REENTRANT +DAportable -g -D_DEBUG -o ../hp-ux/address.o -c address.cpp
HP-UX details: B.11.00 A 9000/785 2006917392

If I don't pass the _REENTRANT flag this error disappears. However I need to pass this flag as I want it to be re-entrant.

Could you please let me know whether I am missing any flags etc.

Thanks in advance,
Regards,
--Gopi.

--
Senior Member of Technical Staff
Persistent Systems Pvt. Ltd.,
402, Senapati Bapat Road,
SB Road, Pune, India.
Ph: Off - +91-20-5678900, Ext 530
    Res - +91-20-5881178





More information about the AGENTPP mailing list