LinuxSir.cn,穿越时空的Linuxsir!

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

编译XMMS的WMA插件出错,已经安装了编译环境?

[复制链接]
发表于 2005-8-5 16:12:57 | 显示全部楼层 |阅读模式
make[1]: Entering directory `/home/cp/download/xmms-wma-1.0.4/ffmpeg-strip-wma'
gcc -Wall  -g -O3 -DHAVE_AV_CONFIG_H -I.. -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -c -o common.o common.c
In file included from avcodec.h:14,
                 from common.c:28:
common.h:68: error: array type has incomplete element type
common.h:70: error: array type has incomplete element type
make[1]: *** [common.o] 错误 1
make[1]: Leaving directory `/home/cp/download/xmms-wma-1.0.4/ffmpeg-strip-wma'
gcc -o libwma.so obj/xmms-wma.o obj/iir.o `xmms-config --libs` -L ffmpeg-strip-wma -lffwma -shared
/usr/bin/ld: cannot find -lffwma
collect2: ld returned 1 exit status
make[1]: *** [libwma.so] 错误 1
make: *** [all] 错误 2
发表于 2005-8-5 16:52:11 | 显示全部楼层
一般不要编译。你可以去:

apt-get.org

搜索你要的包。我用的wma插件就是这里找到的。

但是还有一个比较简便的办法:

  1. apt-get install wajig
复制代码


然后:

  1. badger:/home/phyrster# wajig findpkg xmms-wma

  2. Lines suitable for /etc/apt/sources.list

  3.          deb http://rarewares.org/debian/packages/unstable/ ./
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-8-5 17:36:16 | 显示全部楼层
在apt-get.org找到了,谢谢
回复 支持 反对

使用道具 举报

发表于 2005-8-18 01:57:15 | 显示全部楼层
有个gcc4的patch,打上了就可以编译

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
回复 支持 反对

使用道具 举报

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

本版积分规则

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