Altera_Forum
Honored Contributor
15 years agoBuild the Toolchain
Hello,
I'm trying to build the Toolchain. I followed the instructions on web page: nioswiki->InstallNios2Linux At step: setarch i386 make gcc elf2flt gdb-host I get the following error. I'm using Ubuntu with gcc version 4.2.4.
=nios2-linux-uclibc-
PREFIX=
DEVEL_PREFIX=/
RUNTIME_PREFIX=/
KERNEL_HEADERS=/data/share/uclinux/nios2-linux/toolchain-build/build/linux/include
all
make: Entering directory `/data/share/uclinux/nios2-linux/uClibc'
make: `conf' is up to date.
CC libpthread/linuxthreads.old/cancel.o
In file included from ./include/sys/syscall.h:34,
from libpthread/linuxthreads.old/restart.h:16,
from libpthread/linuxthreads.old/cancel.c:23:
./include/bits/syscalls.h:10:23: asm/traps.h: No such file or directory
make: *** Error 1
make: Leaving directory `/data/share/uclinux/nios2-linux/uClibc'
make: *** Error 2
Can some one help me with this problem?