mozilla plugin does not build with xulrunner 1.9.2
I'm trying to build vlc 1.0.4 against xulrunner 1.9.2 (from firefox 3.6.0beta4) on Mandriva Cooker:
/bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DOJI -DMOZ_X11 -I/usr/include/ebml -I/usr/include/speex -DSYS_LINUX `top_srcdir="../.." top_builddir="../.." ../../vlc-config --cxxflags mozilla` -DDATA_PATH=\"/usr/share/vlc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -c -o libvlcplugin_la-vlcshell.lo `test -f 'vlcshell.cpp' || echo './'`vlcshell.cpp
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../.. -I../../include -I../../include -DOJI -DMOZ_X11 -I/usr/include/ebml -I/usr/include/speex -DSYS_LINUX -D_FILE_OFFSET_BITS=64 -D__USE_UNIX98 -D_LARGEFILE64_SOURCE -D_REENTRANT -D_THREAD_SAFE -DHAVE_RELEASE -DXP_UNIX -DOJI -DMOZ_X11 -DOJI -DMOZ_X11 -I/usr/include/ebml -I/usr/include/speex -DSYS_LINUX -fshort-wchar -I/usr/include/xulrunner-1.9.2 -I/usr/include/nspr4 -O2 -ffast-math -funroll-loops -mtune=pentium2 -fomit-frame-pointer -DDATA_PATH=\"/usr/share/vlc\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fomit-frame-pointer -march=i586 -mtune=generic -fasynchronous-unwind-tables -c vlcshell.cpp -fPIC -DPIC -o .libs/libvlcplugin_la-vlcshell.o
In file included from vlcshell.cpp:45:
vlcplugin.h:85: error: 'uint16' has not been declared
In file included from vlcshell.cpp:45:
vlcplugin.h:138: error: 'uint16' does not name a type
In file included from vlcshell.cpp:46:
vlcshell.h:30: error: 'jref' does not name a type
vlcshell.h:33: error: 'uint16' has not been declared
vlcshell.h:33: error: 'int16' has not been declared
vlcshell.h:43: error: 'uint16' has not been declared
vlcshell.h:47: error: 'int32' does not name a type
vlcshell.h:48: error: 'int32' does not name a type
vlcshell.cpp:268: error: 'jref' does not name a type
vlcshell.cpp:278: error: 'uint16' has not been declared
vlcshell.cpp:278: error: 'int16' has not been declared
vlcshell.cpp: In function 'NPError NPP_SetWindow(NPP_t*, NPWindow*)':
vlcshell.cpp:534: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, libvlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/vlc/deprecated.h:85)
vlcshell.cpp:534: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, libvlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/vlc/deprecated.h:85)
vlcshell.cpp:558: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, libvlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/vlc/deprecated.h:85)
vlcshell.cpp:558: warning: 'void libvlc_video_set_parent(libvlc_instance_t*, libvlc_drawable_t, libvlc_exception_t*)' is deprecated (declared at ../../include/vlc/deprecated.h:85)
vlcshell.cpp: At global scope:
vlcshell.cpp:582: error: 'uint16' has not been declared
vlcshell.cpp:611: error: 'int32' does not name a type
vlcshell.cpp:617: error: 'int32' does not name a type
ICECC[19499] 19:05:23: Compiled on 192.168.2.76
make: *** [libvlcplugin_la-vlcshell.lo] Fehler 1
Configure has detected mozilla just fine:
configure: Checking for Mozilla
Using libxul.pc files.
checking npfunctions.h usability... yes
checking npfunctions.h presence... yes
checking for npfunctions.h... yes
checking npapi.h usability... yes
checking npapi.h presence... yes
checking for npapi.h... yes
checking for npruntime.h... yes
checking for XPM... yes