找回密码
 注册
查看: 1000|回复: 10

mplayer cvs 可解决GCC 问题

[复制链接]
发表于 2005-8-21 14:19:09 | 显示全部楼层 |阅读模式
如题
下载页
http://www.mplayerhq.hu/homepage/design7/dload.html


daily CVS snapshot source  
这一栏.

最新版本...

GCC4.x  版本能正长安装.

./configure
make
make install
发表于 2005-8-24 09:06:03 | 显示全部楼层
生命不息,
灌水不止!

这么简单、方便、实用的贴,
竟然没有人来顶!

灌水。。。。。。。。。。。。。
让它浮起来。。。。。。。
回复

使用道具 举报

发表于 2005-8-31 15:05:35 | 显示全部楼层
灌水加收藏!
回复

使用道具 举报

发表于 2005-8-31 23:08:56 | 显示全部楼层
[quote:c68b5e88cd="青铜镜"]生命不息,
灌水不止!

这么简单、方便、实用的贴,
竟然没有人来顶!

灌水。。。。。。。。。。。。。
让它浮起来。。。。。。。[/quote]
回复

使用道具 举报

发表于 2005-8-31 23:10:24 | 显示全部楼层
回复

使用道具 举报

发表于 2005-8-31 23:47:46 | 显示全部楼层
[quote:6233d1e3f3="jiangtao9999"][/quote]
无耻啊,赤裸裸的骗点阿
回复

使用道具 举报

发表于 2005-9-1 19:02:00 | 显示全部楼层
俺们火星早就知道 CVS 的可以 GCC4 编译了。
回复

使用道具 举报

发表于 2005-9-2 23:21:55 | 显示全部楼层
记得必须要安装第四张光盘下的 gtk+-devel-1.2.10-39.i386.rpm 并按照提示安装其依赖文件。
这样就可避免在 configure 时出现 "Error: The GUI requires GTK devel packages (which were not found)." 错误提示
回复

使用道具 举报

