LinuxSir.cn,穿越时空的Linuxsir!

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

我的mplayerplug-in装不上去。郁闷啊。什么歌都听不了

[复制链接]
发表于 2005-10-10 16:19:17 | 显示全部楼层 |阅读模式
我的安装方法和步骤如下:

1.tar -xzvf mplayerplug-in-3.11.tar.gz

2. cd mplayerplug-in

3. ./configure  --prefix=/usr/local/mplayer/ --with-gecko-sdk=/path/to/gecko-sdk --enable-gtk2 --enable-gtk1 --enable-x --enable-wmp --enable-qt --enable-rm --enable-wmp
--enable-gmp

4.make&&makeinstall

然后就出现下面的错误提示 :

Source/plugin.cpp:818: ISO C++ forbids declaration of `gtk_widget_set_events'
   with no type
Source/plugin.cpp:818: redefinition of `int gtk_widget_set_events'
Source/plugin.cpp:675: `int gtk_widget_set_events' previously defined here
Source/plugin.cpp:818: initializer list being treated as compound expression
Source/plugin.cpp:826: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:826: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:826: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:826: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:826: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:829: invalid use of member `nsPluginInstance::popup_menu'
Source/plugin.cpp:829: invalid use of member `nsPluginInstance::popup_menu'
Source/plugin.cpp:829: invalid use of member `nsPluginInstance::popup_menu'
Source/plugin.cpp:829: invalid use of member `nsPluginInstance::popup_menu'
Source/plugin.cpp:829: invalid use of member `nsPluginInstance::popup_menu'
Source/plugin.cpp:829: ISO C++ forbids declaration of `
   gtk_signal_connect_object' with no type
Source/plugin.cpp:829: redefinition of `int gtk_signal_connect_object'
Source/plugin.cpp:791: `int gtk_signal_connect_object' previously defined here
Source/plugin.cpp:829: initializer list being treated as compound expression
Source/plugin.cpp:831: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:831: invalid use of member `nsPluginInstance::fixed_container
   '
Source/plugin.cpp:831: ISO C++ forbids declaration of `gtk_container_add' with
   no type
Source/plugin.cpp:831: `int gtk_container_add' redeclared as different kind of
   symbol
/usr/include/gtk-1.2/gtk/gtkcontainer.h:112: previous declaration of `void
   gtk_container_add(GtkContainer*, GtkWidget*)'
Source/plugin.cpp:831: initializer list being treated as compound expression
Source/plugin.cpp:833: ISO C++ forbids declaration of `status' with no type
Source/plugin.cpp:833: redefinition of `int status'
Source/plugin.cpp:221: `int status' previously defined here
Source/plugin.cpp:833: invalid conversion from `GtkLabel*' to `int'
Source/plugin.cpp:834: ISO C++ forbids declaration of `progress_bar' with no
   type
Source/plugin.cpp:834: redefinition of `int progress_bar'
Source/plugin.cpp:219: `int progress_bar' previously defined here
Source/plugin.cpp:834: invalid conversion from `GtkProgressBar*' to `int'
Source/plugin.cpp:836: syntax error before `if'
Source/plugin.cpp:849: invalid use of member `nsPluginInstance::gtkwidget'
Source/plugin.cpp:849: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:849: redefinition of `int gtk_widget_show'
Source/plugin.cpp:746: `int gtk_widget_show' previously defined here
Source/plugin.cpp:850: ISO C++ forbids declaration of `logo' with no type
Source/plugin.cpp:850: invalid use of member `nsPluginInstance::gtkwidget'
Source/plugin.cpp:852: ISO C++ forbids declaration of `image' with no type
Source/plugin.cpp:852: redefinition of `int image'
Source/plugin.cpp:218: `int image' previously defined here
Source/plugin.cpp:852: invalid use of member `nsPluginInstance::logo'
Source/plugin.cpp:853: invalid use of member `nsPluginInstance::fixed_container
   '
Source/plugin.cpp:853: invalid use of member `nsPluginInstance::image'
Source/plugin.cpp:854: ISO C++ forbids declaration of `gtk_fixed_put' with no
   type
Source/plugin.cpp:854: `int gtk_fixed_put' redeclared as different kind of
   symbol
