Forum Discussion

JVano's avatar
JVano
Icon for New Contributor rankNew Contributor
5 years ago

EDS on Quartus 19.1 on Windows , linker error

Building Hello_World Sample, with minimum NIOSII system, internal memory. I get this error:

nios2-elf-g++.exe: error: missing argument to '-msys-lib='

Perhaps some missing semicolon in the parameter of the linker call for " -msys-lib=" ?

In the console , the nios2-elf-g++.exe call looks like :

nios2-elf-g++.exe -'C:/Users/acer/Documents/mpython/hard/fpga/hello_world/SOFTWARE/sopc_hello_world_bsp/linker.x' -msys-crt0='C:/Users/acer/Documents/mpython/hard/fpga/hello_world/SOFTWARE/sopc_hello_world_bsp/obj/HAL/src/crt0.o' -msys-lib= -LC:/Users/acer/Documents/mpython/hard/fpga/hello_world/SOFTWARE/sopc_hello_world_bsp -msmallc -Wl,-Map=sopc_hello_world.map -Os -g -Wall -mno-hw-div -mhw-mul -mno-hw-mulx -mgpopt=global -o sopc_hello_world.elf obj/default/hello_world_small.o -lm -msys-lib=m

Using EDS & Quartus 17.1 works perfectly, without linking error.

Somebody know how to fix it ?

thank you

11 Replies