notaz / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
384 stars 207 forks source link

Error when building #251

Closed ssj4maiko closed 2 years ago

ssj4maiko commented 2 years ago

From the logs. I have tried to update everything that I could find, hence I understand if it could be related to the Bullseye update, or maybe something that went unnoticed by me, but since I'm aware that sometimes there could be some small bug going unnoticed on commits, I decided to report.

I'm pasting the start (with the general system info) and the end (with the errors)

RetroPie-Setup version: 4.8.1 (b2012749)
System: rpi4 (armv7l) - Raspbian GNU/Linux 11 (bullseye) - Linux Retropie 5.15.32-v7l+ #1538 SMP Thu Mar 31 19:39:41 BST 2022 armv7l GNU/Linux

= = = = = = = = = = = = = = = = = = = = =
Installing dependencies for 'lr-pcsx-rearmed' : Playstation emulator - PCSX (arm optimised) port for libretro
= = = = = = = = = = = = = = = = = = = = =

/home/pi/RetroPie-Setup/tmp/build/lr-pcsx-rearmed /home/pi

= = = = = = = = = = = = = = = = = = = = =
Getting sources for 'lr-pcsx-rearmed' : Playstation emulator - PCSX (arm optimised) port for libretro
= = = = = = = = = = = = = = = = = = = = =

Already on 'master'
Your branch is up to date with 'origin/master'.
Already up to date.
HEAD is now in branch 'master' at commit '9723f27f9d28d90c8f54a9cd9e7203a87cc41b29'
/home/pi
/home/pi/RetroPie-Setup/tmp/build/lr-pcsx-rearmed /home/pi

= = = = = = = = = = = = = = = = = = = = =
Building 'lr-pcsx-rearmed' : Playstation emulator - PCSX (arm optimised) port for libretro
= = = = = = = = = = = = = = = = = = = = =

// (Tons of lines here)

