|
|
发表于 2004-9-7 18:40:21
|
显示全部楼层
最初由 aaccdd 发表
出现这个错误的,请安装glibc-headers
修改~/.mplayer/config
vo=xv,x11,sdl
谢谢版主,但是现在又出现了新的错误:
gcc-3.3 -c -I../libvo -I../../libvo -I/usr/X11R6/include -O4 -march=athlon-4 -mc pu=athlon-4 -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOU RCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr /lib/glib/include -Ilibmpdemux -Iloader -Ilibvo -I/usr/include/freetype2 -I/usr/ include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/i nclude -o mplayer.o mplayer.c
In file included from mplayer.c:51:
libvo/video_out.h:65: error: parse error before "uint32_t"
libvo/video_out.h:65: warning: no semicolon at end of struct or union
libvo/video_out.h:66: warning: data definition has no type or storage class
libvo/video_out.h:67: error: parse error before '}' token
libvo/video_out.h:67: warning: data definition has no type or storage class
libvo/video_out.h:107: error: parse error before "uint32_t"
libvo/video_out.h:107: warning: no semicolon at end of struct or union
libvo/video_out.h:118: error: parse error before '*' token
libvo/video_out.h:118: error: parse error before "width"
libvo/video_out.h:120: error: `uint32_t' declared as function returning a functi on
libvo/video_out.h:120: warning: data definition has no type or storage class
libvo/video_out.h:125: error: parse error before '*' token
libvo/video_out.h:125: error: parse error before "request"
libvo/video_out.h:125: error: `uint32_t' declared as function returning a functi on
libvo/video_out.h:125: warning: data definition has no type or storage class
libvo/video_out.h:132: error: parse error before '*' token
libvo/video_out.h:132: error: parse error before '*' token
libvo/video_out.h:132: error: `uint32_t' declared as function returning a functi on
libvo/video_out.h:132: warning: data definition has no type or storage class
libvo/video_out.h:142: error: parse error before '*' token
libvo/video_out.h:142: error: parse error before '*' token
libvo/video_out.h:142: error: `uint32_t' declared as function returning a functi on
libvo/video_out.h:142: warning: data definition has no type or storage class
libvo/video_out.h:165: error: parse error before '}' token
libvo/video_out.h:165: warning: data definition has no type or storage class
libvo/video_out.h:170: error: parse error before '*' token
libvo/video_out.h:170: warning: data definition has no type or storage class
libvo/video_out.h:174: error: parse error before '*' token
libvo/video_out.h:174: warning: data definition has no type or storage class
In file included from mplayer.c:57:
libvo/x11_common.h:61: error: parse error before "vo_x11_set_equalizer"
libvo/x11_common.h:61: warning: data definition has no type or storage class
libvo/x11_common.h:62: error: parse error before "vo_x11_get_equalizer"
libvo/x11_common.h:62: warning: data definition has no type or storage class
libvo/x11_common.h:80: error: parse error before "xv_port"
libvo/x11_common.h:81: error: parse error before "xv_port"
libvo/x11_common.h:97: error: parse error before "int"
In file included from mplayer.c:73:
spudec.h:18: error: parse error before "vo_functions_t"
In file included from /usr/include/netinet/in.h:23,
from /usr/include/netdb.h:28,
from libmpdemux/network.h:16,
from libmpdemux/stream.h:51,
from Gui/interface.h:12,
from mplayer.c:82:
/usr/include/stdint.h:52: error: `uint32_t' redeclared as different kind of symb ol
libvo/video_out.h:142: error: previous declaration of `uint32_t'
In file included from libmpdemux/dvbin.h:5,
from mplayer.c:104:
libmpdemux/dvb_defaults.h:69:10: warning: #warning No DVB-T country defined in d vb_defaults.h, defaulting to UK. Ignore this if using Satellite or Cable.
mplayer.c:190: error: parse error before '*' token
mplayer.c:190: warning: data definition has no type or storage class
mplayer.c: In function `uninit_player':
mplayer.c:416: error: request for member `uninit' in something not a structure o r union
mplayer.c: In function `main':
mplayer.c:2249: error: request for member `check_events' in something not a stru cture or union
mplayer.c:2267: error: request for member `flip_page' in something not a structu re or union
mplayer.c:2278: error: request for member `control' in something not a structure or union
mplayer.c:2432: error: request for member `control' in something not a structure or union
mplayer.c:2438: error: request for member `check_events' in something not a stru cture or union
mplayer.c:2457: error: request for member `control' in something not a structure or union
mplayer.c:3021: error: request for member `control' in something not a structure or union
mplayer.c:3026: error: request for member `control' in something not a structure or union
mplayer.c:3036: error: request for member `control' in something not a structure or union
mplayer.c:3044: error: request for member `control' in something not a structure or union
mplayer.c:3135: error: request for member `control' in something not a structure or union
mplayer.c:3431: error: request for member `control' in something not a structure or union
mplayer.c: At top level:
libvo/video_out.h:174: warning: array `video_out_drivers' assumed to have one el ement
make: *** [mplayer.o] 错误 1
我用的是debian sarge,通过网络安装的,所以有可能有些包没有安装。请指教。 |
|