Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
132 Views

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

0 Kudos
3 Replies
Highlighted
34 Views

Re: EDS on Quartus 19.1 on Windows , linker error

Hi, Juan

 

Do you mean the same design, it works in Quartus 17.1, but it failed in Quartus 19.1 ?

 

Thanks.

 

Eric

0 Kudos
Highlighted
Beginner
34 Views

Re: EDS on Quartus 19.1 on Windows , linker error

Hello Eric:

 

Yes, works on Quartus 17.1 but failed on Quartus 19.1 , i forgot to say both are LITE Edition.

 

0 Kudos
Highlighted
Beginner
34 Views

Re: EDS on Quartus 19.1 on Windows , linker error

I had the same problem by upgrate a projekt from quartus18.1 to 20.1.

It is a MAX 10 project with the standard edition.

Correct is -msys-lib=hal_bsp

I have changed in make file

APP_LDFLAGS += -msys-lib=$(call adjust-path-mixed,$(SYS_LIB))

to

APP_LDFLAGS += -msys-lib=$(SYS_LIB)

Than it works fine.

Please change only this line.

0 Kudos