Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build fails on ODROID XU4 #87

Closed
drosenbauer opened this issue Jan 3, 2019 · 4 comments

Comments

Projects
None yet
3 participants
@drosenbauer
Copy link

commented Jan 3, 2019

Build logs below -

** BUILDING mupen64plus_libretro.so FOR PLATFORM odroid unix **
g++ -o mupen64plus_libretro.so ./GLideN64/src/Combiner.o ./GLideN64/src/CommonPluginAPI.o ./GLideN64/src/Config.o ./GLideN64/src/convert.o ./GLideN64/src/DepthBuffer.o ./GLideN64/src/F3D.o ./GLideN64/src/F3DDKR.o ./GLideN64/src/F3DEX.o ./GLideN64/src/F3DPD.o ./GLideN64/src/F3DGOLDEN.o ./GLideN64/src/F3DBETA.o ./GLideN64/src/F3DSETA.o ./GLideN64/src/F3DEX2.o ./GLideN64/src/F3DEX2MM.o ./GLideN64/src/F3DEX2CBFD.o ./GLideN64/src/FBOTextureFormats.o ./GLideN64/src/FrameBuffer.o ./GLideN64/src/FrameBufferInfo.o ./GLideN64/src/GBI.o ./GLideN64/src/gDP.o ./GLideN64/src/GLideN64.o ./GLideN64/src/gSP.o ./GLideN64/src/Keys.o ./GLideN64/src/L3D.o ./GLideN64/src/L3DEX2.o ./GLideN64/src/L3DEX.o ./GLideN64/src/N64.o ./GLideN64/src/OpenGL.o ./GLideN64/src/Performance.o ./GLideN64/src/RDP.o ./GLideN64/src/RSP.o ./GLideN64/src/S2DEX2.o ./GLideN64/src/S2DEX.o ./GLideN64/src/Turbo3D.o ./GLideN64/src/ZSort.o ./GLideN64/src/ShaderUtils.o ./GLideN64/src/SoftwareRender.o ./GLideN64/src/Textures.o ./GLideN64/src/TextDrawerStub.o ./GLideN64/src/TextureFilterHandler.o ./GLideN64/src/PostProcessor.o ./GLideN64/src/VI.o ./GLideN64/src/BufferCopy/ColorBufferToRDRAM.o ./GLideN64/src/BufferCopy/DepthBufferToRDRAM.o ./GLideN64/src/BufferCopy/RDRAMtoColorBuffer.o ./GLideN64/src/DepthBufferRender/ClipPolygon.o ./GLideN64/src/DepthBufferRender/DepthBufferRender.o ./GLideN64/src/GLUniforms/UniformSet.o ./GLideN64/src/common/CommonAPIImpl_common.o ./custom/GLideN64/MupenPlusPluginAPI.o ./custom/GLideN64/mupenplus/Config_mupenplus.o ./custom/GLideN64/mupenplus/OpenGL_mupenplus.o ./custom/GLideN64/mupenplus/CommonAPIImpl_mupenplus.o ./custom/glsm/glsm.o ./GLideN64/src/Log.o ./GLideN64/src/GLideNHQ/TextureFilters.o ./GLideN64/src/GLideNHQ/TextureFilters_2xsai.o ./GLideN64/src/GLideNHQ/TextureFilters_hq2x.o ./GLideN64/src/GLideNHQ/TextureFilters_hq4x.o ./GLideN64/src/GLideNHQ/TextureFilters_xbrz.o ./GLideN64/src/GLideNHQ/TxCache.o ./GLideN64/src/GLideNHQ/TxDbg.o ./GLideN64/src/GLideNHQ/TxFilter.o ./GLideN64/src/GLideNHQ/TxFilterExport.o ./GLideN64/src/GLideNHQ/TxHiResCache.o ./GLideN64/src/GLideNHQ/TxImage.o ./GLideN64/src/GLideNHQ/TxQuantize.o ./GLideN64/src/GLideNHQ/TxReSample.o ./GLideN64/src/GLideNHQ/TxTexCache.o ./GLideN64/src/GLideNHQ/TxUtil.o ./custom/GLideN64/CRC.o ./GLideN64/src/3DMath.o ./GLideN64/src/OGL3X/GLSLCombiner_ogl3x.o ./GLideN64/src/BufferCopy/ColorBufferToRDRAM_GL.o ./GLideN64/src/BufferCopy/ColorBufferToRDRAM_BufferStorageExt.o ./libretro-common/libco/libco.o ./xxHash/xxhash.o ./libretro-deps/libpng/png.o ./libretro-deps/libpng/pngerror.o ./libretro-deps/libpng/pngget.o ./libretro-deps/libpng/pngmem.o ./libretro-deps/libpng/pngpread.o ./libretro-deps/libpng/pngread.o ./libretro-deps/libpng/pngrio.o ./libretro-deps/libpng/pngrtran.o ./libretro-deps/libpng/pngrutil.o ./libretro-deps/libpng/pngset.o ./libretro-deps/libpng/pngtest.o ./libretro-deps/libpng/pngtrans.o ./libretro-deps/libpng/pngwio.o ./libretro-deps/libpng/pngwrite.o ./libretro-deps/libpng/pngwtran.o ./libretro-deps/libpng/pngwutil.o ./mupen64plus-rsp-hle/src/alist.o ./mupen64plus-rsp-hle/src/alist_audio.o ./mupen64plus-rsp-hle/src/alist_naudio.o ./mupen64plus-rsp-hle/src/alist_nead.o ./mupen64plus-rsp-hle/src/audio.o ./mupen64plus-rsp-hle/src/cicx105.o ./mupen64plus-rsp-hle/src/hle.o ./mupen64plus-rsp-hle/src/jpeg.o ./mupen64plus-rsp-hle/src/memory.o ./mupen64plus-rsp-hle/src/mp3.o ./mupen64plus-rsp-hle/src/musyx.o ./mupen64plus-rsp-hle/src/re2.o ./mupen64plus-rsp-hle/src/plugin.o ./custom/mupen64plus-rsp-cxd4/module.o ./mupen64plus-rsp-cxd4/su.o ./mupen64plus-rsp-cxd4/vu/add.o ./mupen64plus-rsp-cxd4/vu/divide.o ./mupen64plus-rsp-cxd4/vu/logical.o ./mupen64plus-rsp-cxd4/vu/multiply.o ./mupen64plus-rsp-cxd4/vu/select.o ./mupen64plus-rsp-cxd4/vu/vu.o ./mupen64plus-core/src/ai/ai_controller.o ./mupen64plus-core/src/api/callbacks.o ./custom/mupen64plus-core/api/config.o ./mupen64plus-core/src/api/debugger.o ./custom/mupen64plus-core/api/vidext_libretro.o ./custom/mupen64plus-core/main/main.o ./custom/mupen64plus-core/api/frontend_libretro.o ./mupen64plus-core/src/backends/audio_out_backend.o ./mupen64plus-core/src/backends/clock_backend.o ./mupen64plus-core/src/backends/controller_input_backend.o ./mupen64plus-core/src/backends/rumble_backend.o ./mupen64plus-core/src/backends/storage_backend.o ./mupen64plus-core/src/main/cheat.o ./mupen64plus-core/src/main/util.o ./mupen64plus-core/src/main/device.o ./mupen64plus-core/src/main/md5.o ./mupen64plus-core/src/main/profile.o ./mupen64plus-core/src/main/rom.o ./mupen64plus-core/src/main/savestates.o ./mupen64plus-core/src/main/storage_file.o ./mupen64plus-core/src/main/zip/zip.o ./mupen64plus-core/src/main/zip/unzip.o ./mupen64plus-core/src/main/zip/ioapi.o ./mupen64plus-core/src/memory/memory.o ./mupen64plus-core/src/pi/cart_rom.o ./mupen64plus-core/src/pi/flashram.o ./mupen64plus-core/src/pi/pi_controller.o ./mupen64plus-core/src/pi/sram.o ./mupen64plus-core/src/plugin/get_time_using_C_localtime.o ./mupen64plus-core/src/plugin/rumble_via_input_plugin.o ./custom/mupen64plus-core/plugin/plugin_libretro.o ./mupen64plus-core/src/plugin/dummy_video.o ./mupen64plus-core/src/plugin/dummy_audio.o ./mupen64plus-core/src/plugin/dummy_input.o ./mupen64plus-core/src/plugin/dummy_rsp.o ./mupen64plus-core/src/r4300/r4300.o ./mupen64plus-core/src/r4300/cached_interp.o ./mupen64plus-core/src/r4300/cp0.o ./mupen64plus-core/src/r4300/cp1.o ./mupen64plus-core/src/r4300/exception.o ./mupen64plus-core/src/r4300/instr_counters.o ./mupen64plus-core/src/r4300/interupt.o ./mupen64plus-core/src/r4300/mi_controller.o ./mupen64plus-core/src/r4300/pure_interp.o ./mupen64plus-core/src/r4300/r4300_core.o ./mupen64plus-core/src/r4300/recomp.o ./mupen64plus-core/src/r4300/reset.o ./mupen64plus-core/src/r4300/tlb.o ./mupen64plus-core/src/rdp/fb.o ./mupen64plus-core/src/rdp/rdp_core.o ./mupen64plus-core/src/ri/rdram.o ./mupen64plus-core/src/ri/rdram_detection_hack.o ./mupen64plus-core/src/ri/ri_controller.o ./mupen64plus-core/src/rsp/rsp_core.o ./mupen64plus-core/src/si/af_rtc.o ./mupen64plus-core/src/si/cic.o ./mupen64plus-core/src/si/eeprom.o ./mupen64plus-core/src/si/game_controller.o ./mupen64plus-core/src/si/mempak.o ./mupen64plus-core/src/si/n64_cic_nus_6105.o ./mupen64plus-core/src/si/pif.o ./mupen64plus-core/src/si/rumblepak.o ./mupen64plus-core/src/si/si_controller.o ./mupen64plus-core/src/vi/vi_controller.o ./GLideN64/src/osal/osal_files_unix.o ./mupen64plus-core/src/r4300/empty_dynarec.o ./libretro/libretro.o ./custom/mupen64plus-core/plugin/emulate_game_controller_via_libretro.o ./libretro-common/memmap/memalign.o ./custom/mupen64plus-core/plugin/audio_libretro/audio_backend_libretro.o ./libretro-common/audio/resampler/audio_resampler.o ./libretro-common/audio/resampler/drivers/sinc_resampler.o ./libretro-common/audio/resampler/drivers/nearest_resampler.o ./libretro-common/audio/resampler/drivers/null_resampler.o ./libretro-common/file/config_file.o ./libretro-common/file/config_file_userdata.o ./libretro-common/file/file_path.o ./libretro-common/hash/rhash.o ./libretro-common/compat/compat_strl.o ./libretro-common/compat/compat_posix_string.o ./libretro-common/compat/compat_strcasestr.o ./libretro-common/audio/conversion/float_to_s16.o ./libretro-common/audio/conversion/s16_to_float.o ./libretro-common/features/features_cpu.o ./libretro-common/file/retro_stat.o ./libretro-common/lists/string_list.o ./libretro-common/string/stdstring.o ./libretro-common/streams/file_stream.o ./libretro-common/glsym/glsym_gl.o ./libretro-common/glsym/rglgen.o   -shared -Wl,--version-script=./libretro/link.T -Wl,--no-undefined -lpthread -fPIC -O2 -lz -lGL
./libretro-common/audio/resampler/drivers/sinc_resampler.o: In function `process_sinc_neon':
sinc_resampler.c:(.text+0x218): undefined reference to `process_sinc_neon_asm'
./libretro-common/audio/conversion/float_to_s16.o: In function `convert_float_to_s16_neon':
float_to_s16.c:(.text+0xa0): undefined reference to `convert_float_s16_asm'
./libretro-common/audio/conversion/s16_to_float.o: In function `convert_s16_to_float_neon':
s16_to_float.c:(.text+0x196): undefined reference to `convert_s16_float_asm'
collect2: error: ld returned 1 exit status
Makefile:393: recipe for target 'mupen64plus_libretro.so' failed
make: *** [mupen64plus_libretro.so] Error 1
Removing additional swap
~/RetroPie-Setup
Could not successfully build lr-mupen64plus - N64 emu - Mupen64Plus + GLideN64 for libretro (/home/pi/RetroPie-Setup/tmp/build/lr-mupen64plus/mupen64plus_libretro.so not found).
@m4xw

