Problem to build AgentX++ on AIX 4.3 32/64 bit

Arie Trost ariet____genesyslab.com
Sat Mar 16 00:41:19 CET 2002


Hi,

When compiling AgentX++ master and subagent example code on AIX 4.3, 32 bit (rs6000-aix4.3.2.0),
I am getting the following link errors:

          /usr/vacpp/bin/xlC_r -g -v -o2 -D_XPG4_EXTENDED -D_AIXPPC4300 -D__unix -D__aix43   
         -c -o  master.o -I../include -I../../../include -I../../../../agent++/include -I../../../../snmp++/include -I../../../../snmp++/src master.cpp 
         ...
 
         ld: 0711-317 ERROR: Undefined symbol: AuthPriv::password_to_key_auth(const int,unsigned char*,unsigned int,unsigned 
                                                                                     char*,unsigned  int,unsigned char*,unsigned int*)
         ld: 0711-317 ERROR: Undefined symbol: AuthPriv::password_to_key_priv(const int,const int,unsigned char*,unsigned int,unsigned       
                                                                                     char*,unsigned int,unsigned char*,unsigned int*)


The libdes library was built using 'make gcc'.
Other AgentX++ library built using the following compile options:

  COPTIONS =  -o2 -c -g -v -q32 -D_XPG4_EXTENDED -DAIXPPC4300 -D__unix -D__aix43
  LDFLAGS  = $(COPTIONS) 
  SHARED   = -qmkshrobj  
  CC = /usr/vacpp/bin/xlC_r
  LD = ld

Initially, I have ported AgentX++ to AIX 4.3 (32 as well as 64 bit targets) with SNMPv3 disabled 
(ending up with the __aix43 flag above and the snmp++'s manifest HEADER_DES_LOCL_H). 
Libraires (static libs) and example code were built successfully.
The next step was to rebuild all with _SNMPv3 defined and link with libdes (no further modification made to the code or makefiles).
 
Anyone has succesfully built AgentX++ on AIX 4.3, 32 and 64 bit platforms?

Thanks for your help,
 
Regards,
Arie.
 



More information about the AGENTPP mailing list