Forum Discussion
Altera_Forum
Honored Contributor
20 years agowhy i can't build toolchain on Linux
i have read the
http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174) so i do it step by step when i run the step 3 cd ~/download unzip build0207.zip ./build0207 we got the next informatiom. i have not know what are install before build toolchanin . patching file include/asm-nios2nommu/ptrace.h patching file include/asm-nios2nommu/uart_struct.h patching file include/asm-nios2nommu/pgalloc.h patching file include/asm-nios2nommu/shmbuf.h patching file include/asm-nios2nommu/errno.h patching file include/asm-nios2nommu/timex.h patching file include/asm-nios2nommu/posix_types.h patching file include/asm-nios2nommu/sigcontext.h patching file include/asm-nios2nommu/mman.h patching file include/asm-nios2nommu/socket.h can't find file to patch at input line 10158 Perhaps you used the wrong -p or --strip option? patching file include/asm-nios2nommu/timex.h patching file include/asm-nios2nommu/posix_types.h patching file include/asm-nios2nommu/sigcontext.h patching file include/asm-nios2nommu/mman.h patching file include/asm-nios2nommu/socket.h can't find file to patch at input line 10158 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: include/linux/elf.h |=================================================================== |--- include/linux/elf.h (revision 1) |+++ include/linux/elf.h (working copy) -------------------------- File to patch: Skip this patch? [y] Skipping patch. 2 out of 2 hunks ignored can't find file to patch at input line 10180 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: include/linux/ide.h |=================================================================== |--- include/linux/ide.h (revision 1) |+++ include/linux/ide.h (working copy) -------------------------- File to patch: I wish give me a help .beacuse i am a newer for the uClinux Thansk!1 Reply
- Altera_Forum
Honored Contributor
Please look at the updated NOTE at the beginning of the guide.
You can look at the build0207 script to know what is going on. Please uncommnet line 1 of build0207, which will remove old source dirs. And run again.