LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2007, 05:08 PM   #1
NeXuS_2006
Member
 
Registered: Dec 2003
Distribution: Fedora
Posts: 64

Rep: Reputation: 18
mplayerplug-in won't compile, Ubuntu 6.06


I am using the instructions Here to try to get mplayer working in Opera 9.10. I realize that page is old so I used the newest packages available. I got as far as running the ./configure script, which worked, then I ran "make". I get this output:

Code:
root@Lithium:/home/downloads/mplayerplug-in# make
g++ -c -Wall -g -O2   -g -O2  -DXP_UNIX -DMOZ_X11 -I/home/downloads/gecko-sdk -I /home/downloads/gecko-sdk/include -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   -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK2_ENABLED -DGTK_ENABLED Source/plugin.cpp
In file included from Source/plugin.h:50,
                 from Source/plugin.cpp:37:
Source/plugin-setup.h:4:27: error: X11/Intrinsic.h: No such file or directory
Source/plugin-setup.h:5:28: error: X11/StringDefs.h: No such file or directoryinclude/pluginbase.h:55: warning: ‘class nsPluginInstanceBase’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsISupportsBase.h:80: warning: ‘class nsISupports’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsIProgrammingLanguage.h:32: warning: ‘class nsIProgrammingLanguage’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsIClassInfo.h:33: warning: ‘class nsIClassInfo’ has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:25: warning: ‘class nsIScriptableWMPPlugin’has virtual functions but non-virtual destructor
Source/nsIScriptableMplayerPlugin.h:120: warning: ‘class nsIScriptableMplayerPlugin’ has virtual functions but non-virtual destructor
Source/nsScriptablePeer.h:56: warning: ‘class nsClassInfoMixin’ has virtual functions but non-virtual destructor
Source/plugin-setup.h:109: error: ‘Widget’ does not name a type
Source/plugin-setup.h:169: error: variable or field ‘DrawUI’ declared void
Source/plugin-setup.h:169: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:169: error: expected primary-expression before ‘*’ tokenSource/plugin-setup.h:169: error: ‘instance’ was not declared in this scope
Source/plugin-setup.h:169: error: expected primary-expression before ‘char’
Source/plugin-setup.h:170: error: expected primary-expression before ‘int’
Source/plugin-setup.h:170: error: expected primary-expression before ‘int’
Source/plugin-setup.h:170: error: initializer expression list treated as compound expression
Source/plugin-setup.h:172: warning: ‘RedrawCB’ initialized and declared ‘extern’Source/plugin-setup.h:172: error: variable or field ‘RedrawCB’ declared void
Source/plugin-setup.h:172: error: ‘Widget’ was not declared in this scope
Source/plugin-setup.h:172: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:173: error: ‘XtPointer’ was not declared in this scope
Source/plugin-setup.h:173: error: initializer expression list treated as compound expression
Source/plugin.h:141: error: ‘Widget’ does not name a type
/home/downloads/gecko-sdk/include/nsIServiceManager.h:40: warning: ‘class nsIServiceManager’ has virtual functions but non-virtual destructor
/home/downloads/gecko-sdk/include/nsIMemory.h:58: warning: ‘class nsIMemory’ has virtual functions but non-virtual destructor
Source/plugin.cpp: In constructor ‘nsPluginInstance::nsPluginInstance(NPP_t*)’:Source/plugin.cpp:180: error: ‘widget’ was not declared in this scope
Source/plugin.cpp: In member function ‘virtual NPError nsPluginInstance::SetWindow(NPWindow*)’:
Source/plugin.cpp:591: error: ‘widget’ was not declared in this scope
Source/plugin.cpp:593: error: ‘XtWindowToWidget’ was not declared in this scopemake: *** [plugin.o] Error 1
root@Lithium:/home/downloads/mplayerplug-in#
When I installed MPlayer I used the Ubuntu repositories, but it seems to all be there and it works fine. I also found an MPlayer-in-Firefox package in the package manager and installed it, and it works. I copied those plugin files to the Opera directory and it does not recognize them. Anyone have an idea? This output is gibberish to me.
 
Old 01-05-2007, 06:32 PM   #2
penguiniator
Member
 
Registered: Feb 2004
Location: Olympia, WA
Distribution: SolydK
Posts: 442
Blog Entries: 3

Rep: Reputation: 60
I don't know about the errors you are experiencing, but I don't think the mplayerplug-in is designed to work with non-mozilla browsers.
 
Old 01-05-2007, 06:58 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,883
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Opera for Linux - Plug-ins: Installation
http://www.opera.com/linux/docs/plug...stall/#mplayer
Why compile it when it is available in the Ubuntu repos?
 
Old 01-07-2007, 11:38 PM   #4
NeXuS_2006
Member
 
Registered: Dec 2003
Distribution: Fedora
Posts: 64

Original Poster
Rep: Reputation: 18
I was just following the install instructions on the Opera page linked to by craigevil. The plugin in the ubuntu repositories works for me with Firefox, but the same file will not work with Opera. I believe it should, its exactly the same plugin that Opera tells me to compile. Anyway, the repo didn't work so I tried to compile, that didn't work either. I really just want this to work like it should, so if anyone has any more ideas, please share.
 
  


Reply

Tags
mplayerplugin, opera, ubuntu



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how to compile a custom driver in ubuntu madhusudana Ubuntu 12 07-04-2007 11:52 AM
c++ compile problem under ubuntu heyinba0904 Programming 8 01-05-2007 11:31 PM
UBUNTU::Compile a Kernel module hellmet Linux - Software 3 05-07-2006 11:14 AM
Cant compile on Ubuntu 5.10 Breezy mdkusr Linux - Software 1 12-07-2005 07:56 PM
trying to compile mplayerplug-in with gecko-sdk Paxmaster Linux - Software 5 12-06-2004 10:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration