Tu56
Tu56 copied to clipboard
Cannot build SimH with latest release of the PiDP11 software
The following error message may be displayed during the installation of the pidp11_dectape driver and the pidp11_magtape driver:
/usr/bin/ld: /tmp/ccquTRYK.o:(.bss+0x186c): multiple definition of `realcons_event_cpu_reset'; /tmp/ccxgWVqM.o:(.bss+0x68): first defined here collect2: error: ld returned 1 exit status make: *** [quickmake:122: ../bin-rpi/pdp11_realcons] Error 1
This is due to an inconsistence in the latest PiDP-11 software installed with sudo wget https://www3.ispnet.net/pidp11/pidp11.tar.gz
To fix this problem, line 723 in /opt/pidp11/src/02.3_simh/4.x+realcons/src/PDP11/pdp11_cpu.c needs to be changed from console_controller_event_func_t realcons_event_cpu_reset; to extern console_controller_event_func_t realcons_event_cpu_reset;