5752|6

64

帖子

0

TA的资源

一粒金砂(初级)

楼主
 

SDL_mixer-1.2.8 问题: /usr/lib/libSDL.so: could not read symbol: File in wrong for [复制链接]

编译出错信息,请高手看下,如何更改/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

最新回复

   详情 回复 发表于 2011-6-21 18:52
点赞 关注

回复
举报

64

帖子

0

TA的资源

一粒金砂(初级)

沙发
 
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.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 ./mixer.c  -o build/mixer.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 ./mixer.c  -fPIC -DPIC -o build/.libs/mixer.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 ./mixer.c -o build/mixer.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 ./music.c  -o build/music.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 ./music.c  -fPIC -DPIC -o build/.libs/music.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 ./music.c -o build/music.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 ./music_cmd.c  -o build/music_cmd.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 ./music_cmd.c  -fPIC -DPIC -o build/.libs/music_cmd.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 ./music_cmd.c -o build/music_cmd.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 ./wavestream.c  -o build/wavestream.lo
 
 

回复

84

帖子

0

TA的资源

一粒金砂(初级)

板凳
 
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 ./timidity/sdl_c.c  -fPIC -DPIC -o build/.libs/sdl_c.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 ./timidity/sdl_c.c -o build/sdl_c.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 ./timidity/tables.c  -o build/tables.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 ./timidity/tables.c  -fPIC -DPIC -o build/.libs/tables.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 ./timidity/tables.c -o build/tables.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 ./timidity/timidity.c  -o build/timidity.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 ./timidity/timidity.c  -fPIC -DPIC -o build/.libs/timidity.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 ./timidity/timidity.c -o build/timidity.o >/dev/null 2>&1
/bin/bash ./libtool --mode=link arm-linux-gcc -o build/libSDL_mixer.la build/effect_position.lo build/effect_stereoreverse.lo build/effects_internal.lo build/load_aiff.lo build/load_voc.lo build/mixer.lo build/music.lo build/music_cmd.lo build/wavestream.lo build/drv_nos.lo build/load_it.lo build/load_mod.lo build/load_s3m.lo build/load_xm.lo build/mdreg.lo build/mdriver.lo build/mloader.lo build/mlreg.lo build/mlutil.lo build/mmalloc.lo build/mmerror.lo build/mmio.lo build/mplayer.lo build/munitrk.lo build/mwav.lo build/npertab.lo build/sloader.lo build/virtch.lo build/virtch2.lo build/virtch_common.lo build/common.lo build/ctrlmode.lo build/filter.lo build/instrum.lo build/mix.lo build/output.lo build/playmidi.lo build/readmidi.lo build/resample.lo build/sdl_a.lo build/sdl_c.lo build/tables.lo build/timidity.lo  -L/usr/lib -lSDL -no-undefined -rpath /usr/lib -release 1.2 -version-info 2:6:2
arm-linux-gcc -shared  build/.libs/effect_position.o build/.libs/effect_stereoreverse.o build/.libs/effects_internal.o build/.libs/load_aiff.o build/.libs/load_voc.o build/.libs/mixer.o build/.libs/music.o build/.libs/music_cmd.o build/.libs/wavestream.o build/.libs/drv_nos.o build/.libs/load_it.o build/.libs/load_mod.o build/.libs/load_s3m.o build/.libs/load_xm.o build/.libs/mdreg.o build/.libs/mdriver.o build/.libs/mloader.o build/.libs/mlreg.o build/.libs/mlutil.o build/.libs/mmalloc.o build/.libs/mmerror.o build/.libs/mmio.o build/.libs/mplayer.o build/.libs/munitrk.o build/.libs/mwav.o build/.libs/npertab.o build/.libs/sloader.o build/.libs/virtch.o build/.libs/virtch2.o build/.libs/virtch_common.o build/.libs/common.o build/.libs/ctrlmode.o build/.libs/filter.o build/.libs/instrum.o build/.libs/mix.o build/.libs/output.o build/.libs/playmidi.o build/.libs/readmidi.o build/.libs/resample.o build/.libs/sdl_a.o build/.libs/sdl_c.o build/.libs/tables.o build/.libs/timidity.o  -L/usr/lib /usr/lib/libSDL.so  -Wl,-soname -Wl,libSDL_mixer-1.2.so.0 -o build/.libs/libSDL_mixer-1.2.so.0.2.6
 
 
 

回复

66

帖子

0

TA的资源

一粒金砂(初级)

4
 
/usr/lib/libSDL.so: could not read symbols: File in wrong format

collect2: ld returned  exit status

make: *** [build/libSDL_mixer.la] Error 1
 
 
 

回复

71

帖子

0

TA的资源

一粒金砂(初级)

5
 
mark
 
 
 

回复

78

帖子

0

TA的资源

一粒金砂(初级)

6
 
arm-linux-gcc -shared  build/.libs/effect_position.o build/.libs/effect_stereoreverse.o build/.libs/effects_internal.o build/.libs/load_aiff.o build/.libs/load_voc.o build/.libs/mixer.o build/.libs/music.o build/.libs/music_cmd.o build/.libs/wavestream.o build/.libs/drv_nos.o build/.libs/load_it.o build/.libs/load_mod.o build/.libs/load_s3m.o build/.libs/load_xm.o build/.libs/mdreg.o build/.libs/mdriver.o build/.libs/mloader.o build/.libs/mlreg.o build/.libs/mlutil.o build/.libs/mmalloc.o build/.libs/mmerror.o build/.libs/mmio.o build/.libs/mplayer.o build/.libs/munitrk.o build/.libs/mwav.o build/.libs/npertab.o build/.libs/sloader.o build/.libs/virtch.o build/.libs/virtch2.o build/.libs/virtch_common.o build/.libs/common.o build/.libs/ctrlmode.o build/.libs/filter.o build/.libs/instrum.o build/.libs/mix.o build/.libs/output.o build/.libs/playmidi.o build/.libs/readmidi.o build/.libs/resample.o build/.libs/sdl_a.o build/.libs/sdl_c.o build/.libs/tables.o build/.libs/timidity.o  -L/usr/lib /usr/lib/libSDL.so  -Wl,-soname -Wl,libSDL_mixer-1.2.so.0 -o build/.libs/libSDL_mixer-1.2.so.0.2.6

/usr/lib/libSDL.so: could not read symbols: File in wrong format

collect2: ld returned  exit status

make: *** [build/libSDL_mixer.la] Error 1
 
 
 

回复

1

帖子

0

TA的资源

一粒金砂(初级)

7
 

有知道的吗

 
 
 
 

回复
您需要登录后才可以回帖 登录 | 注册

随便看看
查找数据手册?

EEWorld Datasheet 技术支持

相关文章 更多>>
关闭
站长推荐上一条 1/7 下一条

 
EEWorld订阅号

 
EEWorld服务号

 
汽车开发圈

About Us 关于我们 客户服务 联系方式 器件索引 网站地图 最新更新 手机版

站点相关: 国产芯 安防电子 汽车电子 手机便携 工业控制 家用电子 医疗电子 测试测量 网络通信 物联网

北京市海淀区中关村大街18号B座15层1530室 电话:(010)82350740 邮编:100190

电子工程世界版权所有 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号 Copyright © 2005-2025 EEWORLD.com.cn, Inc. All rights reserved
快速回复 返回顶部 返回列表