This comment has been minimized.

Copy link
Collaborator

commented Jan 7, 2019

Is this a aarch64 or aarch32 build?

@drosenbauer

This comment has been minimized.

Copy link
Author

commented Jan 7, 2019

@m4xw

It should be aarch32.

Here are some details about the hardware: https://archlinuxarm.org/platforms/armv7/samsung/odroid-xu4

I should also note this (presumably) identical issue over here: libretro/parallel-n64#544

@m4xw

This comment has been minimized.

Copy link
Collaborator

commented Jan 7, 2019

Looks to me like u miss a NEON define

@bullghost

This comment has been minimized.

Copy link

commented Jan 7, 2019

@m4xw

It should be aarch32.

Here are some details about the hardware: https://archlinuxarm.org/platforms/armv7/samsung/odroid-xu4

I should also note this (presumably) identical issue over here: libretro/parallel-n64#544

i have compile witht that issue try this
git clone https://github.com/libretro/mupen64plus-libretro.git
then go to line 81 it write down # Linux
remove that block , until else if # Raspberry Pi
then remove the else from Raspberry Pi block became like this
Raspberry Pi
ifneq (,$(findstring rpi,$(platform)))

on odroid block
ODROIDs
else ifneq (,$(findstring odroid,$(platform)))
this block " else ifneq (,$(findstring ODROID-XU3,$(BOARD)))"
rename XU3 to XU4

done ,
then type this to compile
make platform="unix odroid"

i do that work fine
why i remove linux ? because its always caught odroid as linux at the first time, in my case.
and second in odroid block it will enter the else condition which is for ODROID-U2, -U3, -X & -X2

hope it help

@m4xw m4xw closed this Feb 6, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.