cc  -mcpu=cortex-a72  -mfpu=neon-fp-armv8 -O2 -DGIT_VERSION=\"" 9723f27"\" -marm -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -DLIGHTREC_CUSTOM_MAP=1 -Ideps/libchdr/deps/zlib-1.2.11 -DGPU_NEON -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o frontend/cspace.o frontend/cspace.c
cc  -mcpu=cortex-a72  -mfpu=neon-fp-armv8 -O2 -DGIT_VERSION=\"" 9723f27"\" -marm -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -DLIGHTREC_CUSTOM_MAP=1 -Ideps/libchdr/deps/zlib-1.2.11 -DGPU_NEON -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c frontend/cspace_neon.S -o frontend/cspace_neon.o
cc  -mcpu=cortex-a72  -mfpu=neon-fp-armv8 -O2 -DGIT_VERSION=\"" 9723f27"\" -marm -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -DLIGHTREC_CUSTOM_MAP=1 -Ideps/libchdr/deps/zlib-1.2.11 -DGPU_NEON -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o frontend/plugin.o frontend/plugin.c
cc  -mcpu=cortex-a72  -mfpu=neon-fp-armv8 -O2 -DGIT_VERSION=\"" 9723f27"\" -marm -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -DLIGHTREC_CUSTOM_MAP=1 -Ideps/libchdr/deps/zlib-1.2.11 -DGPU_NEON -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o frontend/libretro.o frontend/libretro.c
cc  -mcpu=cortex-a72  -mfpu=neon-fp-armv8 -O2 -DGIT_VERSION=\"" 9723f27"\" -marm -fPIC -D_FILE_OFFSET_BITS=64 -Wall -Iinclude -ffast-math -O2 -DNDEBUG -DLIGHTREC_CUSTOM_MAP=1 -Ideps/libchdr/deps/zlib-1.2.11 -DGPU_NEON -Ideps/libchdr/include -Ideps/libchdr/include/libchdr -Ideps/libchdr/deps/lzma-19.00/include -DHAVE_CHD -D_7ZIP_ST -Ilibretro-common/include -DFRONTEND_SUPPORTS_RGB565 -DHAVE_LIBRETRO -DNO_FRONTEND -c -o frontend/main.o frontend/main.c
cc -o pcsx_rearmed_libretro.so libpcsxcore/cdriso.o libpcsxcore/cdrom.o libpcsxcore/cheat.o libpcsxcore/database.o libpcsxcore/decode_xa.o libpcsxcore/mdec.o libpcsxcore/misc.o libpcsxcore/plugins.o libpcsxcore/ppf.o libpcsxcore/psxbios.o libpcsxcore/psxcommon.o libpcsxcore/psxcounters.o libpcsxcore/psxdma.o libpcsxcore/psxhle.o libpcsxcore/psxhw.o libpcsxcore/psxinterpreter.o libpcsxcore/psxmem.o libpcsxcore/r3000a.o libpcsxcore/sio.o libpcsxcore/spu.o libpcsxcore/gte.o libpcsxcore/gte_nf.o libpcsxcore/gte_divider.o deps/libchdr/deps/zlib-1.2.11/adler32.o deps/libchdr/deps/zlib-1.2.11/compress.o deps/libchdr/deps/zlib-1.2.11/crc32.o deps/libchdr/deps/zlib-1.2.11/deflate.o deps/libchdr/deps/zlib-1.2.11/gzclose.o deps/libchdr/deps/zlib-1.2.11/gzlib.o deps/libchdr/deps/zlib-1.2.11/gzread.o deps/libchdr/deps/zlib-1.2.11/gzwrite.o deps/libchdr/deps/zlib-1.2.11/infback.o deps/libchdr/deps/zlib-1.2.11/inffast.o deps/libchdr/deps/zlib-1.2.11/inflate.o deps/libchdr/deps/zlib-1.2.11/inftrees.o deps/libchdr/deps/zlib-1.2.11/trees.o deps/libchdr/deps/zlib-1.2.11/uncompr.o deps/libchdr/deps/zlib-1.2.11/zutil.o libpcsxcore/gte_arm.o libpcsxcore/gte_neon.o libpcsxcore/new_dynarec/new_dynarec.o libpcsxcore/new_dynarec/pcsxmem.o libpcsxcore/new_dynarec/linkage_arm.o libpcsxcore/new_dynarec/emu_if.o plugins/dfsound/dma.o plugins/dfsound/freeze.o plugins/dfsound/registers.o plugins/dfsound/spu.o plugins/dfsound/out.o plugins/dfsound/nullsnd.o plugins/dfsound/arm_utils.o plugins/gpulib/gpu.o plugins/gpulib/vout_pl.o plugins/gpu_neon/psx_gpu_if.o plugins/gpu_neon/psx_gpu/psx_gpu_arm_neon.o plugins/cdrcimg/cdrcimg.o deps/libchdr/deps/lzma-19.00/src/Alloc.o deps/libchdr/deps/lzma-19.00/src/Bra86.o deps/libchdr/deps/lzma-19.00/src/BraIA64.o deps/libchdr/deps/lzma-19.00/src/CpuArch.o deps/libchdr/deps/lzma-19.00/src/Delta.o deps/libchdr/deps/lzma-19.00/src/LzFind.o deps/libchdr/deps/lzma-19.00/src/Lzma86Dec.o deps/libchdr/deps/lzma-19.00/src/LzmaDec.o deps/libchdr/deps/lzma-19.00/src/LzmaEnc.o deps/libchdr/deps/lzma-19.00/src/Sort.o deps/libchdr/src/libchdr_bitstream.o deps/libchdr/src/libchdr_cdrom.o deps/libchdr/src/libchdr_chd.o deps/libchdr/src/libchdr_flac.o deps/libchdr/src/libchdr_huffman.o frontend/cspace.o frontend/cspace_neon.o frontend/libretro.o frontend/main.o frontend/plugin.o -shared -Wl,--no-undefined -lm -lpthread -lm -ldl
/usr/bin/ld: libpcsxcore/psxmem.o: in function `psxMemShutdown':
psxmem.c:(.text+0x354): undefined reference to `lightrec_free_mmap'
/usr/bin/ld: libpcsxcore/psxmem.o: in function `psxMemInit':
psxmem.c:(.text+0x438): undefined reference to `lightrec_init_mmap'
collect2: error: ld returned 1 exit status
make: *** [Makefile:398: pcsx_rearmed_libretro.so] Error 1
Could not successfully build lr-pcsx-rearmed - Playstation emulator - PCSX (arm optimised) port for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-pcsx-rearmed/pcsx_rearmed_libretro.so not found).
/home/pi
notaz commented 2 years ago

PCSX (arm optimised) port for libretro

Should have been posted to https://github.com/libretro/pcsx_rearmed but whatever.

ssj4maiko commented 2 years ago

oh, I apologize, I didn't notice the difference, this came first in my search. =/