Could not successfully build lr-genesis-plus-gx
-
Hi All,
First time post here. Been using Retropie for the longest time and never had an issue until now. I'm currently running Ubuntu 16.04 64-bit. Saw that Retropie 4.3 came out and decided to upgrade. At the end of the upgrade, I received an error that read:
Could not successfully build lr-genesis-plus-gx - Sega 8/16 bit emu - Genesis Plus (enhanced) port for libretro (/home/mhabek/RetroPie-Setup/tmp/build/lr-genesis-plus-gx/genesis_plus_gx_libretro.so not found).
I decided to reinstall Ubuntu and Retropie fresh, but even after doing that I still receive the same error. I'm including the tail end of the log file below. It contained some errors referenced in the source code itself. Thanks for the help!
*cc -o genesis_plus_gx_libretro.so -fPIC ./core/cd_hw/libchdr/src/bitstream.o ./core/cd_hw/libchdr/src/cdrom.o ./core/cd_hw/libchdr/src/chd.o ./core/cd_hw/libchdr/src/flac.o ./core/cd_hw/libchdr/src/huffman.o ./core/cd_hw/libchdr/deps/libFLAC/bitmath.o ./core/cd_hw/libchdr/deps/libFLAC/bitreader.o ./core/cd_hw/libchdr/deps/libFLAC/cpu.o ./core/cd_hw/libchdr/deps/libFLAC/crc.o ./core/cd_hw/libchdr/deps/libFLAC/fixed.o ./core/cd_hw/libchdr/deps/libFLAC/float.o ./core/cd_hw/libchdr/deps/libFLAC/format.o ./core/cd_hw/libchdr/deps/libFLAC/lpc.o ./core/cd_hw/libchdr/deps/libFLAC/lpc_intrin_avx2.o ./core/cd_hw/libchdr/deps/libFLAC/lpc_intrin_sse.o ./core/cd_hw/libchdr/deps/libFLAC/lpc_intrin_sse2.o ./core/cd_hw/libchdr/deps/libFLAC/lpc_intrin_sse41.o ./core/cd_hw/libchdr/deps/libFLAC/md5.o ./core/cd_hw/libchdr/deps/libFLAC/memory.o ./core/cd_hw/libchdr/deps/libFLAC/stream_decoder.o ./core/cd_hw/libchdr/deps/lzma/LzFind.o ./core/cd_hw/libchdr/deps/lzma/LzmaDec.o ./core/cd_hw/libchdr/deps/lzma/LzmaEnc.o ./core/system.o ./core/genesis.o ./core/loadrom.o ./core/io_ctrl.o ./core/vdp_render.o ./core/state.o ./core/mem68k.o ./core/membnk.o ./core/memz80.o ./core/vdp_ctrl.o ./core/z80/z80.o ./core/m68k/m68kcpu.o ./core/m68k/s68kcpu.o ./core/ntsc/sms_ntsc.o ./core/ntsc/md_ntsc.o ./core/sound/psg.o ./core/sound/blip_buf.o ./core/sound/ym2612.o ./core/sound/eq.o ./core/sound/ym2413.o ./core/sound/sound.o ./core/sound/ym3438.o ./core/input_hw/graphic_board.o ./core/input_hw/terebi_oekaki.o ./core/input_hw/xe_1ap.o ./core/input_hw/gamepad.o ./core/input_hw/mouse.o ./core/input_hw/lightgun.o ./core/input_hw/sportspad.o ./core/input_hw/teamplayer.o ./core/input_hw/input.o ./core/input_hw/paddle.o ./core/input_hw/activator.o ./core/cd_hw/cd_cart.o ./core/cd_hw/pcm.o ./core/cd_hw/cdd.o ./core/cd_hw/cdc.o ./core/cd_hw/scd.o ./core/cd_hw/gfx.o ./core/cart_hw/eeprom_93c.o ./core/cart_hw/areplay.o ./core/cart_hw/ggenie.o ./core/cart_hw/eeprom_i2c.o ./core/cart_hw/sms_cart.o ./core/cart_hw/eeprom_spi.o ./core/cart_hw/md_cart.o ./core/cart_hw/sram.o ./core/cart_hw/svp/ssp16.o ./core/cart_hw/svp/svp.o ./libretro/libretro-common/streams/file_stream.o ./libretro/libretro-common/streams/file_stream_transforms.o ./core/cd_hw/libchdr/deps/zlib/adler32.o ./core/cd_hw/libchdr/deps/zlib/inffast.o ./core/cd_hw/libchdr/deps/zlib/inflate.o ./core/cd_hw/libchdr/deps/zlib/inftrees.o ./core/cd_hw/libchdr/deps/zlib/zutil.o ./core/tremor/mdct.o ./core/tremor/codebook.o ./core/tremor/mapping0.o ./core/tremor/vorbisfile.o ./core/tremor/registry.o ./core/tremor/info.o ./core/tremor/res012.o ./core/tremor/framing.o ./core/tremor/block.o ./core/tremor/sharedbook.o ./core/tremor/window.o ./core/tremor/synthesis.o ./core/tremor/bitwise.o ./core/tremor/floor1.o ./core/tremor/floor0.o ./libretro/libretro.o ./libretro/scrc32.o -lm -shared -Wl,--version-script=./libretro/link.T -Wl,--no-undefined -lm
./core/sound/sound.o: In functionYM3438_Update': sound.c:(.text+0x7c): undefined reference to
OPN2_Clock'
./core/sound/sound.o: In functionYM3438_Read': sound.c:(.text+0x10e): undefined reference to
OPN2_Read'
./core/sound/sound.o: In functionYM3438_Reset': sound.c:(.text+0x8): undefined reference to
OPN2_Reset'
./core/sound/sound.o: In functionYM3438_Write': sound.c:(.text+0xee): undefined reference to
OPN2_Write'
./libretro/libretro.o: In functioncheck_variables': libretro.c:(.text+0x100a): undefined reference to
OPN2_SetChipType'
libretro.c:(.text+0x11b2): undefined reference toOPN2_SetChipType' libretro.c:(.text+0x11cf): undefined reference to
OPN2_SetChipType'
collect2: error: ld returned 1 exit status
Makefile.libretro:484: recipe for target 'genesis_plus_gx_libretro.so' failed
make: *** [genesis_plus_gx_libretro.so] Error 1
~/RetroPie-Setup
Could not successfully build lr-genesis-plus-gx - Sega 8/16 bit emu - Genesis Plus (enhanced) port for libretro (/home/mhabek/RetroPie-Setup/tmp/build/lr-genesis-plus-gx/genesis_plus_gx_libretro.so not found).Log ended at: Tue Oct 10 13:56:41 EDT 2017
Total running time: 0 hours, 0 mins, 13 secs* -
@mcsugs said in Could not successfully build lr-genesis-plus-gx:
lr-genesis-plus-gx
Seems to be an upstream problem introduced by a recent commit https://github.com/libretro/Genesis-Plus-GX/commit/5454ba36dba5e8769d17047fec83695d2e7610f7.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.