Forum Discussion
Altera_Forum
Honored Contributor
15 years ago --- Quote Start --- I hammered on those instructions over and over and never could get past building the toolchain. Once I downloaded the pre-built toolchain I could build the kernel pretty easily. What step are you getting stuck on and what is the exact error message? --- Quote End --- 1) I tried to build the toolchain downloading http://www.niosftp.com/pub/uclinux/nios2-linux-20090730.tar but gives the following error:
inlined from ‘col-
lect execute’ at /home/thor/Scrivania/progettoEmbedded/nios2-730/toolchain-build/..
/gcc3/gcc/collect2.c:1537: /usr/include/bits/fcntl2.h:51: error: call to
‘ open missing mode’ declared with attribute error: open with O CREAT in second
argument needs 3 arguments
2) I tried to build the toolchain downloadinghttp://www.niosftp.com/pub/linux/nios2-linux-20090929.tar but gives the following error: libpthread/linuxthreads.old/wrapsyscall.c:101: error: redefinition of ’msync’ ./in-
clude/sys/mman.h:97: error: previous definition of ’msync’ was here
3) I used pre-built toolchain: - http://www.niosftp.com/pub/gnutools/nios2gcc-20080203.tar.bz2 and uCLinix-dist-20100628 ma dà tanti errori su include/linux/types.h dopo aver lanciato il comando "make" I hope you can help me, thanks