Hi, when I try to compile mplayerplug-in for solaris 9 x86, I can't seem to get past this error.
./configure goes by with no problems but when I try to run gmake, i get.....
++ -c -Wall -g -O2 -I/usr/openwin/include -DXP_UNIX -DMOZ_X11
-DGECKOSDK_ENABLED -Iinclude -fPIC -I/usr/openwin/include -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/pango-1.0 -I/usr/openwin/include
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -D_REENTRANT
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK2_ENABLED
In file included from /usr/local/gecko-sdk/java/include/jni.h:41,
conflicting types for `typedef char * va_list'
/usr/include/stdio.h:120: previous declaration as `typedef void * va_list'
In file included from /usr/local/gecko-sdk/plugin/include/npapi.h:119,
/usr/openwin/include/X11/Xlib.h:32: warning: ignoring pragma:
In file included from /usr/local/gecko-sdk/plugin/include/npapi.h:120,
/usr/openwin/include/X11/Xutil.h:56: warning: ignoring pragma:
In file included from /usr/openwin/include/X11/Intrinsic.h:58,
/usr/openwin/include/X11/Xresource.h:56: warning: ignoring pragma:
Source/plugin.cpp: In method `NPError nsPluginInstance::SetWindow(NPWindow
Source/plugin.cpp:421: warning: unsigned int format, Window arg (arg 2)
Source/plugin.cpp:421: warning: unsigned int format, pointer arg (arg 3)
Source/plugin.cpp:430: warning: unsigned int format, pointer arg (arg 4)
Source/plugin.cpp: In method `int32 nsPluginInstance::Write(NPStream *, int,
int, void *)':
Source/plugin.cpp:1064: implicit declaration of function `int strlcpy(...)'
gmake: *** [plugin.o] Error 1
I was able to compile current CVS on Solaris 9 Sparc, but I was using gcc 3.3.2. I looks like you are using gcc 2.95
I was able to compile it with the following sequence
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.