Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

This is a discussion on Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1 within the SNMP Coders forums, part of the Networking and Network Related category; >>>>> On Thu, 31 Mar 2005 15:40:53 -0700, "Philip Greer" <pgreer@...


Go Back   Usenet Forums > Networking and Network Related > SNMP Coders

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-05-2005
Wes Hardaker
 
Posts: n/a
Default Re: Compiling net-snmp 5.2.1 under AIX 5.3 ML1

>>>>> On Thu, 31 Mar 2005 15:40:53 -0700, "Philip Greer" <pgreer@paragonsg.com> 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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/...et-snmp-coders
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 10:49 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0