Re: Need help in compile mplayer plugin

Kevin DeKorte <[email protected]> Sat, 08 Dec 2007 15:11:05 -0700
Newsgroups gmane.comp.mozilla.mplayerplug-in
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ying lcs wrote:
> Hi,
> 
> i am trying to compile mplayer plugin under ubuntu.
> 
> I run  'configure' with this option:./configure
> --with-gecko-sdk=../gecko-sdk and it completes successfully.
> 
> But when I compile, i get this error:
> 
> 
> Source/plugin-list.cpp:316: warning: unused variable 'loopentry'
> g++ -c -o plugin-ui.o -Wall -DXP_UNIX -DMOZ_X11 -I../gecko-sdk
> -I../gecko-sdk/include -g -O2      -g -O2  -Iinclude -fPIC
> -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/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12   -I/usr/include/gtk-2.0
> -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/freetype2
> -I/usr/include/libpng12   -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include   -DGTK_ENABLED  Source/plugin-ui.cpp
> Source/plugin-ui.cpp:6:21: error: X11/xpm.h: No such file or directory
> include/pluginbase.h:55: warning: 'class nsPluginInstanceBase' has
> virtual functions but non-virtual destructor
> 
> 
> Thank you for any pointers

Install libxpm-dev on your machine and it should work.

Kevin


- --
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD4DBQFHWxZ56w2kMH0L1dERAp4jAJd4/n79FSAtpRPkkK+rOf1ODGHBAKCUX1Dt
hImCJcuLOrvfGTf/g87L9g==
=8ksy
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php