Re: Build errors
Katlyn <[email protected]> Wed, 18 Jun 2008 15:14:03 -0400
| Newsgroups | gmane.comp.mozilla.mplayerplug-in |
|---|---|
| Message-ID | <[email protected]> |
Kevin DeKorte wrote: > Interesting, still looks like a packaging error somewhere. > > This is what I get > /usr/lib/firefox-2.0.0.14/xpidl -w -m header -I > /usr/share/idl/firefox-2.0.0.14 -I Source -e > Source/nsIScriptableMplayerPlugin.h Source/nsIScriptableMplayerPlugin.idl > > Oh you are on Ubuntu... make sure that xulrunner-dev and firefox-dev and > mozilla-dev and seamonkey-dev are all removed. That command should be > returning something about libxul rather than firefox. > Alright, it's successfully run through the ./configure now that I've removed the packages you mentioned. Unfortunately, now it gives me errors all over the place when running make. Man, video applications are a pain to compile >_< Here's my output... all of it: g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/java -I/usr/include/xulrunner/plugin -I/usr/include/nspr -I/usr/include/xulrunner -I/usr/include/xulrunner/xpcom -I/usr/include/xulrunner/string -I/usr/include/xulrunner -g -O2 -INONE -g -O2 -Iinclude -fPIC -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DX_ENABLED Source/plugin.cpp In file included from Source/plugin.h:55, 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 directory In file included from Source/plugin.h:55, from Source/plugin.cpp:37: Source/plugin-setup.h:134: error: ‘Widget’ does not name a type Source/plugin-setup.h:205: error: variable or field ‘DrawUI’ declared void Source/plugin-setup.h:205: error: ‘Widget’ was not declared in this scope Source/plugin-setup.h:205: error: expected primary-expression before ‘*’ token Source/plugin-setup.h:205: error: ‘instance’ was not declared in this scope Source/plugin-setup.h:205: error: expected primary-expression before ‘char’ Source/plugin-setup.h:206: error: expected primary-expression before ‘int’ Source/plugin-setup.h:206: error: expected primary-expression before ‘int’ Source/plugin-setup.h:208: warning: ‘RedrawCB’ initialized and declared ‘extern’ Source/plugin-setup.h:208: error: variable or field ‘RedrawCB’ declared void Source/plugin-setup.h:208: error: ‘Widget’ was not declared in this scope Source/plugin-setup.h:208: error: ‘XtPointer’ was not declared in this scope Source/plugin-setup.h:209: error: ‘XtPointer’ was not declared in this scope In file included from Source/plugin.cpp:37: Source/plugin.h:176: error: ‘Widget’ does not name a type Source/plugin.cpp: In function ‘NPError NS_PluginInitialize()’: Source/plugin.cpp:101: warning: dereferencing type-punned pointer will break strict-aliasing rules Source/plugin.cpp: In constructor ‘nsPluginInstance::nsPluginInstance(NPP_t*)’: Source/plugin.cpp:208: error: ‘widget’ was not declared in this scope Source/plugin.cpp: In member function ‘void nsPluginInstance::shutdown()’: Source/plugin.cpp:437: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:440: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘virtual NPError nsPluginInstance::SetWindow(NPWindow*)’: Source/plugin.cpp:777: error: ‘widget’ was not declared in this scope Source/plugin.cpp:779: error: ‘XtWindowToWidget’ was not declared in this scope Source/plugin.cpp:781: error: ‘XtEventHandler’ was not declared in this scope Source/plugin.cpp:781: error: ‘XtAddEventHandler’ was not declared in this scope Source/plugin.cpp: In member function ‘virtual NPError nsPluginInstance::DestroyStream(NPStream*, NPError)’: Source/plugin.cpp:1462: error: ‘widget’ was not declared in this scope Source/plugin.cpp:1462: error: ‘DrawUI’ was not declared in this scope Source/plugin.cpp: In member function ‘virtual int32 nsPluginInstance::Write(NPStream*, int32, int32, void*)’: Source/plugin.cpp:2015: error: ‘widget’ was not declared in this scope Source/plugin.cpp:2018: error: ‘DrawUI’ was not declared in this scope Source/plugin.cpp:2047: error: ‘widget’ was not declared in this scope Source/plugin.cpp:2050: error: ‘DrawUI’ was not declared in this scope Source/plugin.cpp: In member function ‘void nsPluginInstance::Play()’: Source/plugin.cpp:2241: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Pause()’: Source/plugin.cpp:2271: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Stop()’: Source/plugin.cpp:2291: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2293: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2303: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Quit()’: Source/plugin.cpp:2321: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2322: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::FastForward()’: Source/plugin.cpp:2348: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2349: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2351: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::FastReverse()’: Source/plugin.cpp:2375: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2376: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2378: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::Seek(double)’: Source/plugin.cpp:2391: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp:2395: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::VolumeUp()’: Source/plugin.cpp:2409: warning: deprecated conversion from string constant to ‘char*’ Source/plugin.cpp: In member function ‘void nsPluginInstance::VolumeDown()’: Source/plugin.cpp:2423: warning: deprecated conversion from string constant to ‘char*’ make: *** [plugin.o] Error 1 > | Thanks for the help :) > | > | PS: I tried to the Gecko plugin and it still demands I "get the latest > | quicktime" if, say, I go here: > | > http://www.apple.com/trailers/sony_pictures/hancock/trailer/large_trailer.html > | It also has some other problems exiting full screen. > > Trailer works fine with gecko-mediaplayer here. Make sure that you don't > have mplayerplug-in and gecko-mediaplayer both installed and > gecko-mediaplayer needs to be v0.6.2 or higher for it to work. > > Kevin I'm not using both plugins at once. The Ubuntu repos provide me with version 0.6.0. Perhaps the website has its own repo or a newer version, I will look. I really like the mplayer plugin, though... Thanks again! ------------------------------------------------------------------------- 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