>>>>> On Thu, 31 Mar 2005 15:40:53 -0700, "Philip Greer" <[EMAIL PROTECTED]> 
>>>>> said:
Philip> gcc -g -O2 -Daix5 -o snmpd snmpd.o ./.libs/libnetsnmpmibs.a
Philip> ./.libs/libnetsnmpa gent.a helpers/.libs/libnetsnmphelpers.a
Philip> ../snmplib/.libs/libnetsnmp.a -ldl -lm -lperfstat

Philip> ./.libs/libnetsnmpmibs.a(interface_common.o): In function
Philip> `netsnmp_access_interface_init':

Can you try something and compile it by hand using:

gcc -g -O2 -Daix5 -o snmpd snmpd.o ./.libs/libnetsnmpmibs.a ./.libs/libnetsnmpa 
gent.a helpers/.libs/libnetsnmphelpers.a ../snmplib/.libs/libnetsnmp.a 
./.libs/libnetsnmpmibs.a ./.libs/libnetsnmpa gent.a 
helpers/.libs/libnetsnmphelpers.a ../snmplib/.libs/libnetsnmp.a -ldl -lm 
-lperfstat

Note that I'm repeating the libraries twice.  This might fix the
problem.  In a future version (5.3+) this should actually improve and
should not be needed.  Hopefully.

-- 
Wes Hardaker
Sparta


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to