Altera_Forum
Honored Contributor
15 years agoNIOS2 EDS 9.1 - Linking problem?
I really need some help. This might be a simple solution but I dont know how to fix it.
Thanks, I am getting the following error messages when linking: Info: Linking sss_6_15_B.elf nios2-elf-g++ -T'../sss_6_15_B_bsp/linker.x' -msys-crt0='../sss_6_15_B_bsp/obj/HAL/src/crt0.o' -msys-lib=hal_bsp -L../superloop_iniche_lib -L../superloop_tse_lib -L../sss_6_15_B_bsp -u write -u read -Wl,-Map=sss_6_15_B.map -DSUPERLOOP -DALT_INICHE -DALTERA_TRIPLE_SPEED_MAC -O2 -g -Wall -mno-hw-div -mhw-mul -mno-hw-mulx -o sss_6_15_B.elf obj/demo_control.o obj/iniche_init.o obj/neek_support/alt_2_wire.o obj/neek_support/alt_eeprom.o obj/neek_support/alt_tpo_lcd.o obj/neek_support/alt_video_display.o obj/neek_support/get_neek_mac.o obj/neek_support/gfx_character_rom.o obj/neek_support/gfx_display.o obj/network_utilities.o obj/simple_socket_server.o -lsuperloop_iniche -lsuperloop_tse -lm ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_close.o)(.text+0x4): In function `close': iniche/src/alt_iniche_close.c:60: undefined reference to `alt_close' ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_close.o)(.text+0x8):iniche/src/alt_iniche_close.c:60: undefined reference to `alt_close' ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_fcntl.o)(.text+0x18): In function `fcntl': iniche/src/alt_iniche_fcntl.c:65: undefined reference to `alt_fcntl' ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_read.o)(.text+0x14): In function `read': iniche/src/alt_iniche_read.c:61: undefined reference to `alt_read' ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_read.o)(.text+0x18):iniche/src/alt_iniche_read.c:61: undefined reference to `alt_read' ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_write.o)(.text+0xc): In function `write': iniche/src/alt_iniche_write.c:62: undefined reference to `alt_write' ../superloop_iniche_lib/libsuperloop_iniche.a(alt_iniche_write.o)(.text+0x10):iniche/src/alt_iniche_write.c:62: undefined reference to `alt_write' collect2: ld returned 1 exit status make: *** [sss_6_15_B.elf] Error 1