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++
12745 Discussions

Help: error on Hello World program

Altera_Forum
Honored Contributor II
1,025 Views

Hi I am a new Nios2 user with 1S10 dev kits. When I compile the Hello world example, I get error: 

 

Can anyone help? 

 

Thanks, 

 

Linking hello_world_1.elf... 

D:/altera/kits/nios2/examples/verilog/niosII_stratix_1s10/standardOld/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.text+0x30): In function `alt_sys_init': 

/cygdrive/d/altera/kits/nios2/components/altera_hal/HAL/inc/sys/alt_llist.h:92: undefined reference to `alt_ethernet_device_list' 

D:/altera/kits/nios2/examples/verilog/niosII_stratix_1s10/standardOld/software/hello_world_1_syslib/Debug/libhello_world_1_syslib.a(alt_sys_init.o)(.text+0x30):/cygdrive/d/altera/kits/nios2/components/altera_hal/HAL/inc/sys/alt_llist.h:92: Unable to reach alt_ethernet_device_list (at 0x00000000) from the global pointer (at 0x01018cf4) because the offset (-16878836) is out of the allowed range, -32678 to 32767.
0 Kudos
0 Replies
Reply