how to complie

"honghui wang" <[email protected]> Mon, 8 Dec 2008 16:44:31 +0800
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
--===============4495252678520960328==
Content-Type: multipart/alternative; 
	boundary="----=_Part_466_27372881.1228725871858"

------=_Part_466_27372881.1228725871858
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello everybody, I had a problem  to  complie mplayer -plugin from source
code , my system is ubuntu version 8, and I'm using xulrunner 1.9.0.4,
firefox 3.0.4.
used below command  to configure
./configure --with-gecko-sdk=/home/honghui/xpcomdir/xulrunner-sdk/sdk
output:

checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
Using new (v1.7+) gecko-sdk
checking for pkg-config... /usr/bin/pkg-config
checking for gtk+-2.0... yes
checking GTK_CFLAGS... -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/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0
-lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl
-lglib-2.0
checking for gtk+-2.0 >= 2.4.0... yes
checking GTK24_CFLAGS... -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/freetype2
-I/usr/include/libpng12 -I/usr/include/pixman-1
checking GTK24_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0
checking for gthread-2.0... yes
checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0
checking how to run the C preprocessor... gcc -E
checking for x11... yes
checking X_CFLAGS...
checking X_LIBS... -lX11
checking for xt... checking whether -R must be followed by a space...
neither works
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for xpm... yes
checking XPM_CFLAGS...
checking XPM_LIBS... -lXpm -lX11
checking for ANSI C header files... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for an ANSI C-conforming const... yes
checking whether time.h and sys/time.h may both be included... yes
checking for pid_t... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for memset... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strstr... yes
checking for strrchr... yes
checking for snprintf... yes
checking for mkfifo... yes
checking for dup2... yes
checking for gettimeofday... yes
checking for strerror... yes
checking for strtol... yes
checking for mkdir... yes
checking for setlocale... yes
checking for memmem... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for sys/wait.h that is POSIX.1 compatible... yes
checking return type of signal handlers... void
checking for DPMSQueryExtension in -lXdpms... no
checking for X11/extensions/dpms.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: WARNING:  Makefile.in seems to ignore the --datarootdir
setting
config.status: creating po/Makefile
config.status: WARNING:  po/Makefile.in seems to ignore the --datarootdir
setting
config.status: creating install.sh
config.status: WARNING:  install.sh.in seems to ignore the --datarootdir
setting
config.status: creating uninstall.sh
config.status: creating config.h
config.status: config.h is unchanged

and then make:

g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11
-I/home/honghui/xpcomdir/xulrunner-sdk/sdk
-I/home/honghui/xpcomdir/xulrunner-sdk/sdk/include -g -O2   -INONE   -g -O2
-Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1
-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/freetype2 -I/usr/include/libpng12
-I/usr/include/pixman-1   -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -DGTK_ENABLED   Source/plugin.cpp
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28:60: error: macro
"NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro
"NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
In file included from Source/plugin.h:55,
                 from Source/plugin.cpp:37:
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or
directory
Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such file or
directory
In file included from Source/nsScriptablePeer.h:48,
                 from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration
of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration
of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before
'virtual'
In file included from Source/plugin.h:54,
                 from Source/plugin.cpp:37:
Source/nsScriptablePeer.h: In member function 'virtual nsresult
nsClassInfoMixin::GetImplementationLanguage(PRUint32*)':
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has not been
declared
In file included from Source/plugin.h:55,
                 from Source/plugin.cpp:37:
