Themaister / Dinothawr

Dinothawr is a block pushing puzzle game on slippery surfaces. Our hero is a dinosaur whose friends are trapped in ice. Through puzzles it is your task to free the dinos from their ice prison.
Other
42 stars 21 forks source link

issue building for Armv7+ (libretro-common related)+ #5

Closed joolswills closed 7 years ago

joolswills commented 7 years ago

Raspbian / RPI3 - (-O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe are my own target CFLAGS)

libretro-common issue or makefile issue not including correct files ?

...
cc -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe -O3 -DNDEBUG -DHAVE_ZLIB -ffast-math -fPIC -I./deps -I./audio -I./deps/pugixml -I./deps/vorbis -I./deps/ogg -I./libretro-common/include   -c -o libretro-common/streams/trans_stream_pipe.o libretro-common/streams/trans_stream_pipe.c
cc -O2 -march=armv8-a+crc -mtune=cortex-a53 -mfpu=neon-fp-armv8 -mfloat-abi=hard -ftree-vectorize -funsafe-math-optimizations -pipe -O3 -DNDEBUG -DHAVE_ZLIB -ffast-math -fPIC -I./deps -I./audio -I./deps/pugixml -I./deps/vorbis -I./deps/ogg -I./libretro-common/include   -c -o libretro-common/streams/trans_stream_zlib.o libretro-common/streams/trans_stream_zlib.c
g++ -fPIC -shared -Wl,--version-script=link.T -Wl,--no-undefined   -o dinothawr_libretro.so ./bg_manager.o ./font.o ./game.o ./game_manager.o ./libretro.o ./render_target.o ./sfx_manager.o ./surface.o ./surface_cache.o ./surface_cluster.o ./tilemap.o ./deps/pugixml/pugixml.o ./audio/mixer.o ./deps/ogg/bitwise.o ./deps/ogg/framing.o ./deps/vorbis/analysis.o ./deps/vorbis/barkmel.o ./deps/vorbis/bitrate.o ./deps/vorbis/block.o ./deps/vorbis/codebook.o ./deps/vorbis/envelope.o ./deps/vorbis/floor0.o ./deps/vorbis/floor1.o ./deps/vorbis/info.o ./deps/vorbis/lookup.o ./deps/vorbis/lpc.o ./deps/vorbis/lsp.o ./deps/vorbis/mapping0.o ./deps/vorbis/mdct.o ./deps/vorbis/psy.o ./deps/vorbis/registry.o ./deps/vorbis/res0.o ./deps/vorbis/sharedbook.o ./deps/vorbis/smallft.o ./deps/vorbis/synthesis.o ./deps/vorbis/vorbisenc.o ./deps/vorbis/vorbisfile.o ./deps/vorbis/window.o ./rpng_front.o ./libretro-common/file/nbio/nbio_stdio.o ./libretro-common/audio/conversion/float_to_s16.o ./libretro-common/audio/conversion/s16_to_float.o ./libretro-common/audio/audio_mix.o ./libretro-common/features/features_cpu.o ./libretro-common/compat/compat_strl.o ./libretro-common/compat/compat_posix_string.o ./libretro-common/formats/png/rpng.o ./libretro-common/streams/file_stream.o ./libretro-common/streams/trans_stream.o ./libretro-common/streams/trans_stream_pipe.o ./libretro-common/streams/trans_stream_zlib.o   -lm -lz -lpthread
./libretro-common/audio/conversion/float_to_s16.o: In function `convert_float_to_s16':
float_to_s16.c:(.text+0x8c): undefined reference to `convert_float_s16_asm'
./libretro-common/audio/conversion/s16_to_float.o: In function `convert_s16_to_float':
s16_to_float.c:(.text+0x30c): undefined reference to `convert_s16_float_asm'
collect2: error: ld returned 1 exit status
Makefile:189: recipe for target 'dinothawr_libretro.so' failed
make: *** [dinothawr_libretro.so] Error 1
joolswills commented 7 years ago

mrboom also has a similar issue https://github.com/libretro/mrboom-libretro/issues/5

joolswills commented 7 years ago

To avoid confusion - I was building from https://github.com/libretro/Dinothawr.git (@ https://github.com/libretro/Dinothawr/commit/02821dd8da996c4c59e441d798c2fcbce3901dfb)- that repo doesn't have issues enabled (can it be enabled?).

joolswills commented 7 years ago

@twinaphex enabled the issue tracker - I will close this and open it on the libretro fork. thanks.