/usr/include/gtk-1.2/gtk/gtkfixed.h:76: previous declaration of `void
   gtk_fixed_put(GtkFixed*, GtkWidget*, short int, short int)'
Source/plugin.cpp:854: initializer list being treated as compound expression
Source/plugin.cpp:855: invalid use of member `nsPluginInstance::progress_bar'
Source/plugin.cpp:856: `aWindow' was not declared in this scope
Source/plugin.cpp:856: ISO C++ forbids declaration of `gtk_widget_set_usize'
   with no type
Source/plugin.cpp:856: redefinition of `int gtk_widget_set_usize'
Source/plugin.cpp:688: `int gtk_widget_set_usize' previously defined here
Source/plugin.cpp:856: initializer list being treated as compound expression
Source/plugin.cpp:857: invalid use of member `nsPluginInstance::status'
Source/plugin.cpp:858: `aWindow' was not declared in this scope
Source/plugin.cpp:859: `aWindow' was not declared in this scope
Source/plugin.cpp:859: ISO C++ forbids declaration of `gtk_widget_set_usize'
   with no type
Source/plugin.cpp:859: redefinition of `int gtk_widget_set_usize'
Source/plugin.cpp:856: `int gtk_widget_set_usize' previously defined here
Source/plugin.cpp:859: initializer list being treated as compound expression
Source/plugin.cpp:861: invalid use of member `nsPluginInstance::fixed_container
   '
Source/plugin.cpp:862: invalid use of member `nsPluginInstance::progress_bar'
Source/plugin.cpp:863: `aWindow' was not declared in this scope
Source/plugin.cpp:863: ISO C++ forbids declaration of `gtk_fixed_put' with no
   type
Source/plugin.cpp:863: redefinition of `int gtk_fixed_put'
Source/plugin.cpp:854: `int gtk_fixed_put' previously defined here
Source/plugin.cpp:863: initializer list being treated as compound expression
Source/plugin.cpp:864: syntax error before `if'
Source/plugin.cpp:866: invalid use of member `nsPluginInstance::progress_bar'
Source/plugin.cpp:866: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:866: redefinition of `int gtk_widget_show'
Source/plugin.cpp:849: `int gtk_widget_show' previously defined here
Source/plugin.cpp:867: invalid use of member `nsPluginInstance::fixed_container
   '
Source/plugin.cpp:867: invalid use of member `nsPluginInstance::status'
Source/plugin.cpp:868: ISO C++ forbids declaration of `gtk_fixed_put' with no
   type
Source/plugin.cpp:868: redefinition of `int gtk_fixed_put'
Source/plugin.cpp:863: `int gtk_fixed_put' previously defined here
Source/plugin.cpp:868: initializer list being treated as compound expression
Source/plugin.cpp:869: syntax error before `}' token
Source/plugin.cpp:882: invalid use of member `nsPluginInstance::fixed_container
   '
Source/plugin.cpp:883: invalid use of member `nsPluginInstance::progress_bar'
Source/plugin.cpp:884: `aWindow' was not declared in this scope
Source/plugin.cpp:884: ISO C++ forbids declaration of `gtk_fixed_put' with no
   type
Source/plugin.cpp:884: redefinition of `int gtk_fixed_put'
Source/plugin.cpp:868: `int gtk_fixed_put' previously defined here
Source/plugin.cpp:884: initializer list being treated as compound expression
Source/plugin.cpp:885: invalid use of member `nsPluginInstance::progress_bar'
Source/plugin.cpp:885: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:885: redefinition of `int gtk_widget_show'
Source/plugin.cpp:866: `int gtk_widget_show' previously defined here
Source/plugin.cpp:894: syntax error before `if'
Source/plugin.cpp:896: invalid use of member `nsPluginInstance::progress_bar'
Source/plugin.cpp:897: `aWindow' was not declared in this scope
Source/plugin.cpp:897: ISO C++ forbids declaration of `gtk_widget_set_usize'
   with no type
Source/plugin.cpp:897: redefinition of `int gtk_widget_set_usize'
Source/plugin.cpp:859: `int gtk_widget_set_usize' previously defined here
Source/plugin.cpp:897: initializer list being treated as compound expression
Source/plugin.cpp:898: invalid use of member `nsPluginInstance::status'
Source/plugin.cpp:899: `aWindow' was not declared in this scope
Source/plugin.cpp:900: `aWindow' was not declared in this scope
Source/plugin.cpp:900: ISO C++ forbids declaration of `gtk_widget_set_usize'
   with no type
Source/plugin.cpp:900: redefinition of `int gtk_widget_set_usize'
Source/plugin.cpp:897: `int gtk_widget_set_usize' previously defined here
Source/plugin.cpp:900: initializer list being treated as compound expression
Source/plugin.cpp:902: syntax error before `}' token
Source/plugin.cpp:904: invalid use of member `nsPluginInstance::status'
Source/plugin.cpp:904: ISO C++ forbids declaration of `gtk_misc_set_alignment'
   with no type
