v0.64.58.2 - New Linux Make Error
Commodore 64, Atari XL/XE and NES debugger that works in real time.
Brought to you by:
slajerek
Make is having problem on Linux after the newest commit. This is after running make clean:
/usr/bin/ld: Games/c64/Emulators/atari800/cpu.o:(.bss+0x1a): multiple definition of CPU_regPC'; Games/c64/Emulators/atari800/AtariInterface/AtariWrapper.o:(.bss+0x18): first defined here
/usr/bin/ld: Games/c64/Emulators/vice/arch/ui.o:(.bss+0x0): multiple definition of
c64d_is_cpu_in_jam_state'; Games/c64/Emulators/atari800/esc.o:(.bss+0x0): first defined here
collect2: error: ld returned 1 exit status
The first mutiple definition is easily fixed. The second has me more perplexed, as I'm not sure if it really is supposed to be the same variable.
0.64.58.4 appears to still have the same issue:
This may be related to gcc version. Which gcc version you are using? This compiles for me.
Note, both are the same variable so in your case you can probably remove one of them. Not sure why this does not compile now, I'll check sometime soon. I think that I fixed similar problem with newest C++17 in RetroDebugger.