Page 1 of 1

Compile mozilla plugin failed

Posted: 22 Feb 2010 11:04
by djstava
ubuntu 9.10 ,vlc 1.1.0-git

sudo apt-get install mozilla-dev
./configure --enable-faad --enable-run-as-root --enable-realrtsp --enable-mkv --enable-mozilla
make

make[5]:正在离开目录 `/home/djstava/vlc/modules/stream_out'
make[4]:正在离开目录 `/home/djstava/vlc/modules/stream_out'
make[3]:正在离开目录 `/home/djstava/vlc/modules/stream_out'
Making all in mmx
make[3]: 正在进入目录 `/home/djstava/vlc/modules/mmx'
make all-am
make[4]: 正在进入目录 `/home/djstava/vlc/modules/mmx'
CC libmemcpymmx_plugin_la-memcpy.lo
CCLD libmemcpymmx_plugin.la
CC libi420_rgb_mmx_plugin_la-i420_rgb.lo
CC libi420_rgb_mmx_plugin_la-i420_rgb16.lo
CCLD libi420_rgb_mmx_plugin.la
CC libi420_yuy2_mmx_plugin_la-i420_yuy2.lo
CCLD libi420_yuy2_mmx_plugin.la
CC libi422_yuy2_mmx_plugin_la-i422_yuy2.lo
CCLD libi422_yuy2_mmx_plugin.la
make[4]:正在离开目录 `/home/djstava/vlc/modules/mmx'
make[3]:正在离开目录 `/home/djstava/vlc/modules/mmx'
Making all in mmxext
make[3]: 正在进入目录 `/home/djstava/vlc/modules/mmxext'
make all-am
make[4]: 正在进入目录 `/home/djstava/vlc/modules/mmxext'
CC libmemcpymmxext_plugin_la-memcpy.lo
CCLD libmemcpymmxext_plugin.la
make[4]:正在离开目录 `/home/djstava/vlc/modules/mmxext'
make[3]:正在离开目录 `/home/djstava/vlc/modules/mmxext'
Making all in sse2
make[3]: 正在进入目录 `/home/djstava/vlc/modules/sse2'
make all-am
make[4]: 正在进入目录 `/home/djstava/vlc/modules/sse2'
CC libi420_rgb_sse2_plugin_la-i420_rgb.lo
CC libi420_rgb_sse2_plugin_la-i420_rgb16.lo
CCLD libi420_rgb_sse2_plugin.la
CC libi420_yuy2_sse2_plugin_la-i420_yuy2.lo
CCLD libi420_yuy2_sse2_plugin.la
CC libi422_yuy2_sse2_plugin_la-i422_yuy2.lo
CCLD libi422_yuy2_sse2_plugin.la
make[4]:正在离开目录 `/home/djstava/vlc/modules/sse2'
make[3]:正在离开目录 `/home/djstava/vlc/modules/sse2'
Making all in 3dnow
make[3]: 正在进入目录 `/home/djstava/vlc/modules/3dnow'
make all-am
make[4]: 正在进入目录 `/home/djstava/vlc/modules/3dnow'
CC libmemcpy3dn_plugin_la-memcpy.lo
CCLD libmemcpy3dn_plugin.la
make[4]:正在离开目录 `/home/djstava/vlc/modules/3dnow'
make[3]:正在离开目录 `/home/djstava/vlc/modules/3dnow'
Making all in .
make[3]: 正在进入目录 `/home/djstava/vlc/modules'
GEN stamp-cache
make[3]:正在离开目录 `/home/djstava/vlc/modules'
make[2]:正在离开目录 `/home/djstava/vlc/modules'
Making all in share
make[2]: 正在进入目录 `/home/djstava/vlc/share'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/djstava/vlc/share'
Making all in doc
make[2]: 正在进入目录 `/home/djstava/vlc/doc'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/djstava/vlc/doc'
Making all in test
make[2]: 正在进入目录 `/home/djstava/vlc/test'
make[2]: 没有什么可以做的为 `all'。
make[2]:正在离开目录 `/home/djstava/vlc/test'
Making all in projects/mozilla
make[2]: 正在进入目录 `/home/djstava/vlc/projects/mozilla'
CXX libvlcplugin_la-vlcshell.lo
CXX libvlcplugin_la-vlcplugin.lo
vlcplugin.cpp: In static member function ‘static void VlcPlugin::event_callback(const libvlc_event_t*, void*)’:
vlcplugin.cpp:142: error: ‘NPN_PluginThreadAsyncCall’ was not declared in this scope
vlcplugin.cpp: In member function ‘void VlcPlugin::showToolbar()’:
vlcplugin.cpp:777: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:784: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:793: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:801: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:809: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:817: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:825: warning: deprecated conversion from string constant to ‘char*’
vlcplugin.cpp:832: warning: deprecated conversion from string constant to ‘char*’
make[2]: *** [libvlcplugin_la-vlcplugin.lo] error 1
make[2]:leaving directory `/home/djstava/vlc/projects/mozilla'
make[1]: *** [all-recursive] error 1
make[1]:leaving directory `/home/djstava/vlc'
make: *** [all] error 2

And I tried with config
get the gecko sdk here:http://ftp.mozilla.org/pub/mozilla.org/ ... illa1.8b1/
./configure --enable-faad --enable-run-as-root --enable-realrtsp --enable-mkv --enable-mozilla --with-mozilla-sdk-path=/home/djstava/gecko-sdk/include/
make

Error all the same.

Need some help,thanks.

Re: Compile mozilla plugin failed

Posted: 22 Feb 2010 12:29
by xtophe
use xulrunner-dev 1.9.1 from ubuntu isntead of this gecko sdk

Re: Compile mozilla plugin failed

Posted: 23 Feb 2010 04:49
by djstava
Thanks,it works.

Re: Compile mozilla plugin failed

Posted: 15 Apr 2010 03:17
by qiuxg063
The error was present when I did it by Win32CompileMSYSNew. Can be resolved by download the same sdk?

Re: Compile mozilla plugin failed

Posted: 27 Apr 2010 09:42
by djstava
The newest vlc git use xulrunner-dev 1.9.2 now.