|
|
我的安装方法和步骤如下:
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]# |
|