This is the mail archive of the mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Linux cross-compile for ARM : /lib/ could not read symbols: Invalid operation

I have successfully built ucd-snmp-4.2.3 and ucd-snmp-4.2.6 versions using
cygwin.  The same
environment does not work for net-snmp-5.0.7.

The following "configure" command options were used.
sh ./configure --target=armv4b-unknown-linux
--with-cc=armv4b-unknown-linux-gcc --with-cflags= mbig-endian
--with-endianness=big --with-defaults --enable-mini-agent

The following text is the output preceding the make error:
/bin/sh ../../libtool  --mode=link armv4b-unknown-linux-gcc -o snmpnetstat
inet.lo inet6.lo if.lo main.lo route.lo winstub.lo
../../snmplib/ -lm 
armv4b-unknown-linux-gcc -o snmpnetstat.exe inet.o inet6.o if.o main.o
route.o winstub.o  ../../snmplib/.libs/libnetsnmp.a

/usr/local/armbe/armv4b-unknown-linux/lib/ could not read symbols:
Invalid operation
collect2:ld returned 1 exit status
make[2]: *** [snmpnetstat] Error 1

make[2]: Leaving directory
make[1]: *** [subdirs] Error 1

make[1]: Leaving directory
make: *** [subdirs] Error 1

Any insight into how to solve this problem?

Barb Roesch
Software Developer
Wavecom Electronics Inc.
Tel: (306) 955-7075 ext 481
Fax: (306) 955-7315
Web site:
150 Cardinal Place
Saskatoon, SK
Canada S7L 6H7
mailto:barb dot roesch at wavecom dot ca

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to crossgcc-unsubscribe at sources dot redhat dot com

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]