Source/plugin-setup.h: At global scope:
Source/plugin-setup.h:134: error: 'Widget' does not name a type
Source/plugin-setup.h:205: error: variable or field 'DrawUI' declared void
Source/plugin-setup.h:205: error: 'Widget' was not declared in this scope
Source/plugin-setup.h:205: error: expected primary-expression before '*'
token
Source/plugin-setup.h:205: error: 'instance' was not declared in this scope
Source/plugin-setup.h:205: error: expected primary-expression before 'char'
Source/plugin-setup.h:206: error: expected primary-expression before 'int'
Source/plugin-setup.h:206: error: expected primary-expression before 'int'
Source/plugin-setup.h:208: warning: 'RedrawCB' initialized and declared
'extern'
Source/plugin-setup.h:208: error: variable or field 'RedrawCB' declared void
Source/plugin-setup.h:208: error: 'Widget' was not declared in this scope
Source/plugin-setup.h:208: error: 'XtPointer' was not declared in this scope
Source/plugin-setup.h:209: error: 'XtPointer' was not declared in this scope
In file included from Source/plugin.cpp:37:
Source/plugin.h:176: error: 'Widget' does not name a type
Source/plugin.cpp: In function 'NPError NS_PluginInitialize()':
Source/plugin.cpp:101: warning: dereferencing type-punned pointer will break
strict-aliasing rules
Source/plugin.cpp: In constructor
'nsPluginInstance::nsPluginInstance(NPP_t*)':
Source/plugin.cpp:208: error: 'widget' was not declared in this scope
Source/plugin.cpp: In member function 'void nsPluginInstance::shutdown()':
Source/plugin.cpp:437: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:440: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::Play()':
Source/plugin.cpp:2241: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::Pause()':
Source/plugin.cpp:2271: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::Stop()':
Source/plugin.cpp:2291: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2293: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2303: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::Quit()':
Source/plugin.cpp:2321: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2322: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void
nsPluginInstance::FastForward()':
Source/plugin.cpp:2348: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2349: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2351: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void
nsPluginInstance::FastReverse()':
Source/plugin.cpp:2375: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2376: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2378: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::Seek(double)':
Source/plugin.cpp:2391: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp:2395: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::VolumeUp()':
Source/plugin.cpp:2409: warning: deprecated conversion from string constant
to 'char*'
Source/plugin.cpp: In member function 'void nsPluginInstance::VolumeDown()':
Source/plugin.cpp:2423: warning: deprecated conversion from string constant
to 'char*'
make: *** [plugin.o] Error 1

That get wrong ,and  whish is  the right way to complie mplayer-plugin ?

Thinks

------=_Part_466_27372881.1228725871858
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

