- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm having a bit of trouble trying to get the kernel to compile. In the NIOS II IDE, I right-click on the linux_kernel project and select "Build All."
The errors I get are not at all enlightening (at least not to me): <div class='quotetop'>QUOTE </div> --- Quote Start --- Using /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x as source for kernel ln: creating symbolic link `include2/asm' to `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/include/asm-nios2nommu': File exists make[1]: *** [prepare2] Error 1 make: *** [_all] Error 2 make: Leaving directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x'[/b] --- Quote End --- I tried deleting /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/include2/asm but I still get the same error - it looks like make re-creates it via a sym link. Any hints would be GREATLY appreciated.Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by jomegat@Sep 29 2005, 11:52 AM i'm having a bit of trouble trying to get the kernel to compile. in the nios ii ide, i right-click on the linux_kernel project and select "build all." --- Quote End --- I uninstalled EVERYTHING - Quartus, NIOS II Dev Kit, and the uCLinux kit. I deleted everything I could find in the Windows registry related to Altera, NIOS, Quartus, cygwin, or uCLinux. Then I reinstalled everything again. But I still get the same error. My working space is on a network drive, and I wonder if /that/ could be the root of the problem?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- originally posted by jomegat@Oct 7 2005, 12:17 PM my working space is on a network drive, and i wonder if /that/ could be the root of the problem? --- Quote End --- Perhaps. I moved everything to a local drive and that problem went away. After fighting through a couple more errors, I got stuck on this one: CC arch/nios2nommu/kernel/asm-offsets.s /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/asm-offsets.c: In function `main': /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_1.4.0/linux-2.6.x/arch/nios2nommu/kernel/asm-offsets.c:149: error: `na_onchip_memory_0' undeclared (first use in this function) Help?

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