Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

Help: error on Hello World program

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.
No RepliesBe the first to reply