5.4.1 cross-compile link failure,

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 ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 03-31-2008
Ron Rader
 
Posts: n/a
Default 5.4.1 cross-compile link failure,

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
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 03:26 PM.


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