LinuxSir.cn,穿越时空的Linuxsir!

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

编译mplayer9.0出错

[复制链接]
发表于 2004-3-5 16:38:12 | 显示全部楼层 |阅读模式
GNOME2.4.1桌面环境

install -d /usr/lib/win32 &&
tar -xvf ../win32codecs.tar -C /usr/lib/win32 &&
tar -xvf ../qt5dlls.tar -C /usr/lib/win32 &&
tar -xvf ../qt6dlls.tar -C /usr/lib/win32 &&
tar -xvf ../qtextras.tar -C /usr/lib/win32 &&
tar -xvf ../rp9codecs.tar -C /usr/lib/win32 &&
./configure --prefix=/usr --confdir=/etc/mplayer --enable-largefiles \
--enable-gui --enable-menu --enable-new-conf --enable-qtx-codecs \
--enable-vorbis --with-reallibdir=/usr/lib/win32/rp9codecs \
--enable-freetype --enable-shared-pp &&
make &&
make install
错误在下面:



-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include   -o demux_ogg.o demux_ogg.c
demux_ogg.c:20:21: ogg/ogg.h: 没有那个文件或目录
demux_ogg.c:21:26: vorbis/codec.h: 没有那个文件或目录
demux_ogg.c:29: error: parse error before "vorbis_info"
demux_ogg.c:29: warning: no semicolon at end of struct or union
demux_ogg.c:31: warning: data definition has no type or storage class
demux_ogg.c:32: error: parse error before "vd"
demux_ogg.c:32: warning: data definition has no type or storage class
demux_ogg.c:33: error: parse error before "vb"
demux_ogg.c:33: warning: data definition has no type or storage class
demux_ogg.c:38: error: parse error before '}' token
demux_ogg.c:38: warning: data definition has no type or storage class
demux_ogg.c:44: error: parse error before "ogg_int32_t"
demux_ogg.c:44: warning: no semicolon at end of struct or union
demux_ogg.c:45: warning: data definition has no type or storage class
demux_ogg.c:46: warning: data definition has no type or storage class
demux_ogg.c:50: error: parse error before "ogg_int16_t"
demux_ogg.c:50: warning: no semicolon at end of struct or union
demux_ogg.c:51: warning: data definition has no type or storage class
demux_ogg.c:52: error: parse error before "avgbytespersec"
demux_ogg.c:52: warning: data definition has no type or storage class
demux_ogg.c:53: warning: data definition has no type or storage class
demux_ogg.c:60: error: parse error before "ogg_int32_t"
demux_ogg.c:60: warning: no semicolon at end of struct or union
demux_ogg.c:62: warning: data definition has no type or storage class
demux_ogg.c:63: error: parse error before "samples_per_unit"
demux_ogg.c:63: warning: data definition has no type or storage class
demux_ogg.c:64: error: parse error before "default_len"
demux_ogg.c:64: warning: data definition has no type or storage class
demux_ogg.c:66: error: parse error before "buffersize"
demux_ogg.c:66: warning: data definition has no type or storage class
demux_ogg.c:67: error: parse error before "bits_per_sample"
demux_ogg.c:67: warning: data definition has no type or storage class
demux_ogg.c:72: error: parse error before "stream_header_video"
demux_ogg.c:72: warning: no semicolon at end of struct or union
demux_ogg.c:74: warning: data definition has no type or storage class
demux_ogg.c:75: warning: data definition has no type or storage class
demux_ogg.c:76: error: parse error before '}' token
demux_ogg.c:76: warning: data definition has no type or storage class
demux_ogg.c:93: error: parse error before "ogg_stream_state"
demux_ogg.c:93: warning: no semicolon at end of struct or union
demux_ogg.c:96: error: parse error before '}' token
demux_ogg.c:96: warning: data definition has no type or storage class
demux_ogg.c:100: error: parse error before "ogg_sync_state"
demux_ogg.c:100: warning: no semicolon at end of struct or union
demux_ogg.c:102: warning: data definition has no type or storage class
demux_ogg.c:104: error: parse error before '*' token
demux_ogg.c:104: warning: data definition has no type or storage class
demux_ogg.c:109: error: parse error before '}' token
demux_ogg.c:109: warning: data definition has no type or storage class
demux_ogg.c:192: error: parse error before '*' token
demux_ogg.c: In function `demux_ogg_add_sub':
demux_ogg.c:196: error: `pack' undeclared (first use in this function)
demux_ogg.c:196: error: (Each undeclared identifier is reported only once
demux_ogg.c:196: error: for each function it appears in.)
demux_ogg.c:218: error: `os' undeclared (first use in this function)
demux_ogg.c: At top level:
demux_ogg.c:261: error: parse error before '*' token
demux_ogg.c: In function `demux_ogg_get_page_stream':
demux_ogg.c:263: error: `ogg_page' undeclared (first use in this function)
demux_ogg.c:263: error: `ogg_d' undeclared (first use in this function)
demux_ogg.c:275: error: `os' undeclared (first use in this function)
demux_ogg.c: At top level:
demux_ogg.c:282: error: parse error before '*' token
demux_ogg.c: In function `demux_ogg_read_packet':
demux_ogg.c:285: error: `pts' undeclared (first use in this function)
demux_ogg.c:286: error: `flags' undeclared (first use in this function)
demux_ogg.c:288: error: `os' undeclared (first use in this function)
demux_ogg.c:289: error: `pack' undeclared (first use in this function)
demux_ogg.c:292: error: `vi' undeclared (first use in this function)
demux_ogg.c: At top level:
demux_ogg.c:331: error: parse error before "ogg_stream_t"
demux_ogg.c: In function `demux_ogg_add_packet':
demux_ogg.c:332: error: `ds' undeclared (first use in this function)
demux_ogg.c:339: error: `os' undeclared (first use in this function)
demux_ogg.c:339: error: `pack' undeclared (first use in this function)
demux_ogg.c:349: error: parse error before ')' token
demux_ogg.c: In function `demux_ogg_build_syncpoints_table':
demux_ogg.c:374: error: `ogg_d' undeclared (first use in this function)
demux_ogg.c:376: error: `ogg_sync_state' undeclared (first use in this function)
demux_ogg.c:376: error: `sync' undeclared (first use in this function)
demux_ogg.c:377: error: `ogg_page' undeclared (first use in this function)
demux_ogg.c:378: error: `ogg_stream_state' undeclared (first use in this function)
demux_ogg.c:378: error: `oss' undeclared (first use in this function)
demux_ogg.c:379: error: `os' undeclared (first use in this function)
demux_ogg.c:380: error: `ogg_packet' undeclared (first use in this function)
demux_ogg.c:380: error: parse error before "op"
demux_ogg.c:382: error: `vorbis_info' undeclared (first use in this function)
demux_ogg.c:382: error: `vi' undeclared (first use in this function)
demux_ogg.c:396: error: parse error before ')' token
demux_ogg.c:409: warning: initialization makes pointer from integer without a cast
demux_ogg.c:428: error: `op' undeclared (first use in this function)
demux_ogg.c:462: warning: initialization makes pointer from integer without a cast
demux_ogg.c: In function `demux_ogg_open':
demux_ogg.c:484: error: `ogg_d' undeclared (first use in this function)
demux_ogg.c:488: error: `ogg_sync_state' undeclared (first use in this function)
demux_ogg.c:488: error: `sync' undeclared (first use in this function)
demux_ogg.c:489: error: `ogg_page' undeclared (first use in this function)
demux_ogg.c:490: error: `ogg_packet' undeclared (first use in this function)
demux_ogg.c:490: error: parse error before "pack"
demux_ogg.c:501: error: parse error before ')' token
demux_ogg.c:520: warning: assignment makes pointer from integer without a cast
demux_ogg.c:543: error: parse error before ')' token
demux_ogg.c:552: error: `pack' undeclared (first use in this function)
demux_ogg.c:617: error: `st' undeclared (first use in this function)
demux_ogg.c:617: error: parse error before ')' token
demux_ogg.c: In function `demux_ogg_fill_buffer':
demux_ogg.c:742: error: `ogg_d' undeclared (first use in this function)
demux_ogg.c:745: error: `ogg_sync_state' undeclared (first use in this function)
demux_ogg.c:745: error: `sync' undeclared (first use in this function)
demux_ogg.c:746: error: `ogg_stream_state' undeclared (first use in this function)
demux_ogg.c:746: error: `os' undeclared (first use in this function)
demux_ogg.c:747: error: `ogg_page' undeclared (first use in this function)
demux_ogg.c:748: error: `ogg_packet' undeclared (first use in this function)
demux_ogg.c:748: error: parse error before "pack"
demux_ogg.c:766: error: `pack' undeclared (first use in this function)
demux_ogg.c:782: warning: assignment makes pointer from integer without a cast
demux_ogg.c: In function `init_avi_with_ogg':
demux_ogg.c:830: error: `ogg_d' undeclared (first use in this function)
demux_ogg.c:855: error: parse error before ')' token
demux_ogg.c:857: error: parse error before ')' token
demux_ogg.c:872: warning: assignment makes pointer from integer without a cast
demux_ogg.c: In function `demux_ogg_seek':
demux_ogg.c:921: error: `ogg_d' undeclared (first use in this function)
demux_ogg.c:922: error: `ogg_sync_state' undeclared (first use in this function)
demux_ogg.c:922: error: `sync' undeclared (first use in this function)
demux_ogg.c:923: error: `ogg_page' undeclared (first use in this function)
demux_ogg.c:924: error: `ogg_stream_state' undeclared (first use in this function)
demux_ogg.c:924: error: `oss' undeclared (first use in this function)
demux_ogg.c:925: error: `os' undeclared (first use in this function)
demux_ogg.c:928: error: `ogg_packet' undeclared (first use in this function)
demux_ogg.c:928: error: parse error before "op"
demux_ogg.c:931: error: `vorbis_info' undeclared (first use in this function)
demux_ogg.c:931: error: `vi' undeclared (first use in this function)
demux_ogg.c:940: error: parse error before ')' token
demux_ogg.c:999: warning: initialization makes pointer from integer without a cast
demux_ogg.c:1016: error: `op' undeclared (first use in this function)
demux_ogg.c: In function `demux_close_ogg':
demux_ogg.c:1047: error: `ogg_d' undeclared (first use in this function)
make[1]: *** [demux_ogg.o] 错误 1
make[1]: Leaving directory `/soft/mp/MPlayer-0.90/libmpdemux'
make: *** [libmpdemux/libmpdemux.a] 错误 2

怎么办?
发表于 2004-3-5 22:09:30 | 显示全部楼层
--enable-vorbis
用了这个参数,那vorbis有没有装好?好像是这个出的问题。
 楼主| 发表于 2004-3-5 23:23:13 | 显示全部楼层
那个参数是干什么的?我不用它了,安装成功了,问题又来了,界面是英文的倒没事,就是打开中文文件是一堆乱码,另外,xmms更加干脆,连界面也是乱码一堆!晕死!!
/etc/gtk/gtkrc.zh_CN文件是改了,如下:
style "gtk-default-zh-cn" {
fontset = "-misc-simsun-medium-r-normal--14-*-*-*-*-*-iso8859-1,\
-*-*-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0,*-r-*"
}
class "GtkWidget" style "gtk-default-zh-cn"
还是不行呀,怎么办呀
发表于 2004-3-6 07:28:00 | 显示全部楼层
-misc-simsun-medium-r-normal--14-*-*-*-*-*-iso8859-1
这个字体,改成个中文的,比如
-misc-simsun-medium-r-normal--14-*-*-*-*-*-gb2312.1980-0
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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