发表于 2005-10-3 21:35:55 | 显示全部楼层
同样版本的gcc-4.0.2,FC4 下可编译,而Magic Linux下不能?为什么?
错误代码:
[code:1]
vf_fspp.c:48:28: error: ffmpeg/dsputil.h: No such file or directory
vf_fspp.c:398: error: syntax error before 'DCTELEM'
vf_fspp.c:399: error: syntax error before '*' token
vf_fspp.c:401: error: syntax error before '*' token
vf_fspp.c: In function 'filter':
vf_fspp.c:421: error: 'DCTELEM' undeclared (first use in this function)
vf_fspp.c:421: error: (Each undeclared identifier is reported only once
vf_fspp.c:421: error: for each function it appears in.)
vf_fspp.c:421: error: 'block' undeclared (first use in this function)
vf_fspp.c:421: error: syntax error before ')' token
vf_fspp.c:422: error: 'block3' undeclared (first use in this function)
vf_fspp.c:422: error: syntax error before ')' token
vf_fspp.c: In function 'put_image':
vf_fspp.c:540: warning: pointer targets in passing argument 8 of 'filter' differ in signedness
vf_fspp.c:541: warning: pointer targets in passing argument 8 of 'filter' differ in signedness
vf_fspp.c:542: warning: pointer targets in passing argument 8 of 'filter' differ in signedness
vf_fspp.c: At top level:
vf_fspp.c:874: error: syntax error before 'DCTELEM'
vf_fspp.c: In function 'column_fidct_mmx':
vf_fspp.c:1598: error: 'data' undeclared (first use in this function)
vf_fspp.c:1598: error: 'output' undeclared (first use in this function)
vf_fspp.c:1598: error: 'cnt' undeclared (first use in this function)
vf_fspp.c:1599: error: 'thr_adr' undeclared (first use in this function)
vf_fspp.c:876: error: invalid lvalue in asm output 0
vf_fspp.c:876: error: invalid lvalue in asm output 1
vf_fspp.c:876: error: invalid lvalue in asm output 2
vf_fspp.c: At top level:
vf_fspp.c:1673: error: syntax error before '*' token
vf_fspp.c: In function 'row_idct_mmx':
vf_fspp.c:1866: error: 'workspace' undeclared (first use in this function)
vf_fspp.c:1866: error: 'output_adr' undeclared (first use in this function)
vf_fspp.c:1866: error: 'cnt' undeclared (first use in this function)
vf_fspp.c:1867: error: 'output_stride' undeclared (first use in this function)
vf_fspp.c:1676: error: invalid lvalue in asm output 0
vf_fspp.c:1676: error: invalid lvalue in asm output 1
vf_fspp.c:1676: error: invalid lvalue in asm output 2
vf_fspp.c: At top level:
vf_fspp.c:1939: error: syntax error before '*' token
vf_fspp.c: In function 'row_fdct_mmx':
vf_fspp.c:2110: error: 'pixels' undeclared (first use in this function)
vf_fspp.c:2110: error: 'data' undeclared (first use in this function)
vf_fspp.c:2110: error: 'cnt' undeclared (first use in this function)
vf_fspp.c:2111: error: 'line_size' undeclared (first use in this function)
vf_fspp.c:1941: error: invalid lvalue in asm output 0
vf_fspp.c:1941: error: invalid lvalue in asm output 1
vf_fspp.c:1941: error: invalid lvalue in asm output 2
make[1]: *** [vf_fspp.o] Error 1
make[1]: Leaving directory `/software/mplayer/MPlayer-20050806/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] 错误 2
make -C libmpcodecs
make[1]: Entering directory `/software/mplayer/MPlayer-20050806/libmpcodecs'
cc -c -I../libvo -I../../libvo -I/usr/X11R6/include -fno-PIC -O4 -march=athlon-4 -mtune=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -std=gnu99 -I. -Inative -I.. -I../libmpdemux -I../loader  -I../libavutil   -D_GNU_SOURCE -o vf_fspp.o vf_fspp.c
vf_fspp.c:48:28: error: ffmpeg/dsputil.h: No such file or directory
vf_fspp.c:398: error: syntax error before 'DCTELEM'
vf_fspp.c:399: error: syntax error before '*' token
vf_fspp.c:401: error: syntax error before '*' token
vf_fspp.c: In function 'filter':
vf_fspp.c:421: error: 'DCTELEM' undeclared (first use in this function)
vf_fspp.c:421: error: (Each undeclared identifier is reported only once
vf_fspp.c:421: error: for each function it appears in.)
vf_fspp.c:421: error: 'block' undeclared (first use in this function)
vf_fspp.c:421: error: syntax error before ')' token
vf_fspp.c:422: error: 'block3' undeclared (first use in this function)
vf_fspp.c:422: error: syntax error before ')' token
vf_fspp.c: In function 'put_image':
vf_fspp.c:540: warning: pointer targets in passing argument 8 of 'filter' differ in signedness
vf_fspp.c:541: warning: pointer targets in passing argument 8 of 'filter' differ in signedness
vf_fspp.c:542: warning: pointer targets in passing argument 8 of 'filter' differ in signedness
vf_fspp.c: At top level:
vf_fspp.c:874: error: syntax error before 'DCTELEM'
vf_fspp.c: In function 'column_fidct_mmx':
vf_fspp.c:1598: error: 'data' undeclared (first use in this function)
vf_fspp.c:1598: error: 'output' undeclared (first use in this function)
vf_fspp.c:1598: error: 'cnt' undeclared (first use in this function)
vf_fspp.c:1599: error: 'thr_adr' undeclared (first use in this function)
vf_fspp.c:876: error: invalid lvalue in asm output 0
vf_fspp.c:876: error: invalid lvalue in asm output 1
vf_fspp.c:876: error: invalid lvalue in asm output 2
vf_fspp.c: At top level:
vf_fspp.c:1673: error: syntax error before '*' token
vf_fspp.c: In function 'row_idct_mmx':
vf_fspp.c:1866: error: 'workspace' undeclared (first use in this function)
vf_fspp.c:1866: error: 'output_adr' undeclared (first use in this function)
vf_fspp.c:1866: error: 'cnt' undeclared (first use in this function)
vf_fspp.c:1867: error: 'output_stride' undeclared (first use in this function)
vf_fspp.c:1676: error: invalid lvalue in asm output 0
vf_fspp.c:1676: error: invalid lvalue in asm output 1
vf_fspp.c:1676: error: invalid lvalue in asm output 2
vf_fspp.c: At top level:
vf_fspp.c:1939: error: syntax error before '*' token
vf_fspp.c: In function 'row_fdct_mmx':
vf_fspp.c:2110: error: 'pixels' undeclared (first use in this function)
vf_fspp.c:2110: error: 'data' undeclared (first use in this function)
vf_fspp.c:2110: error: 'cnt' undeclared (first use in this function)
vf_fspp.c:2111: error: 'line_size' undeclared (first use in this function)
vf_fspp.c:1941: error: invalid lvalue in asm output 0
vf_fspp.c:1941: error: invalid lvalue in asm output 1
vf_fspp.c:1941: error: invalid lvalue in asm output 2
make[1]: *** [vf_fspp.o] Error 1
make[1]: Leaving directory `/software/mplayer/MPlayer-20050806/libmpcodecs'
make: *** [libmpcodecs/libmpcodecs.a] 错误 2
[/code:1]
回复

使用道具 举报

发表于 2005-10-4 07:38:55 | 显示全部楼层
已解决,将ffmpeg-devel包删除就行了。也就是将/usr/include/ffmpeg中的头文件删除就行了。大概系统有ffmpeg头文件时编译程序读取系统的头文件,否则使用自带的。
回复

使用道具 举报

发表于 2005-10-4 09:58:51 | 显示全部楼层
ML 的 ffmpeg 有点老…………
回复

使用道具 举报

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

本版积分规则

GMT+8, 2025-8-6 17:34 , Processed in 0.028402 second(s), 16 queries .

© 2001-2025 Discuz! Team. Powered by Discuz! X3.5.

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