Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-04 Thread Nathan, Mukund
Hi Niels Baggesen: Thanks for responding. Yes, I will try 5.7.2.rc2 and update you. Regarding the availability of Symbols CMSG_SPACE and CMSG_LEN, here are some details. Here are my configuration options. LDFLAGS=-rpath=\$$ORIGIN:/usr/lib:/usr/local/lib:/lib LIBS=-lz -lcrypto -lpthread

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-04 Thread Nathan, Mukund
Hi Neils Baggesen: I tried the 5.7.2.rc2. The configure options are as follows LIBS=-lpthread ./configure --prefix=/home/build/mnathan/netsnmp_staging --exec-prefix=/home/build/mnathan/netsnmp_exec --libdir=/home/build/mnathan/netsnmp_exec/lib

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-04 Thread Niels Baggesen
Den 04-09-2012 15:43, Nathan, Mukund skrev: So, it seems to indicate the need for the Linux compatibility flag to be included in CFLAGS. One of the configure option is --oldincludedir and the fact that it is oldincludedir raises some concern. Even including that did not resolve it. I

5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-03 Thread Nathan, Mukund
Hi Snmp coders: I updated my net-snmp from 5.4.1 to 5.7.1. The library build worked fine on Linux ( Ubuntu 10.4). On AIX there is some difficulty when it comes to the ~/net-snmp-5.7.1/agent , linking snmpd. The build does not go past this point. I see the following error libtool: link:

Re: 5.7.1 AIX agent link fails on Undefined sysmbols

2012-09-03 Thread Niels Baggesen
On Mon, Sep 03, 2012 at 08:20:02PM -0400, Nathan, Mukund wrote: CMSG_SPACE and CMSG_LEN are macro defined in an include file ~/net-snmp-5.7.1/include/net-snmp/library/snmp_transport.h CMSG_SPACE is defined for solaris platform and sys/socket.h is expected for non solaris. Are the two