Forum Discussion
Altera_Forum
Honored Contributor
15 years agoHi,
I tested to compile 'net-snmp-5.2.1', and in may case, it succeeded. My compiler version is
nios2-wrs-linux-gnu-gcc (Wind River Linux Sourcery G++ 4.1-176) 4.1.2
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
. I did it as
PATH=$PATH:/home/***/nios2-linux/toolchain-mmu/x86-linux2/bin
cd /home/***/nios2-linux/uClinux-dist/user/net-snmp/net-snmp-5.2.1/
export CC="nios2-wrs-linux-gnu-gcc -I/***/usr/include"
export LDFLAGS="-L/***/usr/lib/ -g"
export CFLAGS="-I/***/usr/include -g"
export CPPFLAGS="-I/***/usr/include -g"
export PKG_CONFIG_PATH=/***/usr/lib/pkgconfig/
./configure --host=nios2-wrs-linux-gnu --prefix=/***/usr --with-endianness=little
make -f Makefile -B
. But I'd also experienced a compiler's internal error when I compiled the X Window. It sometimes goes well and sometimes reports the error. So I think this is a kind of bug like http://www.alteraforum.com/forum/showthread.php?t=26354 Kazu.