View previous topic :: View next topic |
Author |
Message |
gommosgol n00b
Joined: 07 Jan 2008 Posts: 6
|
Posted: Mon Jan 28, 2008 9:04 pm Post subject: mplayerplug-in 3.5 fallisce misteriosamente la compilazione |
|
|
Premettendo che uso un sistema ~amd64, ho notato questo problema durante la compilazione del plugin:
Code: | x86_64-pc-linux-gnu-g++ -c -o plugin.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -march=nocona -O2 -pipe -fomit-frame-pointer -Iinclude -fPIC -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp
x86_64-pc-linux-gnu-g++ -c -o nsScriptablePeer.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -march=nocona -O2 -pipe -fomit-frame-pointer -Iinclude -fPIC -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED Source/nsScriptablePeer.cpp
x86_64-pc-linux-gnu-g++ -c -o npp_gate.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -march=nocona -O2 -pipe -fomit-frame-pointer -Iinclude -fPIC -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED plugingate/npp_gate.cpp
x86_64-pc-linux-gnu-g++ -c -o np_entry.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -march=nocona -O2 -pipe -fomit-frame-pointer -Iinclude -fPIC -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED plugingate/np_entry.cpp
x86_64-pc-linux-gnu-g++ -c -o npn_gate.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -march=nocona -O2 -pipe -fomit-frame-pointer -Iinclude -fPIC -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED plugingate/npn_gate.cpp
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/nsScriptablePeer.cpp:48:
Source/nsIScriptableMplayerPlugin.h:28:60:x86_64-pc-linux-gnu-g++ -c -o plugin-support.o -Wall -DXP_UNIX -DMOZ_X11 -I/usr/include/xulrunner/stable -I/usr/include/nspr -I/usr/include/xulrunner -march=nocona -O2 -pipe -fomit-frame-pointer -Iinclude -fPIC -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/directfb -I/usr/include/libpng12 -I/usr/include/pixman-1 -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -DGTK_ENABLED Source/plugin-support.cpp
error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/nsScriptablePeer.cpp:48:
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before 'virtual'
In file included from Source/plugin.h:54,
from Source/nsScriptablePeer.cpp:48:
Source/nsScriptablePeer.h: In member function 'virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)':
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has not been declared
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before 'virtual'
In file included from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsScriptablePeer.h: In member function 'virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)':
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has not been declared
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin-support.cpp:1:
Source/nsIScriptableMplayerPlugin.h:28:60: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
Source/nsIScriptableMplayerPlugin.h:123:64: error: macro "NS_DEFINE_STATIC_IID_ACCESSOR" requires 2 arguments, but only 1 given
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin-support.cpp:1:
Source/nsIScriptableMplayerPlugin.h:28: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:31: error: expected ';' before 'virtual'
Source/nsIScriptableMplayerPlugin.h:123: error: ISO C++ forbids declaration of 'NS_DEFINE_STATIC_IID_ACCESSOR' with no type
Source/nsIScriptableMplayerPlugin.h:126: error: expected ';' before 'virtual'
In file included from Source/plugin.h:54,
from Source/plugin-support.cpp:1:
Source/nsScriptablePeer.h: In member function 'virtual nsresult nsClassInfoMixin::GetImplementationLanguage(PRUint32*)':
Source/nsScriptablePeer.h:64: error: 'nsIProgrammingLanguage' has not been declared
Source/nsScriptablePeer.cpp: In member function 'virtual nsresult nsScriptablePeer::QueryInterface(const nsIID&, void**)':
Source/nsScriptablePeer.cpp:101: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:101: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:101: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:107: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:107: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:107: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:114: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:114: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:116: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:116: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:116: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:116: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:116: error: declaration of '<typeprefixerror>NS_STATIC_CAST'
Source/nsScriptablePeer.cpp:116: error: conflicts with previous declaration '<typeprefixerror>NS_STATIC_CAST'
Source/nsScriptablePeer.cpp: In member function 'virtual nsresult nsControlsScriptablePeer::QueryInterface(const nsIID&, void**)':
Source/nsScriptablePeer.cpp:514: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:514: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:514: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:520: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:520: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:520: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:527: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:527: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:529: error: expected primary-expression before '*' token
Source/nsScriptablePeer.cpp:529: error: expected primary-expression before ',' token
Source/nsScriptablePeer.cpp:529: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:529: error: 'NS_STATIC_CAST' was not declared in this scope
Source/nsScriptablePeer.cpp:529: error: declaration of '<typeprefixerror>NS_STATIC_CAST'
Source/nsScriptablePeer.cpp:529: error: conflicts with previous declaration '<typeprefixerror>NS_STATIC_CAST'
make: *** [nsScriptablePeer.o] Error 1
make: *** Waiting for unfinished jobs....
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 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 '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
Source/plugin-support.cpp: In function 'void unEscapeXML(char*)':
Source/plugin-support.cpp:26: warning: unused variable 'p'
Source/plugin-support.cpp: In function 'void killmplayer(nsPluginInstance*)':
Source/plugin-support.cpp:506: warning: deprecated conversion from string constant to 'char*'
Source/plugin-support.cpp:507: warning: deprecated conversion from string constant to 'char*'
make: *** [plugin-support.o] Error 1
*
* ERROR: net-www/mplayerplug-in-3.50 failed.
* Call stack:
* ebuild.sh, line 46: Called src_compile
* environment, line 2561: Called die
* The specific snippet of code:
* emake || diefunc "$FUNCNAME" "$LINENO" "$?" "emake failed";
* The die message:
* emake failed
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/log/portage/net-www:mplayerplug-in-3.50:20080128-205826.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-www/mplayerplug-in-3.50/temp/environment'.
*
|
Sembra che il gcc non riesca a compilare per colpa di dozzine di variabili e costanti non dichiarate, punti e virgola dimenticati, ... insomma, un macello
Qualcuno ha qualche idea? |
|
Back to top |
|
|
MeMyselfAndI l33t
Joined: 15 Nov 2005 Posts: 784 Location: Between the monitor and the chair
|
Posted: Mon Jan 28, 2008 9:09 pm Post subject: |
|
|
usa gecko-mediaplayer.
E' dello stesso autore di mplayerplugine ne e' il sostituto. |
|
Back to top |
|
|
gommosgol n00b
Joined: 07 Jan 2008 Posts: 6
|
Posted: Tue Jan 29, 2008 2:59 pm Post subject: |
|
|
MeMyselfAndI wrote: | usa gecko-mediaplayer.
E' dello stesso autore di mplayerplugine ne e' il sostituto. |
Cosa? quello è un implementazione del gnome mplayer in gecko, dovrei compilarmi mezzo GNOME!
Resta sempre la domanda sul perchè non vada mplayerplug-in.... |
|
Back to top |
|
|
gommosgol n00b
Joined: 07 Jan 2008 Posts: 6
|
Posted: Fri Feb 01, 2008 2:37 pm Post subject: |
|
|
Dannazione, ho provato con le vecchie versioni, ma tutte danno lo stesso errore.
Sembra che manchi qualche libreria, ma il ./configure non lo segnala, nemmeno il portage.
E quel maledetto plugin mi serve... |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|