Re: Cross Compilation for Linux

Hector Oron <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Why don't you just compile native over i386 ?

On 12/6/05, Rustagi, Sandeep (Sandeep) <[email protected]> wrote:
>
> 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
> [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.