Michele Faresin wrote:
Ciao a tutti.
Chiedo aiuto perchè ormai ho crepato la soglia di marmo del termosifone a
forza di schiantarci il cranio! ;-))!!
Sto cercando di compilare mplayerplug-in da utilizzare con mozilla. La
versione incriminata è la 2.6.7.
Dopo il ./configure andato perfettamente a termine, il make mi riempie di
errori, dei quali riporto solo la parte finale:
Source/plugin.cpp:2236: error: parse error before `=' token
Source/plugin.cpp:2236: warning: unused variable `int nsIID'
Source/plugin.cpp:2237: error: `nsIID' undeclared (first use this function)
Source/plugin.cpp:2237: error: `ptr' undeclared (first use this function)
Source/plugin.cpp:2237: error: parse error before `)' token
Source/plugin.cpp:2239: error: `scriptableIID' undeclared (first use this
function)
Source/plugin.cpp:2240: error: parse error before `)' token
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNameString' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value
`NPPVpluginDescriptionString
' not handled in switch type
Source/plugin.cpp:2236: error: parse error before `=' token
Source/plugin.cpp:2236: warning: unused variable `int nsIID'
Source/plugin.cpp:2237: error: `nsIID' undeclared (first use this function)
Source/plugin.cpp:2237: error: `ptr' undeclared (first use this function)
Source/plugin.cpp:2237: error: parse error before `)' token
Source/plugin.cpp:2239: error: `scriptableIID' undeclared (first use this
function)
Source/plugin.cpp:2240: error: parse error before `)' token
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNameString' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value
`NPPVpluginDescriptionString
' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowBool' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTransparentBool'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVjavaClass' not handled
in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowSize' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTimerInterval'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVjavascriptPushCallerBool' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVpluginKeepLibraryInMemory' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNeedsXEmbed' not
handled in switch
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2244: error: parse error before `break'
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2265: error: `NS_ADDREF' undeclared (first use this
function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2279: error: `NS_ADDREF' undeclared (first use this
function)
make: *** [plugin.o] Error 1
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowBool' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTransparentBool'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVjavaClass' not handled
in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginWindowSize' not
handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginTimerInterval'
not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVjavascriptPushCallerBool' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `
NPPVpluginKeepLibraryInMemory' not handled in switch
Source/plugin.cpp:2236: warning: enumeration value `NPPVpluginNeedsXEmbed' not
handled in switch
Source/plugin.cpp: At global scope:
Source/plugin.cpp:2244: error: parse error before `break'
Source/plugin.cpp: In member function `nsScriptablePeer*
nsPluginInstance::getScriptablePeer()':
Source/plugin.cpp:2265: error: `NS_ADDREF' undeclared (first use this
function)
Source/plugin.cpp: In member function `nsControlsScriptablePeer*
nsPluginInstance::getControlsScriptablePeer()':
Source/plugin.cpp:2279: error: `NS_ADDREF' undeclared (first use this
function)
make: *** [plugin.o] Error 1
Mi date qualche dritta?
Grazie!!
Potrebbero mancarti dei file di sviluppo (cioè dei sorgenti di altri
programmi, perchè ti dice che molte variabili non sono dichiarate e i
programmatori di solito non sono così sprovveduti!), comunque in Debian
adesso c'è un pacchetto che si chiama *mozilla-mplayer*, a meno che
magari tu non stia usando woody!
--
Alessandro Dal Grande
Student In The University Of Padua - Information Science
Linux Registered User #359258
System: GNU/Linux Debian testing/unstable on i686
Kernel: 2.4.25 Debian Custom
Mail: Thunderbird
Chat: Kopete (ICQ) 150487234
Put the fan back into computing
--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f
Sponsor:
Conto Arancio. Zero spese, stessa banca, più interessi.
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=657&d=1-10