Debido a un problema en el Intel® FPGA IP O-RAN, se producirán errores de ejemplo de diseño al utilizar Intel® Quartus® software Prime Edition versión 20.3, 20.4, 21.1 y 21.2 en una plataforma Windows.
[Compilación BSP completa]
Información: compilación /mnt/c/1/synthesis/compilation/ed_fw/c3_function.c a ivo/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 tio/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: error: /mnt/c/1/synthesis/compilation/ed_fw/c3_function.c: No existe dicho archivo o directorio
nios2-elf-gcc.exe: error fatal: no hay archivos de entrada
compilación terminada.
Makefile:732: error en la fórmula del objetivo 'ivo/default//mnt/c/1/synthesis/compilation/ed_fw/c3_function.o'
hacer: ... [ivo/default//mnt/c/1/synthesis/compilation/ed_fw/c3_function.o] Error 1
hacer: Salir del directorio '/mnt/c/1/synthesis/ip_components/software/aaa/app'
Para solucionar este problema, modifique makefile como se indica a continuación:
Reemplazar
#------------------------------------------------------------------------------
#
REGLAS DE PATRONES PARA CREAR OBJETOS
#------------------------------------------------------------------------------
define compile.c
Información @$(MEZZANINE): Compilación de $< a $ @
@$(MEZZANINE) $(@D)
$(CC) -MP -MMD -c $(APP_CPPFLAGS)
$(APP_CFLAGS) -o $@ $<
$(CC_POST_PROCESS)
enjunt
Con:
#------------------------------------------------------------------------------
#
REGLAS DE PATRONES PARA CREAR OBJETOS
#------------------------------------------------------------------------------
define compile.c
Información @$(MEZZANINE): Compilación de $< a $ @
@$(MEZZANINE) $(@D)
$(CC) -MP -MMD -c $(APP_CPPFLAGS)
$(APP_CFLAGS) -o "$(call adjust-path-mixed,$@)" "$(call adjust-path-mixed,$$(CC_POST_PROCESS)
enjunt
Este cambio pasará las rutas de Windows convertidos al comando nios2-elf-gcc.exe en lugar de las rutas de estilo wsl.
Este problema se corrige a partir de la Intel® Quartus® versión 21.4 del software Prime Pro Edition y Intel® Quartus® del software Prime Standard Edition versión 21.1.