Cross Compilation for Linux

This is a discussion on Cross Compilation for Linux within the SNMP Users forums, part of the Networking and Network Related category; Hi, I wish to compile the net-snmp code for SNMPv1 and SNMPv2 on solaris machine for linux target. Please ...


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

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 12-06-2005
Rustagi, Sandeep
 
Posts: n/a
Default Cross Compilation for Linux

Hi,

I wish to compile the net-snmp code for SNMPv1 and SNMPv2 on solaris machine
for
linux target.

Please suggest me what options I should use for configuring.

I have give the following options:

../configure --prefix=/home/sandeepr/net_snmp_5_2_1 --host=sparc
--target=i686-pc-linux-gnu
--with-ar=/home/sandeepr/montavista/cge/devkit/x86/pentium4/bin/pentium4-ar
--with-cc=/home/sandeepr/montavista/cge/devkit/x86/pentium4/bin/pentium4-gcc
--with-mib-modules=agentx --with-endianness=little
--with-ldflags=-L/home/sandeepr/montavista/cge/devkit/x86/pentium4/target/us
r/lib -L/home/sandeepr/montavista/cge/devkit/x86/pentium4/target/lib
--disable-des

Moreover, if I dont use the --disable-des, I get the undefined refernce for
des_key_sched

Please let me know what is right options for cross compiling net-snmp on
Solaris machine for Montavista linux.

Thanks in advance.


Thanks and Rgds,
Sandeep


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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 07:11 AM.


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