Knowledge Base Article
Why does building the Nios® V software project fail in the network server that implements UNC paths?
Description
Due to a software problem in Ashling RiscFree IDE for Quartus® Prime Pro Edition Software version 24.1 in dealing with the UNC path, you might see the below errors:
../riscv32-unknown-elf/bin/ld.exe: cannot find -lc: Invalid argument
../riscv32-unknown-elf/bin/ld.exe: cannot find -lstdc++: Invalid argument
../riscv32-unknown-elf/bin/ld.exe: cannot find -lgcc: Invalid argument
../riscv32-unknown-elf/bin/ld.exe: cannot find -lm: Invalid argument
collect2.exe: error: ld returned 1 exit status
UNC path is used to access network resources and must be in the format specified by the Universal Naming Convention.
Resolution
Workaround:
A patch is available to fix this problem for the Ashling RiscFree IDE for Quartus® Prime Pro Edition Software version 24.1. Download and install Patch 0.01rf from the attached zip file.
Zip file content:
- Patch 0.01rf for Ashling RiscFree 24.1 for Windows (.exe)
- Readme for Patch 0.01rf for Ashling RiscFree 24.1 for Windows (.txt)
Related Information:
File path formats on Windows systems - .NET | Microsoft Learn
For more information on the difference between traditional DOS and UNC paths in Windows systems.