adriantr09 / gecko-mediaplayer

Automatically exported from code.google.com/p/gecko-mediaplayer
GNU General Public License v2.0
0 stars 0 forks source link

[plugin.o] 错误 1 #104

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In Ubuntu 10.04 you can't complied it 

What is the expected output? What do you see instead?
 make -j 2
make  all-recursive
make[1]: 正在进入目录 `/home/randy/src/gecko-mediaplayer-0.9.9.2'
Making all in src
make[2]: 正在进入目录 `/home/randy/src/gecko-mediaplayer-0.9.9.2/src'
Making all in libgmlib
make[3]: 正在进入目录 
`/home/randy/src/gecko-mediaplayer-0.9.9.2/src/libgmlib'
make[3]: 没有什么可以做的为 `all'。
make[3]:正在离开目录 
`/home/randy/src/gecko-mediaplayer-0.9.9.2/src/libgmlib'
make[3]: 正在进入目录 `/home/randy/src/gecko-mediaplayer-0.9.9.2/src'
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC 
-DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" 
-DPACKAGE_DATA_DIR=\""/usr/local/share"\"  -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -pthread -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
    -DMOZILLA_STRICT_API -DXP_UNIX    -g -O2 -MT plugin_types_std.o -MD -MP -MF 
.deps/plugin_types_std.Tpo -c -o plugin_types_std.o plugin_types_std.cpp
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC 
-DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" 
-DPACKAGE_DATA_DIR=\""/usr/local/share"\"  -I/usr/include/glib-2.0 
-I/usr/lib/glib-2.0/include   -pthread -I/usr/include/dbus-1.0 
-I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include 
    -DMOZILLA_STRICT_API -DXP_UNIX    -g -O2 -MT plugin.o -MD -MP -MF 
.deps/plugin.Tpo -c -o plugin.o plugin.cpp
In file included from plugin.cpp:39:
plugin.h:40:19: error: npapi.h: 没有那个文件或目录
plugin.h:41:23: error: npruntime.h: 没有那个文件或目录
plugin.h:42:25: error: npfunctions.h: 没有那个文件或目录
In file included from plugin_types.h:41,
                 from plugin_types_std.cpp:38:
plugin.h:40:19: error: npapi.h: 没有那个文件或目录
plugin.h:41:23: error: npruntime.h: 没有那个文件或目录
plugin.h:42:25: error: npfunctions.h: 没有那个文件或目录
plugin.cpp:45:27: error: nsIPrefBranch.h: 没有那个文件或目录
plugin.cpp:46:28: error: nsIPrefService.h: 没有那个文件或目录
plugin.cpp:47:31: error: nsIServiceManager.h: 没有那个文件或目录
In file included from plugin.cpp:39:
plugin.h:96: error: variable or field ‘postDOMEvent’ declared void
plugin.h:96: error: ‘NPP’ was not declared in this scope
plugin.h:96: error: expected primary-expression before ‘const’
plugin.h:96: error: expected primary-expression before ‘const’
plugin.h:100: error: ISO C++ forbids declaration of ‘NPWindow’ with no type
plugin.h:100: error: expected ‘;’ before ‘*’ token
plugin.h:101: error: ISO C++ forbids declaration of ‘NPStream’ with no type
plugin.h:101: error: expected ‘;’ before ‘*’ token
plugin.h:102: error: ‘NPBool’ does not name a type
plugin.h:103: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:103: error: expected ‘;’ before ‘*’ token
plugin.h:104: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:104: error: expected ‘;’ before ‘*’ token
plugin.h:107: error: expected ‘)’ before ‘pNPInstance’
plugin.h:110: error: ‘NPBool’ does not name a type
plugin.h:112: error: ‘NPBool’ does not name a type
plugin.h:115: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:115: error: expected ‘;’ before ‘*’ token
plugin.h:116: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:116: error: expected ‘;’ before ‘*’ token
plugin.h:118: error: ‘NPError’ does not name a type
plugin.h:119: error: ‘NPError’ does not name a type
plugin.h:120: error: ‘NPError’ does not name a type
plugin.h:121: error: ‘NPError’ does not name a type
plugin.h:122: error: ‘NPReason’ has not been declared
plugin.h:123: error: ‘NPStream’ has not been declared
plugin.h:124: error: ‘NPStream’ has not been declared
plugin.h:165: error: ‘NPP’ does not name a type
plugin.h:168: error: ‘uint16_t’ does not name a type
In file included from plugin_types.h:41,
                 from plugin_types_std.cpp:38:
