Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++

building Kernel fails

Altera_Forum
Honored Contributor II
982 Views

Hi @ all, 

 

I have updated the Nios to version 1.1 and the Linux Distribution to version 1.3.. 

The OpenCore Ethernet MAC is included in this Project and was running in the older versions of the Nios and Linux.  

Now I'm trying to build the Kernel and the C_Build flow looks like the following: 

 

------------------------------------------------ 

Microtronix Linux Extensions 

Version 1.2, Built Wed Jul 27 3:46pm EST 2004 

------------------------------------------------ 

make: Entering directory `/cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x' 

no emulation specific options. 

Using /cygdrive/c/altera/kits/nios2/bin/eclipse/plugins/com.microtronix.nios2linux.kernel_0.1.5/linux-2.6.x as source for kernel 

CHK include/linux/version.h 

CHK include/nios2_system.h 

Could not execute ...scripts/nios2_system.h/OpenCores_Ethernet_MAC.pm 

Error message follows: 

Undefined subroutine &OpenCores_Ethernet_MAC::run called at (eval 4) line 1, <STDIN> line 3946. 

 

 

 

The Nios2_system.h is created with this two warnings: 

 

 

/* Executing ...scripts/nios2_system.h/OpenCores_Ethernet_MAC.pm */# warning Could not execute ...scripts/nios2_system.h/OpenCores_Ethernet_MAC.pm# warning Error message is stored in nios2_system.h: 

/* 

Undefined subroutine &OpenCores_Ethernet_MAC::run called at (eval 4) line 1, <STDIN> line 3946. 

 

 

Has anyboby an idea was going wrong ?
0 Kudos
0 Replies
Reply