Source/plugin.cpp:904: `int gtk_misc_set_alignment' redeclared as different
   kind of symbol
/usr/include/gtk-1.2/gtk/gtkmisc.h:70: previous declaration of `void
   gtk_misc_set_alignment(GtkMisc*, float, float)'
Source/plugin.cpp:904: initializer list being treated as compound expression
Source/plugin.cpp:905: invalid use of member `nsPluginInstance::status'
Source/plugin.cpp:905: ISO C++ forbids declaration of `gtk_label_set_line_wrap'
   with no type
Source/plugin.cpp:905: `int gtk_label_set_line_wrap' redeclared as different
   kind of symbol
/usr/include/gtk-1.2/gtk/gtklabel.h:81: previous declaration of `void
   gtk_label_set_line_wrap(GtkLabel*, int)'
Source/plugin.cpp:905: initializer list being treated as compound expression
Source/plugin.cpp:906: invalid use of member `nsPluginInstance::gtkwidget'
Source/plugin.cpp:906: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:906: ISO C++ forbids declaration of `gtk_container_add' with
   no type
Source/plugin.cpp:906: redefinition of `int gtk_container_add'
Source/plugin.cpp:831: `int gtk_container_add' previously defined here
Source/plugin.cpp:906: initializer list being treated as compound expression
Source/plugin.cpp:907: invalid use of member `nsPluginInstance::status'
Source/plugin.cpp:907: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:907: redefinition of `int gtk_widget_show'
Source/plugin.cpp:885: `int gtk_widget_show' previously defined here
Source/plugin.cpp:908: invalid use of member `nsPluginInstance::fixed_container
   '
Source/plugin.cpp:908: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:908: redefinition of `int gtk_widget_show'
Source/plugin.cpp:907: `int gtk_widget_show' previously defined here
Source/plugin.cpp:909: invalid use of member `nsPluginInstance::fixed_event_box
   '
Source/plugin.cpp:909: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:909: redefinition of `int gtk_widget_show'
Source/plugin.cpp:908: `int gtk_widget_show' previously defined here
Source/plugin.cpp:910: invalid use of member `nsPluginInstance::gtkwidget'
Source/plugin.cpp:910: ISO C++ forbids declaration of `gtk_widget_show' with no
   type
Source/plugin.cpp:910: redefinition of `int gtk_widget_show'
Source/plugin.cpp:909: `int gtk_widget_show' previously defined here
Source/plugin.cpp:912: syntax error before `if'

........................................


Source/plugin.cpp:2676: `int nsPluginInstance::GetPlaying' is not a static
   member of `class nsPluginInstance'
Source/plugin.cpp:2676: syntax error before `{' token
Source/plugin.cpp:2685: ISO C++ forbids declaration of `_retval' with no type
Source/plugin.cpp:2685: `PRBool' was not declared in this scope
Source/plugin.cpp:2685: syntax error before `;' token
Source/plugin.cpp:2689: `PRBool' was not declared in this scope
Source/plugin.cpp:2690: variable or field `GetAutoPlay' declared void
Source/plugin.cpp:2690: `int nsPluginInstance::GetAutoPlay' is not a static
   member of `class nsPluginInstance'
