LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 736|回复: 1

升级gcc4.1.1、glibc后,sdl-sound-1.0.1-r1编译出错

[复制链接]
发表于 2006-9-2 13:40:48 | 显示全部楼层 |阅读模式
升级gcc4.1.1、glibc后,  emerge -eav system完成, emerge -eav world时sdl-sound-1.0.1-r1编译出错,如下,请教怎样解决?
......
i686-pc-linux-gnu-gcc -shared  SDL_sound.lo alt_audio_convert.lo aud                                          io_convert.lo extra_rwops.lo -Wl,--whole-archive decoders/.libs/libd                                          ecoders.al decoders/timidity/.libs/libtimidity.al decoders/mpglib/.l                                          ibs/libmpglib.al -Wl,--no-whole-archive  decoders/.libs/libdecoders.                                          al -L/usr/lib decoders/timidity/.libs/libtimidity.al decoders/mpglib                                          /.libs/libmpglib.al /usr/lib/libXext.so /usr/lib/libcaca.so -lslang                                           /usr/lib/libX11.so /usr/lib/libXau.so /usr/lib/libXdmcp.so -lncurses                                           -ldl /usr/lib/libogg.so /usr/lib/libSDL.so -lpthread /usr/lib/libFL                                          AC.so /usr/lib/libmikmod.so /usr/lib/libvorbis.so -lm /usr/lib/libvo                                          rbisfile.so /usr/lib/libvorbisenc.so     -Wl,-soname -Wl,libSDL_soun                                          d-1.0.so.1 -o .libs/libSDL_sound-1.0.so.1.0.0
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/b                                          in/ld: cannot find -lslang
collect2: ld returned 1 exit status
make[2]: *** [libSDL_sound.la] Error 1
make[2]: Leaving directory `/var/tmp/portage/sdl-sound-1.0.1-r1/work                                          /SDL_sound-1.0.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sdl-sound-1.0.1-r1/work                                          /SDL_sound-1.0.1'
make: *** [all] Error 2

!!! ERROR: media-libs/sdl-sound-1.0.1-r1 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  sdl-sound-1.0.1-r1.ebuild, line 36:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call                                           stack if relevant.
发表于 2006-9-2 16:53:37 | 显示全部楼层
cannot find -lslang

所以
emerge slang
再重新
emerge sdl-sound
回复 支持 反对

使用道具 举报

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

本版积分规则

快速回复 返回顶部 返回列表