plugin.h:96: error: variable or field ‘postDOMEvent’ declared void
plugin.h:96: error: ‘NPP’ was not declared in this scope
plugin.h:96: error: expected primary-expression before ‘const’
plugin.h:96: error: expected primary-expression before ‘const’
plugin.h:100: error: ISO C++ forbids declaration of ‘NPWindow’ with no type
plugin.h:100: error: expected ‘;’ before ‘*’ token
plugin.h:101: error: ISO C++ forbids declaration of ‘NPStream’ with no type
plugin.h:101: error: expected ‘;’ before ‘*’ token
plugin.h:102: error: ‘NPBool’ does not name a type
plugin.h:103: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:103: error: expected ‘;’ before ‘*’ token
plugin.h:104: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:104: error: expected ‘;’ before ‘*’ token
plugin.h:107: error: expected ‘)’ before ‘pNPInstance’
plugin.h:110: error: ‘NPBool’ does not name a type
plugin.h:112: error: ‘NPBool’ does not name a type
plugin.h:115: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:115: error: expected ‘;’ before ‘*’ token
plugin.h:116: error: ISO C++ forbids declaration of ‘NPObject’ with no type
plugin.h:116: error: expected ‘;’ before ‘*’ token
plugin.h:118: error: ‘NPError’ does not name a type
plugin.h:119: error: ‘NPError’ does not name a type
plugin.h:120: error: ‘NPError’ does not name a type
plugin.h:121: error: ‘NPError’ does not name a type
plugin.h:122: error: ‘NPReason’ has not been declared
plugin.h:123: error: ‘NPStream’ has not been declared
plugin.h:124: error: ‘NPStream’ has not been declared
plugin.h:165: error: ‘NPP’ does not name a type
plugin.h:168: error: ‘uint16_t’ does not name a type
In file included from plugin_types_std.cpp:38:
plugin_types.h:45: error: ‘NPError’ does not name a type
plugin_types_std.cpp:131: error: ‘NPError’ does not name a type
In file included from plugin.cpp:43:
plugin_types.h:45: error: ‘NPError’ does not name a type
plugin.cpp:50: error: expected constructor, destructor, or type conversion 
before ‘*’ token
plugin.cpp:51: error: expected constructor, destructor, or type conversion 
before ‘*’ token
plugin.cpp:52: error: expected initializer before ‘*’ token
plugin.cpp:62: error: ‘int32’ does not name a type
plugin.cpp:65: error: ‘NPIdentifier’ does not name a type
plugin.cpp:66: error: ‘NPIdentifier’ does not name a type
plugin.cpp:67: error: ‘NPIdentifier’ does not name a type
plugin.cpp:68: error: ‘NPIdentifier’ does not name a type
plugin.cpp:69: error: ‘NPIdentifier’ does not name a type
plugin.cpp:70: error: ‘NPIdentifier’ does not name a type
plugin.cpp:71: error: ‘NPIdentifier’ does not name a type
plugin.cpp:72: error: ‘NPIdentifier’ does not name a type
plugin.cpp:73: error: ‘NPIdentifier’ does not name a type
plugin.cpp:74: error: ‘NPIdentifier’ does not name a type
plugin.cpp:75: error: ‘NPIdentifier’ does not name a type
plugin.cpp:76: error: ‘NPIdentifier’ does not name a type
plugin.cpp:77: error: ‘NPIdentifier’ does not name a type
plugin.cpp:78: error: ‘NPIdentifier’ does not name a type
plugin.cpp:79: error: ‘NPIdentifier’ does not name a type
plugin.cpp:80: error: ‘NPIdentifier’ does not name a type
plugin.cpp:81: error: ‘NPIdentifier’ does not name a type
plugin.cpp:82: error: ‘NPIdentifier’ does not name a type
plugin.cpp:83: error: ‘NPIdentifier’ does not name a type
plugin.cpp:84: error: ‘NPIdentifier’ does not name a type
plugin.cpp:85: error: ‘NPIdentifier’ does not name a type
plugin.cpp:86: error: ‘NPIdentifier’ does not name a type
plugin.cpp:87: error: ‘NPIdentifier’ does not name a type
plugin.cpp:88: error: ‘NPIdentifier’ does not name a type
plugin.cpp:89: error: ‘NPIdentifier’ does not name a type
plugin.cpp:90: error: ‘NPIdentifier’ does not name a type
plugin.cpp:91: error: ‘NPIdentifier’ does not name a type
plugin.cpp:92: error: ‘NPIdentifier’ does not name a type
plugin.cpp:93: error: ‘NPIdentifier’ does not name a type
plugin.cpp:94: error: ‘NPIdentifier’ does not name a type
plugin.cpp:95: error: ‘NPIdentifier’ does not name a type
plugin.cpp:96: error: ‘NPIdentifier’ does not name a type
plugin.cpp:97: error: ‘NPIdentifier’ does not name a type
plugin.cpp:98: error: ‘NPIdentifier’ does not name a type
plugin.cpp:99: error: ‘NPIdentifier’ does not name a type
plugin.cpp:100: error: ‘NPIdentifier’ does not name a type
plugin.cpp:101: error: ‘NPIdentifier’ does not name a type
plugin.cpp:102: error: ‘NPIdentifier’ does not name a type
plugin.cpp:103: error: ‘NPIdentifier’ does not name a type
plugin.cpp:104: error: ‘NPIdentifier’ does not name a type
plugin.cpp:105: error: ‘NPIdentifier’ does not name a type
plugin.cpp:107: error: ‘NPIdentifier’ does not name a type
plugin.cpp:108: error: ‘NPIdentifier’ does not name a type
plugin.cpp:109: error: ‘NPIdentifier’ does not name a type
plugin.cpp:110: error: ‘NPIdentifier’ does not name a type
plugin.cpp:111: error: ‘NPIdentifier’ does not name a type
plugin.cpp:112: error: ‘NPIdentifier’ does not name a type
plugin.cpp:116: error: ‘NPIdentifier’ does not name a type
plugin.cpp:117: error: ‘NPIdentifier’ does not name a type
plugin.cpp:118: error: ‘NPIdentifier’ does not name a type
plugin.cpp:119: error: ‘NPIdentifier’ does not name a type
plugin.cpp:120: error: ‘NPIdentifier’ does not name a type
plugin.cpp:121: error: ‘NPIdentifier’ does not name a type
plugin.cpp:122: error: ‘NPIdentifier’ does not name a type
plugin.cpp:124: error: ‘NPIdentifier’ does not name a type
plugin.cpp:129: error: ‘NPError’ does not name a type
plugin.cpp:139: error: ‘NPError’ does not name a type
plugin.cpp:170: error: variable or field ‘postDOMEvent’ declared void
plugin.cpp:170: error: ‘NPP’ was not declared in this scope
plugin.cpp:170: error: expected primary-expression before ‘const’
plugin.cpp:170: error: expected primary-expression before ‘const’
plugin.cpp: In function ‘void setPreference(CPlugin*, const gchar*, const 
gchar*)’:
plugin.cpp:184: error: ‘nsIServiceManager’ was not declared in this scope
plugin.cpp:184: error: ‘sm’ was not declared in this scope
plugin.cpp:185: error: ‘ServiceManager’ was not declared in this scope
plugin.cpp:186: error: ‘PRBool’ was not declared in this scope
plugin.cpp:186: error: expected ‘;’ before ‘v’
plugin.cpp:187: error: expected primary-expression before ‘)’ token
plugin.cpp:189: error: expected primary-expression before ‘void’
plugin.cpp:189: error: expected ‘)’ before ‘void’
plugin.cpp:191: error: ‘void*’ is not a pointer-to-object type
plugin.cpp:193: error: ‘NPNVserviceManager’ was not declared in this scope
plugin.cpp:193: error: ‘NPN_GetValue’ was not declared in this scope
plugin.cpp:197: error: ‘NS_GET_IID’ was not declared in this scope
plugin.cpp:198: error: ‘NS_RELEASE’ was not declared in this scope
plugin.cpp:202: error: ‘NS_PREFSERVICE_CONTRACTID’ was not declared in this 
scope
plugin.cpp:202: error: ‘nsIPrefBranch’ was not declared in this scope
plugin.cpp:202: error: ‘NS_GET_IID’ was not declared in this scope
plugin.cpp:203: error: ‘prefBranch’ was not declared in this scope
plugin.cpp:206: error: ‘v’ was not declared in this scope
plugin.cpp:215: error: ‘NS_RELEASE’ was not declared in this scope
plugin.cpp: In function ‘void clearPreference(CPlugin*, const gchar*)’:
plugin.cpp:222: error: ‘nsIServiceManager’ was not declared in this scope
plugin.cpp:222: error: ‘sm’ was not declared in this scope
plugin.cpp:223: error: ‘ServiceManager’ was not declared in this scope
plugin.cpp:224: error: ‘PRBool’ was not declared in this scope
plugin.cpp:224: error: expected ‘;’ before ‘v’
plugin.cpp:225: error: expected primary-expression before ‘)’ token
plugin.cpp:227: error: expected primary-expression before ‘void’
plugin.cpp:227: error: expected ‘)’ before ‘void’
plugin.cpp:229: error: ‘void*’ is not a pointer-to-object type
plugin.cpp:231: error: ‘NPNVserviceManager’ was not declared in this scope
plugin.cpp:231: error: ‘NPN_GetValue’ was not declared in this scope
plugin.cpp:235: error: ‘NS_GET_IID’ was not declared in this scope
plugin.cpp:236: error: ‘NS_RELEASE’ was not declared in this scope
plugin.cpp:240: error: ‘NS_PREFSERVICE_CONTRACTID’ was not declared in this 
scope
plugin.cpp:240: error: ‘nsIPrefBranch’ was not declared in this scope
plugin.cpp:240: error: ‘NS_GET_IID’ was not declared in this scope
plugin.cpp:241: error: ‘prefBranch’ was not declared in this scope
plugin.cpp:255: error: ‘NS_RELEASE’ was not declared in this scope
plugin.cpp: At global scope:
plugin.cpp:263: error: expected ‘)’ before ‘pNPInstance’
make[3]: *** [plugin_types_std.o] 错误 1
make[3]: *** 正在等待未完成的任务....
make[3]: *** [plugin.o] 错误 1
make[3]:正在离开目录 `/home/randy/src/gecko-mediaplayer-0.9.9.2/src'
make[2]: *** [all-recursive] 错误 1
make[2]:正在离开目录 `/home/randy/src/gecko-mediaplayer-0.9.9.2/src'
make[1]: *** [all-recursive] 错误 1
make[1]:正在离开目录 `/home/randy/src/gecko-mediaplayer-0.9.9.2'
make: *** [all] 错误 2

What version of the product are you using? On what operating system?

0.9.9.2
Please provide any additional information below.
I install deb normal in apt.

Original issue reported on code.google.com by Randy...@gmail.com on 4 Aug 2010 at 3:27

GoogleCodeExporter commented 8 years ago
Install xulrunner-dev prior to compiling gecko-mediaplayer...

Original comment by kdeko...@gmail.com on 4 Aug 2010 at 12:43

GoogleCodeExporter commented 8 years ago
Depending on you OS, you might need libxul-dev instead. I don't know the 
package that Ubuntu uses.

Original comment by kdeko...@gmail.com on 4 Aug 2010 at 12:44

GoogleCodeExporter commented 8 years ago
Missing libraries on client machine

Original comment by kdeko...@gmail.com on 31 May 2011 at 2:44