libretro / bsnes-mercury

Fork of bsnes with various performance improvements.
GNU General Public License v3.0
47 stars 39 forks source link

Doesn't build with PROFILE=balanced #89

Open alice-mkh opened 3 years ago

alice-mkh commented 3 years ago
alexm@lenovo-thinkpad-x1-yoga ~/bsnes-mercury> make PROFILE=balanced
g++ -o bsnes_mercury_balanced_libretro.so processor/arm/arm.o processor/gsu/gsu.o processor/hg51b/hg51b.o processor/lr35902/lr35902.o processor/r65816/r65816.o processor/spc700/spc700.o processor/upd96050/upd96050.o gb/interface/interface.o gb/system/system.o gb/scheduler/scheduler.o gb/memory/memory.o gb/cartridge/cartridge.o gb/cpu/cpu.o gb/ppu/ppu.o gb/apu/apu.o gb/cheat/cheat.o gb/video/video.o sfc/interface/interface.o sfc/base/satellaview/satellaview.o sfc/system/system.o sfc/controller/controller.o sfc/cartridge/cartridge.o sfc/cheat/cheat.o sfc/memory/memory.o sfc/chip/icd2/icd2.o sfc/chip/bsx/bsx.o sfc/chip/nss/nss.o sfc/chip/event/event.o sfc/chip/sa1/sa1.o sfc/chip/superfx/superfx.o sfc/chip/armdsp/armdsp.o sfc/chip/hitachidsp/hitachidsp.o sfc/chip/necdsp/necdsp.o sfc/chip/epsonrtc/epsonrtc.o sfc/chip/sharprtc/sharprtc.o sfc/chip/spc7110/spc7110.o sfc/chip/sdd1/sdd1.o sfc/chip/obc1/obc1.o sfc/chip/hsu1/hsu1.o sfc/chip/msu1/msu1.o sfc/slot/satellaview/satellaview.o sfc/slot/sufamiturbo/sufamiturbo.o sfc/chip/dsp1/dsp1.o sfc/chip/dsp2/dsp2.o sfc/chip/dsp3/dsp3.o sfc/chip/dsp4/dsp4.o sfc/chip/cx4/cx4.o sfc/chip/st0010/st0010.o sfc/chip/sgb-external/sgb-external.o target-libretro/libretro.o sfc/cpu/cpu.o sfc/smp/smp.o sfc/alt/dsp/dsp.o sfc/alt/ppu-balanced/ppu.o libco/libco.o -ldl -fPIC -shared -Wl,--no-undefined -Wl,--version-script=target-libretro/link.T 
/bin/ld: sfc/system/system.o: in function `SuperFamicom::Video::draw_cursor(unsigned short, int, int)':
system.cpp:(.text+0x32b): undefined reference to `SuperFamicom::PPU::interlace() const'
/bin/ld: sfc/system/system.o: in function `SuperFamicom::Video::update()':
system.cpp:(.text+0x508): undefined reference to `SuperFamicom::PPU::interlace() const'
/bin/ld: system.cpp:(.text+0x573): undefined reference to `SuperFamicom::PPU::interlace() const'
/bin/ld: system.cpp:(.text+0x583): undefined reference to `SuperFamicom::PPU::interlace() const'
/bin/ld: system.cpp:(.text+0x596): undefined reference to `SuperFamicom::PPU::overscan() const'
/bin/ld: sfc/system/system.o: in function `SuperFamicom::Video::scanline()':
system.cpp:(.text+0x6b8): undefined reference to `SuperFamicom::PPU::hires() const'
/bin/ld: system.cpp:(.text+0x6c3): undefined reference to `SuperFamicom::PPU::hires() const'
/bin/ld: sfc/controller/controller.o: in function `SuperFamicom::SuperScope::data()':
controller.cpp:(.text+0x800): undefined reference to `SuperFamicom::PPU::overscan() const'
/bin/ld: sfc/controller/controller.o: in function `SuperFamicom::SuperScope::enter()':
controller.cpp:(.text+0x1528): undefined reference to `SuperFamicom::PPU::overscan() const'
/bin/ld: sfc/controller/controller.o: in function `SuperFamicom::Justifier::enter()':
controller.cpp:(.text+0x16c0): undefined reference to `SuperFamicom::PPU::overscan() const'
/bin/ld: target-libretro/libretro.o: in function `get_system_av_info(retro_system_av_info*)':
libretro.cpp:(.text+0x14f1): undefined reference to `SuperFamicom::PPU::overscan() const'
/bin/ld: target-libretro/libretro.o: in function `Callbacks::videoRefresh(unsigned int const*, unsigned int const*, unsigned int, unsigned int, unsigned int)':
libretro.cpp:(.text._ZN9Callbacks12videoRefreshEPKjS1_jjj[_ZN9Callbacks12videoRefreshEPKjS1_jjj]+0x185): undefined reference to `SuperFamicom::PPU::overscan() const'
collect2: error: ld returned 1 exit status
make: *** [Makefile:555: bsnes_mercury_balanced_libretro.so] Error 1

This is a fallout from 1c9af04394f8a65a519e3daca49825914628204b.

Fedora 34, x86_64.