Re: make error while cross compiling with arm-linux-gnu

"Kirill Mishustin" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On Thu, 19 Nov 2009 12:15:40 +0530
  radhika mv wrote:
> /opt/arm_tools/bin/../lib/gcc/arm-linux-gnu/3.4.3/../../../../arm-linux-gnu/bin/ld:
> mibgroup/snmpv3/.libs/usmConf.o: Relocations in generic 
>ELF (EM: 3)
> 
> mibgroup/snmpv3/.libs/usmConf.o: could not read symbols: 
>File in wrong
> format
> 
> collect2: ld returned 1 exit status
> 
> make[1]: *** [libnetsnmpagent.la] Error 1
> 
> make[1]: Leaving directory 
>`/home/radhika/net-snmp-5.4.2.1/agent'
> 
> make: *** [subdirs] Error 1

I experienced same errors. This happens when you compile 
net-snmp for ARM after it was compiled for i386.
Try executing "make clean" and then reconfigure package. 
Worked for me.
If it will not work, post here how you call configure 
script (parameters).


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
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.