1541ultimate icon indicating copy to clipboard operation
1541ultimate copied to clipboard

Error compiling...

Open Zibri opened this issue 1 year ago • 6 comments

Compiling bootloader.c
Compiling ddr2_calibrator.c
Compiling small_printf.cc
Compiling itu.c
Linking using GCC...
nios2-elf-g++ -Wl,-Map=output/secondary.map,--gc-sections -msys-crt0=../../../../software/nios_solo_bsp/obj/HAL/src/crt0.o -T'../../../../software/nios_solo_bsp/linker.x' -g -ffunction-sections -Os -Wno-write-strings -mno-hw-div -mno-hw-mul -mno-hw-mulx -DRECOVERY=0 -o output/secondary.out output/bootloader.o output/ddr2_calibrator.o output/small_printf.o output/itu.o  ../../../../software/nios_solo_bsp/libhal_bsp.a
   text    data     bss     dec     hex filename
   1900       0      16    1916     77c output/secondary.out
Creating Hex File for On Chip Memory result/secondary.hex
Providing ELF.
cp result/secondary.hex ../../../fpga/u2plus_run/onchip_mem.hex
Making all requires output, result and result/secondary.hex result/secondary.elf ../../../fpga/u2plus_run/onchip_mem.hex
make[1]: Leaving directory '/home/runner/1541-Ultimate-Firmware/1541ultimate/target/u2plus/nios/boot_run'
make[1]: Entering directory '/home/runner/1541-Ultimate-Firmware/1541ultimate/target/fpga/u2plus_recovery'
QSH FLOW - COMPILE ultimate_recovery
make[1]: *** [makefile:22: ultimate_recovery.qflow] Error 3
make[1]: Leaving directory '/home/runner/1541-Ultimate-Firmware/1541ultimate/target/fpga/u2plus_recovery'
make: *** [Makefile:86: u2plus] Error 2

commit c6cbcafa compiles ok. after that they all give this error... whatever the bug is, it was introduced in commit cc24c9e2

Zibri avatar Feb 21 '24 06:02 Zibri

Checking the logs, this is the culprit:

Error (10482): VHDL error at ultimate_logic_32.vhd(1302): object "g_wifi_uart" is used but not declared File: /home/runner/1541-Ultimate-Firmware/1541ultimate/fpga/fpga_top/ultimate_fpga/vhdl_source/ultimate_logic_32.vhd Line: 1302

Zibri avatar Feb 21 '24 06:02 Zibri

I know... it's not yet consistent... I'll fix it shortly.

GideonZ avatar Feb 21 '24 06:02 GideonZ

No prob.. just checking... please allow me to access the facebook group. After all I bought the device and made a lot of people buy it too. Come on.

Zibri avatar Feb 27 '24 06:02 Zibri

Whether you bought it or not is not relevant for Facebook access, compliance to group regulations is.

GideonZ avatar Feb 28 '24 07:02 GideonZ

I did nothing "not compliant". If someone got offended I even apologized for expressing my self not clearly. My only purpose is to help development, not to judge anyone. Please allow me to access the grioup.. even facebook jail lasts a few days or a month at worse and it's an year now.

Zibri avatar Feb 28 '24 15:02 Zibri

Is the git master supposed to compile?

I just get:

Compiling http_protocol.c Compiling middleware.c Compiling multipart.c make[1]: *** No rule to make target cmd_buffer.o', needed by output/ultimate.out'. Stop. make[1]: Leaving directory `/tmp/1541u2/target/u2plus_L/riscv/ultimate' make: *** [u2plfast] Error 2

which is no surprise since /target/u2plus_L/riscv/ultimate/Makefile contains:

VPATH += $(PATH_SW)/wifi/raw_c3/main

Well, "wifi"does not contain a direcory "raw_c3" and therefore it cannot find all wifi related files.

markusC64 avatar Mar 05 '24 16:03 markusC64