Opened 8 years ago
Closed 8 years ago
#3185 closed defect (fixed)
mozilla plugin does not build with xulrunner 1.9.2
| Reported by: | Götz Waschk | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.1 bugs |
| Component: | Web plugin: Mozilla | Version: | 1.0.x (bugfix) |
| Severity: | normal | Keywords: | |
| Cc: | anthony.loiseau@…, NTICompass@…, aballier@… | Difficulty: | unknown |
| Platform(s): | Linux | Work status: | Not started |
Description
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
Attachments (1)
Change History (5)
comment:1 Changed 8 years ago by
| Cc: | anthony.loiseau@… added |
|---|
Changed 8 years ago by
| Attachment: | vlc-1.0.4-new-xulrunner.patch added |
|---|
comment:2 Changed 8 years ago by
| Cc: | NTICompass@… added |
|---|
I am using Gentoo x86_64. A bug report has been filed with Gentoo about this (https://bugs.gentoo.org/show_bug.cgi?id=290318). In that bug report, someone posted a different patch (http://cvs.rpmfusion.org/viewvc/rpms/vlc/devel/vlc-1.0.4-xulrunner-192.patch?revision=1.1&root=free&view=markup). That patch worked for me. I have not tried the one posted here.
comment:3 Changed 8 years ago by
| Cc: | aballier@… added |
|---|
comment:4 Changed 8 years ago by
| Milestone: | Bugs paradize → 1.1 bugs |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
my hack to make vlc build with xulrunner 1.9.2beta5