hello everybody, I had a problem&nbsp; to&nbsp; complie mplayer -plugin from source code , my system is ubuntu version 8, and I&#39;m using xulrunner <a href="http://1.9.0.4">1.9.0.4</a>, firefox <a href="http://3.0.4.">3.0.4.</a><br>
used below command&nbsp; to configure<br>./configure --with-gecko-sdk=/home/honghui/xpcomdir/xulrunner-sdk/sdk<br>output:<br><br>checking for g++... g++<br>checking for C++ compiler default output file name... a.out<br>checking whether the C++ compiler works... yes<br>
checking whether we are cross compiling... no<br>checking for suffix of executables... <br>checking for suffix of object files... o<br>checking whether we are using the GNU C++ compiler... yes<br>checking whether g++ accepts -g... yes<br>
checking for gcc... gcc<br>checking whether we are using the GNU C compiler... yes<br>checking whether gcc accepts -g... yes<br>checking for gcc option to accept ISO C89... none needed<br>checking for a BSD-compatible install... /usr/bin/install -c<br>
checking for gawk... gawk<br>checking whether make sets $(MAKE)... yes<br>Using new (v1.7+) gecko-sdk<br>checking for pkg-config... /usr/bin/pkg-config<br>checking for gtk+-2.0... yes<br>checking GTK_CFLAGS... -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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1&nbsp; <br>
checking GTK_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0&nbsp; <br>checking for gtk+-2.0 &gt;= <a href="http://2.4.0.">2.4.0.</a>.. yes<br>
checking GTK24_CFLAGS... -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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1&nbsp; <br>
checking GTK24_LIBS... -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0&nbsp; <br>checking for gthread-2.0... yes<br>checking GTHREAD_CFLAGS... -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include&nbsp; <br>
checking GTHREAD_LIBS... -pthread -lgthread-2.0 -lrt -lglib-2.0&nbsp; <br>checking how to run the C preprocessor... gcc -E<br>checking for x11... yes<br>checking X_CFLAGS...&nbsp; <br>checking X_LIBS... -lX11&nbsp; <br>checking for xt... checking whether -R must be followed by a space... neither works<br>
checking for gethostbyname... yes<br>checking for connect... yes<br>checking for remove... yes<br>checking for shmat... yes<br>checking for IceConnectionNumber in -lICE... yes<br>checking for grep that handles long lines and -e... /bin/grep<br>
checking for egrep... /bin/grep -E<br>checking for ANSI C header files... yes<br>checking for sys/types.h... yes<br>checking for sys/stat.h... yes<br>checking for stdlib.h... yes<br>checking for string.h... yes<br>checking for memory.h... yes<br>
checking for strings.h... yes<br>checking for inttypes.h... yes<br>checking for stdint.h... yes<br>checking for unistd.h... yes<br>checking for xpm... yes<br>checking XPM_CFLAGS...&nbsp; <br>checking XPM_LIBS... -lXpm -lX11&nbsp; <br>
checking for ANSI C header files... (cached) yes<br>checking stddef.h usability... yes<br>checking stddef.h presence... yes<br>checking for stddef.h... yes<br>checking for stdlib.h... (cached) yes<br>checking for unistd.h... (cached) yes<br>
checking for sys/stat.h... (cached) yes<br>checking fcntl.h usability... yes<br>checking fcntl.h presence... yes<br>checking for fcntl.h... yes<br>checking for an ANSI C-conforming const... yes<br>checking whether time.h and sys/time.h may both be included... yes<br>
checking for pid_t... yes<br>checking for size_t... yes<br>checking for stdlib.h... (cached) yes<br>checking for GNU libc compatible malloc... yes<br>checking vfork.h usability... no<br>checking vfork.h presence... no<br>
checking for vfork.h... no<br>checking for fork... yes<br>checking for vfork... yes<br>checking for working fork... yes<br>checking for working vfork... (cached) yes<br>checking for memset... yes<br>checking for strcasecmp... yes<br>
checking for strchr... yes<br>checking for strdup... yes<br>checking for strncasecmp... yes<br>checking for strstr... yes<br>checking for strrchr... yes<br>checking for snprintf... yes<br>checking for mkfifo... yes<br>checking for dup2... yes<br>
checking for gettimeofday... yes<br>checking for strerror... yes<br>checking for strtol... yes<br>checking for mkdir... yes<br>checking for setlocale... yes<br>checking for memmem... yes<br>checking libintl.h usability... yes<br>
checking libintl.h presence... yes<br>checking for libintl.h... yes<br>checking sys/time.h usability... yes<br>checking sys/time.h presence... yes<br>checking for sys/time.h... yes<br>checking sys/param.h usability... yes<br>
checking sys/param.h presence... yes<br>checking for sys/param.h... yes<br>checking locale.h usability... yes<br>checking locale.h presence... yes<br>checking for locale.h... yes<br>checking for stdbool.h that conforms to C99... yes<br>
checking for _Bool... yes<br>checking for sys/wait.h that is POSIX.1 compatible... yes<br>checking return type of signal handlers... void<br>checking for DPMSQueryExtension in -lXdpms... no<br>checking for X11/extensions/dpms.h... yes<br>
configure: creating ./config.status<br>config.status: creating Makefile<br>config.status: WARNING:&nbsp; Makefile.in seems to ignore the --datarootdir setting<br>config.status: creating po/Makefile<br>config.status: WARNING:&nbsp; po/Makefile.in seems to ignore the --datarootdir setting<br>
config.status: creating install.sh<br>config.status: WARNING:&nbsp; <a href="http://install.sh.in">install.sh.in</a> seems to ignore the --datarootdir setting<br>config.status: creating uninstall.sh<br>config.status: creating config.h<br>
config.status: config.h is unchanged<br><br>and then make:<br><br>g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -I/home/honghui/xpcomdir/xulrunner-sdk/sdk -I/home/honghui/xpcomdir/xulrunner-sdk/sdk/include -g -O2&nbsp;&nbsp; -INONE&nbsp;&nbsp; -g -O2&nbsp; -Iinclude -fPIC -DXPCOM_GLUE -DMOZILLA_STRICT_API -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/freetype2 -I/usr/include/libpng12 -I/usr/include/pixman-1&nbsp;&nbsp; -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/freetype2 -I/usr/include/libpng12 -I/usr/include/pix
 man-1&nbsp;&nbsp; -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include&nbsp;&nbsp; -DGTK_ENABLED&nbsp;&nbsp; Source/plugin.cpp<br>
