Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

NET SNMP compile errors

Altera_Forum
Honored Contributor II
1,099 Views

i wanted to add snmp to my nios2linux . 

when i following the http://www.nioswiki.com/operatingsystems/uclinux/netsnmp 

some errors:  

 

checking for AIX... no 

checking build system type... Invalid configuration `i686-pc-linux-uclibc': machine `i686-pc-linux' not recognized 

configure: error: /bin/sh ../config.sub i686-pc-linux-uclibc failed 

make[3]: *** [build/Makefile] Error 1 

make[3]: Leaving directory `/nios2linux-vu1/uClinux-dist/user/net-snmp' 

make[2]: *** [net-snmp] Error 2 

make[2]: Leaving directory `/nios2linux-vu1/uClinux-dist/user' 

make[1]: *** [all] Error 2 

make[1]: Leaving directory `/nios2linux-vu1/uClinux-dist/user' 

make: *** [subdirs] Error 1 

You have new mail in /var/spool/mail/root 

[root@localhost uClinux-dist]#  

 

somebody said : 

 

edit config.sub: 

add "| nios2" in the "case $basic_machine in" 

 

run: 

./configure --host=nios2-linux --with-cc=nios2-linux-gcc --disable-shared -enable-static --with-endianness=little  

 

compile and seems to work fine. (works under linux not cygwin)  

 

but still have the same errors . 

 

who can tell me how to do ? 

 

thanks.
0 Kudos
0 Replies
Reply