- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting the following errors (lost of them) when I try to build the tool chain:
toolchain_build_nios2/gcc-3.4.6-final/nios2-linux-uclibc/libstdc++-v3/include/ext/rope:2035:37: macro "index" requires 2 arguments, but only 1 given. Has anyone else seen this error or know how to fix it?Link Copied
8 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the build script is updated to fix this, download the build0329.zip . Remove old build dirs by uncomment line1 of build script.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 29 2006, 08:11 PM the build script is updated to fix this, download the build0329.zip . remove old build dirs by uncomment line1 of build script.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13913)
--- quote end ---
--- Quote End --- Thanks, I'll try it...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 29 2006, 08:11 PM the build script is updated to fix this, download the build0329.zip . remove old build dirs by uncomment line1 of build script.
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13913)
--- quote end ---
--- Quote End --- Thanks, that fixed the build tools problem, but now I have another one. I get this error message when I try to build the kernel after I configured it to build for the NIOS2 eval board: build_nios2/staging_dir/bin/nios2-linux-ld: line 174: /buildroot/build_nios2/staging_dir/bin/nios2-linux-ld.real: No such file or directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
What is the command you used to compile kernel?
Do you have more message, 10 more liness?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 29 2006, 10:28 PM what is the command you used to compile kernel?
do you have more message, 10 more liness?
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13920)
--- quote end ---
--- Quote End --- Here it is: make ARCH=nios2nommu CHK include/linux/version.h CC arch/nios2nommu/kernel/asm-offsets.s GEN include/asm-nios2nommu/asm-offsets.h CC init/main.o CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o CC init/do_mounts.o LD init/mounts.o /opt/toolchain_nios2/bin/nios2-linux-ld: line 163: /opt/toolchain_nios2/bin/nios2-linux-ld.real: No such file or directory /opt/toolchain_nios2/bin/nios2-linux-ld: line 163: exec: /opt/toolchain_nios2/bin/nios2-linux-ld.real: cannot execute: No such file or directory make[1]: *** [init/mounts.o] Error 126 make: *** [init] Error 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by fmcmurra@Mar 31 2006, 09:52 AM /opt/toolchain_nios2/bin/nios2-linux-ld: line 163: /opt/toolchain_nios2/bin/nios2-linux-ld.real: no such file or directory --- Quote End --- Hi fcmurra, Not sure if this is relevant, but it looks like your toolchain seems to be installed under /opt, rather than ~ as per buildroot guide. If this wasn't your intention, then perhaps you still have an older toolchain installed, which collides with your freshly-built one? If so, try removing '/opt/toolchain_nios2" directory out of your path. Otherwise I have no ideas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use this command to compile kernel,
make ARCH=nios2nommu CROSS_COMPILE=nios2-linux-uclibc- zImage
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by hippo@Mar 30 2006, 05:06 PM use this command to compile kernel,
make arch=nios2nommu cross_compile=nios2-linux-uclibc- zimage
<div align='right'><{post_snapback}> (index.php?act=findpost&pid=13928)</div> --- Quote End --- I fixed the problem. I just created a symbolic link, it now compiles without errors. Thanks to everyone who helped...
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page