On Tue, 28 Sep 2004 13:26:18 +0100 Dave wrote:
DS> > I have cross-compiled my master agent with options
DS> > like "--prefix =/home/tina/snmpdbinary --enable-static --disable-shared"
DS> > given with configure. Due to this, my master agent does not make files
DS> > like libnetsnmpagent.so in the /home/tina/snmpdbinary/lib folder. But
DS> > when I try to cross compile my subagent (by making changes in its make
DS> > file), it generates error as:
DS> >  /usr/local/lib/libnetsnmpagent.so: could not read symbols: Invalid
DS> > operation

There are some Makefile gyrations you can use suggested here:

        http://www.net-snmp.org/faqs/rstory/#static

They depend on GNU make features, but should at least give you an idea of how
you could tweak your makefile to use the static flag to the linker.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Net-snmp-users mailing list
[EMAIL PROTECTED]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to