Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

NET SNMP compile errors

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.
No RepliesBe the first to reply