In file included from Source/nsScriptablePeer.h:48,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.h:54,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.cpp:37:<br>Source/nsIScriptableMplayerPlugin.h:28:60: error: macro &quot;NS_DEFINE_STATIC_IID_ACCESSOR&quot; requires 2 arguments, but only 1 given<br>
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro &quot;NS_DEFINE_STATIC_IID_ACCESSOR&quot; requires 2 arguments, but only 1 given<br>In file included from Source/plugin.h:55,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.cpp:37:<br>
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or directory<br>Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such file or directory<br>In file included from Source/nsScriptablePeer.h:48,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.h:54,<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.cpp:37:<br>Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of &#39;NS_DEFINE_STATIC_IID_ACCESSOR&#39; with no type<br>Source/nsIScriptableMplayerPlugin.h:31: error: expected &#39;;&#39; before &#39;virtual&#39;<br>
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of &#39;NS_DEFINE_STATIC_IID_ACCESSOR&#39; with no type<br>Source/nsIScriptableMplayerPlugin.h:126: error: expected &#39;;&#39; before &#39;virtual&#39;<br>
In file included from Source/plugin.h:54,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.cpp:37:<br>Source/nsScriptablePeer.h: In member function &#39;virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)&#39;:<br>
Source/nsScriptablePeer.h:64: error: &#39;nsIProgrammingLanguage&#39; has not been declared<br>In file included from Source/plugin.h:55,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; from Source/plugin.cpp:37:<br>Source/plugin-setup.h: At global scope:<br>
Source/plugin-setup.h:134: error: &#39;Widget&#39; does not name a type<br>Source/plugin-setup.h:205: error: variable or field &#39;DrawUI&#39; declared void<br>Source/plugin-setup.h:205: error: &#39;Widget&#39; was not declared in this scope<br>
Source/plugin-setup.h:205: error: expected primary-expression before &#39;*&#39; token<br>Source/plugin-setup.h:205: error: &#39;instance&#39; was not declared in this scope<br>Source/plugin-setup.h:205: error: expected primary-expression before &#39;char&#39;<br>
Source/plugin-setup.h:206: error: expected primary-expression before &#39;int&#39;<br>Source/plugin-setup.h:206: error: expected primary-expression before &#39;int&#39;<br>Source/plugin-setup.h:208: warning: &#39;RedrawCB&#39; initialized and declared &#39;extern&#39;<br>
Source/plugin-setup.h:208: error: variable or field &#39;RedrawCB&#39; declared void<br>Source/plugin-setup.h:208: error: &#39;Widget&#39; was not declared in this scope<br>Source/plugin-setup.h:208: error: &#39;XtPointer&#39; was not declared in this scope<br>
Source/plugin-setup.h:209: error: &#39;XtPointer&#39; was not declared in this scope<br>In file included from Source/plugin.cpp:37:<br>Source/plugin.h:176: error: &#39;Widget&#39; does not name a type<br>Source/plugin.cpp: In function &#39;NPError NS_PluginInitialize()&#39;:<br>
Source/plugin.cpp:101: warning: dereferencing type-punned pointer will break strict-aliasing rules<br>Source/plugin.cpp: In constructor &#39;nsPluginInstance::nsPluginInstance(NPP_t*)&#39;:<br>Source/plugin.cpp:208: error: &#39;widget&#39; was not declared in this scope<br>
Source/plugin.cpp: In member function &#39;void nsPluginInstance::shutdown()&#39;:<br>Source/plugin.cpp:437: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp:440: warning: deprecated conversion from string constant to &#39;char*&#39;<br>
Source/plugin.cpp: In member function &#39;void nsPluginInstance::Play()&#39;:<br>Source/plugin.cpp:2241: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp: In member function &#39;void nsPluginInstance::Pause()&#39;:<br>
Source/plugin.cpp:2271: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp: In member function &#39;void nsPluginInstance::Stop()&#39;:<br>Source/plugin.cpp:2291: warning: deprecated conversion from string constant to &#39;char*&#39;<br>
Source/plugin.cpp:2293: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp:2303: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp: In member function &#39;void nsPluginInstance::Quit()&#39;:<br>
Source/plugin.cpp:2321: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp:2322: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp: In member function &#39;void nsPluginInstance::FastForward()&#39;:<br>
Source/plugin.cpp:2348: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp:2349: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp:2351: warning: deprecated conversion from string constant to &#39;char*&#39;<br>
Source/plugin.cpp: In member function &#39;void nsPluginInstance::FastReverse()&#39;:<br>Source/plugin.cpp:2375: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp:2376: warning: deprecated conversion from string constant to &#39;char*&#39;<br>
Source/plugin.cpp:2378: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp: In member function &#39;void nsPluginInstance::Seek(double)&#39;:<br>Source/plugin.cpp:2391: warning: deprecated conversion from string constant to &#39;char*&#39;<br>
Source/plugin.cpp:2395: warning: deprecated conversion from string constant to &#39;char*&#39;<br>Source/plugin.cpp: In member function &#39;void nsPluginInstance::VolumeUp()&#39;:<br>Source/plugin.cpp:2409: warning: deprecated conversion from string constant to &#39;char*&#39;<br>
Source/plugin.cpp: In member function &#39;void nsPluginInstance::VolumeDown()&#39;:<br>Source/plugin.cpp:2423: warning: deprecated conversion from string constant to &#39;char*&#39;<br>make: *** [plugin.o] Error 1<br><br>
That get wrong ,and&nbsp; whish is&nbsp; the right way to complie mplayer-plugin ? <br><br>Thinks <br><br><br><br><br>

------=_Part_466_27372881.1228725871858--


--===============4495252678520960328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
--===============4495252678520960328==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Mplayerplug-in-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mplayerplug-in-devel

--===============4495252678520960328==--