当前位置: 代码迷 >> 驱动开发 >> SDL_mixer-1.2.8 有关问题: /usr/lib/libSDL.so: could not read symbol: File in wrong format
  详细解决方案

SDL_mixer-1.2.8 有关问题: /usr/lib/libSDL.so: could not read symbol: File in wrong format

热度:214   发布时间:2016-04-28 11:20:43.0
SDL_mixer-1.2.8 问题: /usr/lib/libSDL.so: could not read symbol: File in wrong format
编译出错信息,请高手看下,如何更改/usr/lib/libSDL.so 这个路径

/bin/bash ./build-scripts/mkinstalldirs build
mkdir -p -- build
/bin/bash ./libtool --mode=compile arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effect_position.c -o build/effect_position.lo
mkdir build/.libs
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effect_position.c -fPIC -DPIC -o build/.libs/effect_position.o
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effect_position.c -o build/effect_position.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effect_stereoreverse.c -o build/effect_stereoreverse.lo
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effect_stereoreverse.c -fPIC -DPIC -o build/.libs/effect_stereoreverse.o
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effect_stereoreverse.c -o build/effect_stereoreverse.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effects_internal.c -o build/effects_internal.lo
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effects_internal.c -fPIC -DPIC -o build/.libs/effects_internal.o
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./effects_internal.c -o build/effects_internal.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./load_aiff.c -o build/load_aiff.lo
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./load_aiff.c -fPIC -DPIC -o build/.libs/load_aiff.o
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./load_aiff.c -o build/load_aiff.o >/dev/null 2>&1
/bin/bash ./libtool --mode=compile arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./load_voc.c -o build/load_voc.lo
 arm-linux-gcc -D_GNU_SOURCE=1 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DCMD_MUSIC -DWAV_MUSIC -DMOD_MUSIC -I./mikmod -DMID_MUSIC -DUSE_TIMIDITY_MIDI -I./timidity -c ./load_voc.c -fPIC -DPIC -o build/.libs/load_voc.o


------解决方案--------------------
mark
  相关解决方案