[root@localhost mplayerplug-in]# make
g++ -c -o plugin.o -Wall -g -O2 -g -O2 -DXP_UNIX -DMOZ_X11 -DXP_UNIX -DOJI -I/usr/include/xulrunner-sdk-1.9.1/stable -I/usr/include/xulrunner-sdk-1.9.1/java -I/usr/include/xulrunner-sdk-1.9.1/plugin -I/usr/include/nspr4 -I/usr/include/xulrunner-sdk-1.9.1 -Iinclude -fPIC -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 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DGTK_ENABLED Source/plugin.cpp
在包含自 include/pluginbase.h:41 的文件中,
从 Source/plugin.h:53,
从 Source/plugin.cpp:37:
include/npplat.h:42:19: 错误:npupp.h:没有那个文件或目录
在包含自 Source/nsScriptablePeer.h:48 的文件中,
从 Source/plugin.h:54,
从 Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28:60: 错误:宏“NS_DEFINE_STATIC_IID_ACCESSOR”需要 2 个参数,但只给出了 1 个
Source/nsIScriptableMplayerPlugin.h:123:64: 错误:宏“NS_DEFINE_STATIC_IID_ACCESSOR”需要 2 个参数,但只给出了 1 个
In file included from Source/nsScriptablePeer.h:48,
from Source/plugin.h:54,
from Source/plugin.cpp:37:
Source/nsIScriptableMplayerPlugin.h:28: 错误:ISO C++ 不允许声明无类型的‘NS_DEFINE_STATIC_IID_ACCESSOR’
Source/nsIScriptableMplayerPlugin.h:31: 错误:expected ‘;’ before ‘virtual’
Source/nsIScriptableMplayerPlugin.h:123: 错误:ISO C++ 不允许声明无类型的‘NS_DEFINE_STATIC_IID_ACCESSOR’
Source/nsIScriptableMplayerPlugin.h:126: 错误: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: 错误:‘nsIProgrammingLanguage’未声明
Source/plugin.cpp: In member function ‘void nsPluginInstance::shutdown()’:
Source/plugin.cpp:404: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:407: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance:lay()’:
Source/plugin.cpp:2056: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance:ause()’:
Source/plugin.cpp:2086: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Stop()’:
Source/plugin.cpp:2106: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2108: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2118: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Quit()’:
Source/plugin.cpp:2136: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2137: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::FastForward()’:
Source/plugin.cpp:2163: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2164: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2166: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::FastReverse()’:
Source/plugin.cpp:2190: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2191: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2193: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::Seek(double)’:
Source/plugin.cpp:2206: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp:2210: 警告:不建议使用从字符串常量到‘char*’的转换
Source/plugin.cpp: In member function ‘void nsPluginInstance::SetShowlogo(PRBool)’:
Source/plugin.cpp:2899: 警告:建议显式地使用花括号以避免出现有歧义的‘else’
make: *** [plugin.o] 错误 1
[root@localhost mplayerplug-in]#