|
编译出错信息如下:
-------------错误分割线------------------
./version.sh `cc -dumpversion`
Adding untranslated messages to help_mp.h
cc -I./libavcodec -I./libavformat -Wdisabled-optimization -Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -O4 -march=native -mtune=native -pipe -ffast-math -fomit-frame-pointer -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -DHAVE_CONFIG_H -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -c -o mplayer.o mplayer.c
In file included from mplayer.c:54:
libvo/video_out.h:78: error: expected specifier-qualifier-list before 'uint32_t'
libvo/video_out.h:131: error: expected ')' before 'width'
libvo/video_out.h:138: error: expected ';' before 'int'
libvo/video_out.h:181: error: expected declaration specifiers or '...' before 'uint32_t'
libvo/video_out.h:181: error: expected declaration specifiers or '...' before 'uint32_t'
libvo/video_out.h:182: error: expected declaration specifiers or '...' before 'uint32_t'
libvo/video_out.h:182: error: expected declaration specifiers or '...' before 'uint32_t'
libvo/video_out.h:182: error: expected declaration specifiers or '...' before 'uint32_t'
libvo/video_out.h:183: error: expected declaration specifiers or '...' before 'uint32_t'
In file included from mplayer.c:60:
libvo/x11_common.h:52: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vo_x11_set_equalizer'
libvo/x11_common.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'vo_x11_get_equalizer'
libvo/x11_common.h:77: error: expected ')' before 'xv_port'
libvo/x11_common.h:78: error: expected ')' before 'xv_port'
libvo/x11_common.h:82: error: expected ')' before '*' token
libvo/x11_common.h:120: error: expected ')' before 'int'
mplayer.c: In function 'uninit_player':
mplayer.c:615: error: 'vo_functions_t' has no member named 'uninit'
In file included from mplayer.c:793:
cfg-mplayer.h: At top level:
cfg-mplayer.h:64: warning: redundant redeclaration of 'enqueue'
mplayer.c:230: warning: previous definition of 'enqueue' was here
mplayer.c: In function 'parse_cfgfiles':
mplayer.c:815: warning: ignoring return value of 'write', declared with attribute warn_unused_result
mplayer.c: In function 'pause_loop':
mplayer.c:2096: error: 'vo_functions_t' has no member named 'control'
mplayer.c:2103: error: 'vo_functions_t' has no member named 'check_events'
mplayer.c:2126: error: 'vo_functions_t' has no member named 'control'
mplayer.c: In function 'seek':
mplayer.c:2244: error: 'vo_functions_t' has no member named 'control'
mplayer.c: In function 'main':
mplayer.c:2503: warning: format not a string literal and no format arguments
mplayer.c:2664: warning: passing argument 2 of 'guiGetEvent' from incompatible pointer type
mplayer.c:2733: error: 'vo_functions_t' has no member named 'check_events'
mplayer.c:3418: error: 'vo_functions_t' has no member named 'check_events'
mplayer.c:3435: error: 'vo_functions_t' has no member named 'flip_page'
mplayer.c:3061: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
mplayer.c:3062: warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result
make: *** [mplayer.o] 错误 1
-----------错误完毕分割线------------------
我自己看了一下那个vedio_out.h,我觉得在提示出错的地方不应该出错的。 |
|