5.4.1 cross-compile link failure, trying to use build (not host) libraries

"Ron Rader" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <6BA04340F278EB47AB42AAF2EED9CBBA0289058C@dellserver.cipheroptics.local>
  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;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.