仍是xine的问题,kdemultimedia-3.5.10编译失败
In file included from /usr/include/xine/video_out.h:50,from /usr/include/xine/metronom.h:53,
from /usr/include/xine/audio_out.h:34,
from /root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c:22:
/usr/include/xine/buffer.h:679: 错误:expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘_x_is_fourcc’
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c: 在函数‘ao_fifo_get_gap_tolerance’中:
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c:103: 警告:未使用的参数‘this_gen’
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c: 在函数‘ao_fifo_get_property’中:
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c:245: 警告:未使用的参数‘this_gen’
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c:245: 警告:未使用的参数‘property’
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c: 在函数‘ao_fifo_set_property’中:
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c:250: 警告:未使用的参数‘this_gen’
/root/rpmbuild/BUILD/kdemultimedia-3.5.10/xine_artsplugin/audio_fifo_out.c:250: 警告:未使用的参数‘property’
Error creating ./xine_artsplugin/audio_fifo_out.lo. Exit status 1.
make: *** 错误 1
error: Bad exit status from /var/tmp/rpm-tmp.wLGOAA (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.wLGOAA (%build) 还有一些疑问,就是很多源码包的补丁的确过时了,通过自己重新修订发现的确存在不匹配的地方,有一些我相信patch是不可能正确打进补丁的,但为何这些不能使用的补丁会和主体源码压缩包打进了src.rpm呢? 很不解,而上一次打包的确生成了的是这个src.rpm么? This is a bug in the xine header and has already been fixed in latest libxine mercurial. Packagers might want to patch their libxine with
--- xine-lib-1.1.15/src/xine-engine/buffer.h 2008-07-17 05:01:56.000000000 +0800
+++ xine-lib-1.1.15/src/xine-engine/buffer.h.orig 2008-08-30 09:01:51.000000000 +0800
@@ -676,7 +676,8 @@
/* convert xine_waveformatex struct from little endian */
void _x_waveformatex_le2me( xine_waveformatex *wavex ) XINE_PROTECTED;
-static inline _x_is_fourcc(void *ptr, void *tag) {
+//static inline _x_is_fourcc(void *ptr, void *tag) {
+static __inline int _x_is_fourcc(void *ptr, void *tag){
return memcmp(ptr, tag, 4) == 0;
}
[ 本帖最后由 haulm 于 2008-8-30 09:09 编辑 ] 升级 xine 吧…… 已经是最新版了啊,除非你等。。。 :roll:
用 CVS 版~ 貌似我昨天就已经打过这个补丁了..........
页:
[1]