This is a discussion on 5.4.1 cross-compile link failure, within the SNMP Users forums, part of the Networking and Network Related category; I can successfully cross-compile, build and run net-snmp 5.4.1 on our target MIPS system as a ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
I can successfully cross-compile, build and run net-snmp 5.4.1 on our
target MIPS system as a standalone agent, including our private MIB extensions. However, when I attempt to access the private MIB extensions from our business logic application (hence, linking our stuff to libnetsnmpmibs.so) the build fails because the linker attempts to pull the build machine's native net-snmp libraries. The net-snmp ./configure options appear to correctly define a cross-compiled target: cd /software/ronrader/RLR_CEP100_development/cep_development/raza_main/buil d/net-snmp/net-snmp-5.4.1 && ./configure --with-default-snmp-version=2 --with-sys-contact=" " --with-sys-location=" " --with-logfile="/var/log/snmpd.log" --with-persistent-directory="/var/net-snmp" --with-mibs="CIPHEROPTICS-CRYPTO-MIB:" --with-mib-modules="coCryptoMIBNotifications" --disable-embedded-perl --without-perl-modules --with-endianness=big --target=mips-linux --host=mips-linux Has anybody successfully cross-compiled 5.4.1 while linking to your own application? Thanks in advance, Ron The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting all copies. Thank you. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216...et/marketplace _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/...net-snmp-users |