libretro / libretro-chailove

:heart: 2D Game Framework with ChaiScript
https://raw.githack.com/libretro/libretro-chailove/docs/index.html
MIT License
70 stars 22 forks source link

Fix undefined reference to 'process_sinc_neon_asm' #322

Closed RobLoach closed 6 years ago

RobLoach commented 6 years ago

From @toke79 ....

I encountered this error:

/tmp/ccKEjK9W.ltrans16.ltrans.o:<artificial>:function resampler_sinc_process_neon: error: undefined reference to 'process_sinc_neon_asm'

for these targets:

The build of RPi2.arm failed. Time spent: 6 minutes 30 seconds
The build of Allwinner.Bananapi.arm failed. Time spent: 6 minutes 25 seconds
The build of Allwinner.Cubieboard2.arm failed. Time spent: 4 minutes 12 seconds
The build of Allwinner.Cubietruck.arm failed. Time spent: 4 minutes 10 seconds
The build of Allwinner.orangepi_2.arm failed. Time spent: 4 minutes 11 seconds
The build of Allwinner.orangepi_lite.arm failed. Time spent: 4 minutes 11 seconds
The build of Allwinner.orangepi_one.arm failed. Time spent: 4 minutes 10 seconds
The build of Allwinner.orangepi_pc.arm failed. Time spent: 4 minutes 9 seconds
The build of Allwinner.orangepi_plus.arm failed. Time spent: 4 minutes 11 seconds
The build of Allwinner.orangepi_plus2e.arm failed. Time spent: 4 minutes 9 seconds 
The build of Allwinner.nanopi_m1_plus.arm failed. Time spent: 4 minutes 12 seconds 
The build of Rockchip.TinkerBoard.arm failed. Time spent: 6 minutes 37 seconds
The build of Rockchip.ROCK64.arm failed. Time spent: 6 minutes 25 seconds
The build of Rockchip.MiQi.arm failed. Time spent: 6 minutes 29 seconds
The build of imx6.cuboxi.arm failed. Time spent: 6 minutes 29 seconds
The build of imx6.udoo.arm failed. Time spent: 4 minutes 16 seconds
The build of OdroidC1.arm failed. Time spent: 6 minutes 24 seconds
The build of Odroid_C2.arm failed. Time spent: 6 minutes 25 seconds
The build of OdroidXU3.arm failed. Time spent: 6 minutes 42 seconds
The build of WeTek_Core.arm failed. Time spent: 6 minutes 25 seconds
The build of WeTek_Hub.arm failed. Time spent: 6 minutes 28 seconds
The build of WeTek_Play.arm failed. Time spent: 6 minutes 25 seconds
The build of WeTek_Play_2.arm failed. Time spent: 6 minutes 28 seconds
The build of S8X2.S82.arm failed. Time spent: 6 minutes 29 seconds
The build of S8X2.M8.arm failed. Time spent: 4 minutes 15 seconds
The build of S8X2.T8.arm failed. Time spent: 4 minutes 15 seconds
The build of S8X2.MXIII-1G.arm failed. Time spent: 4 minutes 14 seconds
The build of S8X2.MXIII-PLUS.arm failed. Time spent: 4 minutes 15 seconds
The build of S8X2.X8H-PLUS.arm failed. Time spent: 4 minutes 15 seconds
The build of S805.MXQ.arm failed. Time spent: 6 minutes 22 seconds
The build of S805.HD18Q.arm failed. Time spent: 4 minutes 5 seconds
The build of S805.M201C.arm failed. Time spent: 4 minutes 7 seconds
The build of S805.M201D.arm failed. Time spent: 4 minutes 11 seconds
The build of S805.MK808B-Plus.arm failed. Time spent: 4 minutes 7 seconds
The build of S905.arm failed. Time spent: 6 minutes 25 seconds
The build of S912.arm failed. Time spent: 6 minutes 33 seconds
The build of Slice3.arm failed. Time spent: 6 minutes 31 second

for latest nightly builds.

RobLoach commented 6 years ago
/tmp/ccDwLLLW.ltrans16.ltrans.o:<artificial>:function resampler_sinc_process_neon: error: undefined reference to 'process_sinc_neon_asm'
collect2: error: ld returned 1 exit status
make[2]: [Makefile:19: chailove_libretro.so] Error 1 (ignored)
make[2]: Leaving directory '/mnt/data/PROJECTS/Lakka-LibreELEC/build.Lakka-RPi2.arm-2.2-devel/chailove-6ba89d2'
mkdir -p /mnt/data/PROJECTS/Lakka-LibreELEC/build.Lakka-RPi2.arm-2.2-devel/chailove-6ba89d2/.install_pkg/usr/lib/libretro
cp chailove_libretro.so /mnt/data/PROJECTS/Lakka-LibreELEC/build.Lakka-RPi2.arm-2.2-devel/chailove-6ba89d2/.install_pkg/usr/lib/libretro
cp: cannot stat 'chailove_libretro.so': No such file or directory
make[1]: *** [Makefile:96: install] Error 1
make[1]: Leaving directory '/mnt/data/PROJECTS/Lakka-LibreELEC/build.Lakka-RPi2.arm-2.2-devel/chailove-6ba89d2'
Makefile:30: recipe for target 'noobs' failed
make: *** [noobs] Error 2
RobLoach commented 6 years ago

Part of STATIC_LINKING https://github.com/libretro/libretro-chailove/blob/master/Makefile.common#L22-L49

RobLoach commented 6 years ago

@ToKe79 Merged a fix which builds locally for me. Would love some testing on your side. I'll make a PR for the new commit hash :+1:

I'll leave this open until we confirm it's good on new builds. The PR is over at https://github.com/libretro/libretro-chailove/pull/325 .

ToKe79 commented 6 years ago

@RobLoach This is solved.

RobLoach commented 6 years ago

Thanks for testing!