Hi,
     I wanted to cross compile net-snmp package 5.6.1.1 into our target
device.


Target Device Platform Details
Embedded H/W with Linux OS (AT91SAM9260-EK board)

   1.

   Kernel Version : 2.6.27
   2.

   Busy Box Version: v1.12.0
   3.

   Pre-built Linux OS with file system, ARM9 CPU
   4.

   Compiler : uclibc


   I have gone through net-snmp FAQ's on compliling. When i  cross
compiled  net-snmp
   package using following command:

   *./configure   --with-cc=/opt/usr/bin/arm-linux-uclibcgnueabi-gcc*

   I got following error

   *checking for gcc... /opt/usr/bin/arm-linux-uclibcgnueabi-gcc*

   *checking for C compiler default output file name... a.out*

   *checking whether the C compiler works... configure: error: in
   `/home/prashant/Desktop/SNMP/SNMPDownloads/net-snmp/net-snmp-5.6.1.1':*

   *configure: error: cannot run C compiled programs.*

   *If you meant to cross compile, use `--host'.*

   *See `config.log' for more details.*

   *
   *

   How to fix this problem, please guide me on this?

   *
   *

   *Thanks in Advance*

   *Prashant Nirni*
------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to