Source/plugin.cpp:2690: syntax error before `{' token
Source/plugin.cpp:2695: syntax error before `)' token
Source/plugin.cpp:2700: `PRBool' was not declared in this scope
Source/plugin.cpp:2701: variable or field `GetLoop' declared void
Source/plugin.cpp:2701: `int nsPluginInstance::GetLoop' is not a static member
   of `class nsPluginInstance'
Source/plugin.cpp:2701: syntax error before `{' token
Source/plugin.cpp:2706: syntax error before `)' token
Source/plugin.cpp:2726: syntax error before `::' token
Source/plugin.cpp:2744: syntax error before `*' token
Source/plugin.cpp:2747: syntax error before `*' token
Source/plugin.cpp: In member function `nsScriptablePeer*
   nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2772: `NS_ADDREF' undeclared (first use this function)
make: *** [plugin.o] Error 1
[root@wh mplayerplug-in]#
 楼主| 发表于 2005-10-11 17:50:11 | 显示全部楼层
现在MPLAYER已经装上去了,可是我在本地无法调用了。怎么回事啊
回复 支持 反对

使用道具 举报

发表于 2005-10-11 23:46:20 | 显示全部楼层
guan zhu zhong
回复 支持 反对

使用道具 举报

发表于 2005-10-12 14:39:22 | 显示全部楼层
要先装mozilla-devel和gecko-sdk, 再装mplayerplugin
你应该没装
不过我自己虽然装上去了, 但是视频下载到99%就不动了, 求救
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-10-12 14:51:44 | 显示全部楼层
我的问题已经解决了
我是先用光盘上的RPM包装的mplayer1.04版。然后安装mplayerplug-in
然后发现有问题,就安装了gecko-sdk.后来发现还是无法实现在线听歌
一气之下。把mplayer1.04版删除了。下载了1。07版的源码包。编辑安装
问题也不少。。。。。。。原因是因为我是一个新手。到处找安装方法
有的地方写的方法。都不是很详细。我一个菜鸟又不知道。所以错误百出

不过现在问题已经解决了。我的mplayer mplayerplug-in 都安装上去了

而且mplayer也实现了本地调用。现在的问题又来了.mp3.baidu.com上面有的MP3
听不了。 有的又听的了。也不是听不了。就是没有声音。。。。。。。。真是莫明奇妙

还有我装了realone 10 可是无法在网上播放 RM 格式的歌曲。我估计凡是要用REALONE播放的歌曲都不能播放

你说的下到99%就不能放了的事,我没有那样放。我是直接在网页里面放的,不用下载来收听。
1.07版的在网页中点右键,可以设置成直接播放。不用下载。好了。就这些。

我是一个菜鸟。哎。问题不少,希望高手能多帮帮我。


我有一个LINUX的QQ群,号码是:10301046             有兴趣的朋友可以加进来一起学习和讨论
回复 支持 反对

使用道具 举报

发表于 2005-10-12 16:10:35 | 显示全部楼层
我就是说在网页里放视频, 下载进度显示到99%就不动了
回复 支持 反对

使用道具 举报

发表于 2005-10-12 16:30:29 | 显示全部楼层
你是怎么装的, 我怎么不行, 我也是mplayer1.07, mplayerplugin3.11, firefox不过我是redhat9
你的gecko-sdk是什么版本?
回复 支持 反对

使用道具 举报

发表于 2005-10-12 17:49:43 | 显示全部楼层
问题解决了, 99%其实就是不能启动mplayer, 把mplayer  ln -s到/usr/bin中即可. 还是翻老帖子得到了, 不好意思
不过我在编译mplayerplugin时, 用的--enable-x, enable-gtk1和enable-gtk2都不能用, 默认是enable-gtk2
不知道有没有人和我一样?
回复 支持 反对

使用道具 举报

发表于 2005-10-12 21:16:55 | 显示全部楼层
Post by nhazi
你是怎么装的, 我怎么不行, 我也是mplayer1.07, mplayerplugin3.11, firefox不过我是redhat9
你的gecko-sdk是什么版本?

plugin 哪儿有下呢??
回复 支持 反对

使用道具 举报

发表于 2005-10-13 09:23:43 | 显示全部楼层
回复 支持 反对

使用道具 举报

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

本版积分规则

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