Unable to compile on latest Raspbian
Posted: Wed 25 May, 2022 11:40 am
I installed all dependencies as far as I know.
I downloaded the v17 .tar.gz source file and unzip.
I ran ./configure and then make
I get a few hundred messages like this:
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0x0): multiple definition of `keybsenddelay'; pcem-386.o:(.bss+0x978): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0x8): multiple definition of `hdc'; pcem-386.o:(.bss+0x980): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xb0): multiple definition of `speakon'; pcem-386.o:(.bss+0xa28): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xb4): multiple definition of `speakval'; pcem-386.o:(.bss+0xa2c): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xb8): multiple definition of `gated'; pcem-386.o:(.bss+0xa30): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xbc): multiple definition of `ppispeakon'; pcem-386.o:(.bss+0xa34): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xc0): multiple definition of `readflash'; pcem-386.o:(.bss+0xa38): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xc4): multiple definition of `cpuspeed'; pcem-386.o:(.bss+0xa3c): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xc8): multiple definition of `gfxcard'; pcem-386.o:(.bss+0xa40): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xcc): multiple definition of `romset'; pcem-386.o:(.bss+0xa44): first defined here
and then hundreds of lines of this:
386_dynarec.c:(.text+0x1ddc): undefined reference to `x87_timings'
/usr/bin/ld: 386_dynarec.c:(.text+0x1e1c): undefined reference to `x87_timings'
/usr/bin/ld: pcem-386_dynarec.o: in function `opFSUB':
386_dynarec.c:(.text+0x1e8c): undefined reference to `x87_timings'
/usr/bin/ld: 386_dynarec.c:(.text+0x1ecc): undefined reference to `x87_timings'
/usr/bin/ld: pcem-386_dynarec.o: in function `opFCOMP':
386_dynarec.c:(.text+0x1f8c): undefined reference to `x87_timings'
/usr/bin/ld: pcem-386_dynarec.o:386_dynarec.c:(.text+0x1f9c): more undefined references to `x87_timings' follow
/usr/bin/ld: pcem-cpu.o: in function `cpu_set':
cpu.c:(.text+0x1974): undefined reference to `x87_timings_8087'
/usr/bin/ld: cpu.c:(.text+0x197c): undefined reference to `x87_timings'
/usr/bin/ld: cpu.c:(.text+0x1980): undefined reference to `x87_timings_8087'
/usr/bin/ld: cpu.c:(.text+0x19a8): undefined reference to `x87_timings'
/usr/bin/ld: cpu.c:(.text+0x19ac): undefined reference to `x87_timings_387'
/usr/bin/ld: cpu.c:(.text+0x19b4): undefined reference to `x87_timings_387'
It's latest Raspberry OS build.
Any idea what might be going on?
I downloaded the v17 .tar.gz source file and unzip.
I ran ./configure and then make
I get a few hundred messages like this:
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0x0): multiple definition of `keybsenddelay'; pcem-386.o:(.bss+0x978): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0x8): multiple definition of `hdc'; pcem-386.o:(.bss+0x980): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xb0): multiple definition of `speakon'; pcem-386.o:(.bss+0xa28): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xb4): multiple definition of `speakval'; pcem-386.o:(.bss+0xa2c): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xb8): multiple definition of `gated'; pcem-386.o:(.bss+0xa30): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xbc): multiple definition of `ppispeakon'; pcem-386.o:(.bss+0xa34): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xc0): multiple definition of `readflash'; pcem-386.o:(.bss+0xa38): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xc4): multiple definition of `cpuspeed'; pcem-386.o:(.bss+0xa3c): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xc8): multiple definition of `gfxcard'; pcem-386.o:(.bss+0xa40): first defined here
/usr/bin/ld: pcem-wx-config_sel.o:(.bss+0xcc): multiple definition of `romset'; pcem-386.o:(.bss+0xa44): first defined here
and then hundreds of lines of this:
386_dynarec.c:(.text+0x1ddc): undefined reference to `x87_timings'
/usr/bin/ld: 386_dynarec.c:(.text+0x1e1c): undefined reference to `x87_timings'
/usr/bin/ld: pcem-386_dynarec.o: in function `opFSUB':
386_dynarec.c:(.text+0x1e8c): undefined reference to `x87_timings'
/usr/bin/ld: 386_dynarec.c:(.text+0x1ecc): undefined reference to `x87_timings'
/usr/bin/ld: pcem-386_dynarec.o: in function `opFCOMP':
386_dynarec.c:(.text+0x1f8c): undefined reference to `x87_timings'
/usr/bin/ld: pcem-386_dynarec.o:386_dynarec.c:(.text+0x1f9c): more undefined references to `x87_timings' follow
/usr/bin/ld: pcem-cpu.o: in function `cpu_set':
cpu.c:(.text+0x1974): undefined reference to `x87_timings_8087'
/usr/bin/ld: cpu.c:(.text+0x197c): undefined reference to `x87_timings'
/usr/bin/ld: cpu.c:(.text+0x1980): undefined reference to `x87_timings_8087'
/usr/bin/ld: cpu.c:(.text+0x19a8): undefined reference to `x87_timings'
/usr/bin/ld: cpu.c:(.text+0x19ac): undefined reference to `x87_timings_387'
/usr/bin/ld: cpu.c:(.text+0x19b4): undefined reference to `x87_timings_387'
It's latest Raspberry OS build.
Any idea what might be going on?