Compile mozilla plugin failed

*nix specific usage questions
djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Compile mozilla plugin failed

Postby djstava » 22 Feb 2010 11:04

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.

xtophe
Big Cone-huna
Big Cone-huna
Posts: 1209
Joined: 24 Nov 2003 10:12
Location: Bristol, England

Re: Compile mozilla plugin failed

Postby xtophe » 22 Feb 2010 12:29

use xulrunner-dev 1.9.1 from ubuntu isntead of this gecko sdk
Xtophe

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: Compile mozilla plugin failed

Postby djstava » 23 Feb 2010 04:49

Thanks,it works.

qiuxg063
New Cone
New Cone
Posts: 1
Joined: 15 Apr 2010 03:01

Re: Compile mozilla plugin failed

Postby qiuxg063 » 15 Apr 2010 03:17

The error was present when I did it by Win32CompileMSYSNew. Can be resolved by download the same sdk?

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: Compile mozilla plugin failed

Postby djstava » 27 Apr 2010 09:42

The newest vlc git use xulrunner-dev 1.9.2 now.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests