Aufgrund eines Problems in der O-RAN-Intel® FPGA IP treten beim Einsatz der Intel® Quartus® Prime Edition Software Version 20.3, 20.4, 21.1 und 21.2 auf einer Windows-Plattform Fehler auf.
[BSP Build abgeschlossen]
Info: Compiling /mnt/c/1/synthesis/compilation/ed_fw/c3_function.c to obj/default/mnt/c/1/synthesis/compilation/ed_fw/c3_function.o
nios2-elf-gcc.exe -xc -MP -MMD -c -Ic:/1/synthesis/ip_components/software/aaa/bsp/HAL/inc -Ic:/1/synthesis/ip_components/software/aaa/bsp -Ic:/1/synthesis/ip_components/software/aaa/bsp/drivers/inc -pipe -D__hal__ -DALT_NO_INSTRUCTION_EMULATION DALT_SINGLE_THREADED -O0 -g -Wall -Wformat-security -mno-hw-div -mhw-mul -mno-hw-mulx -mgpopt=global -o obj/default/mnt/c/1/synthesis/compilation/ed_fw/c3_function.o /mnt/c/1/synthesis/compilation/ed_fw/c3_function.c
nios2-elf-gcc.exe: Fehler: /mnt/c/1/synthesis/compilation/ed_fw/c3_function.c: Keine solche Datei oder dieses Verzeichnis
nios2-elf-gcc.exe: schwerwiegender Fehler: keine Eingabedateien
Kompilierung beendet.
Makefile:732: Rezept für "obj/default/mnt/c/1/synthesis/compilation/ed_fw/c3_function.o" fehlgeschlagen
make: ** [obj/default//mnt/c/1/synthesis/compilation/ed_fw/c3_function.o] Fehler 1
machen: Verlassen des Verzeichnisses "/mnt/c/1/synthesis/ip_components/software/aaa/app"
Um dieses Problem zu umgehen, ändern Sie Makefile wie unten:
Ersetzen
#------------------------------------------------------------------------------
#
MUSTERREGELN ZUM ERSTELLEN VON OBJEKTEN
#------------------------------------------------------------------------------
Kompilierung definieren
@$(ECHO) Info: Kompilierung von < $ zu $ @
@$(@D) $(@D)
$(CC) -MP -MMD -c $(APP_CPPFLAGS)
$(APP_CFLAGS) – o $ @ $ <
$(CC_POST_PROCESS)
Endef
Mit:
#------------------------------------------------------------------------------
#
MUSTERREGELN ZUM ERSTELLEN VON OBJEKTEN
#------------------------------------------------------------------------------
Kompilierung definieren
@$(ECHO) Info: Kompilierung von < $ zu $ @
@$(@D) $(@D)
$(CC) -MP -MMD -c $(APP_CPPFLAGS)
$(APP_CFLAGS) -o "$(call adjust-path-mixed,$@)" "$(call adjust-path-mixed,$$(CC_POST_PROCESS)
Endef
Diese Änderung übergibt konvertierte Windows-Pfade an den Befehl nios2-elf-gcc.exe anstelle von WSL-Style-Pfaden.
Dieses Problem wird ab der Intel® Quartus® Prime Pro Edition Software Version 21.4 und Intel® Quartus® Prime Standard Edition Software Version 21.1 behoben.