![]() |
UTF-8 error during SlackBuild
i keep getting this error during gecko-mediaplayer build
running 1337 stable up to date..... lang.sh has en us utf8 enabled, (it didn't work with en US either.....) any help would be appreciated. plugin.cpp: In constructor 'CPlugin::CPlugin(NPP_t*)': plugin.cpp:324:71: error: 'struct NPString' has no member named 'utf8characters' plugin.cpp: In member function 'virtual bool ScriptablePluginObjectControls::InvokeDefault(const NPVariant*, uint32_t, NPVariant*)': plugin.cpp:1604:5: error: 'moz_strdup' was not declared in this scope plugin.cpp: In member function 'virtual bool ScriptablePluginObject::Invoke(void*, const NPVariant*, uint32_t, NPVariant*)': plugin.cpp:1792:59: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1869:58: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1878:66: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1887:60: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1896:62: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1905:61: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1914:62: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp:1923:60: error: 'const struct NPString' has no member named 'utf8characters' plugin.cpp: In member function 'virtual bool ScriptablePluginObject::InvokeDefault(const NPVariant*, uint32_t, NPVariant*)': plugin.cpp:1936:5: error: 'moz_strdup' was not declared in this scope plugin.cpp: In member function 'virtual bool ScriptablePluginObject::SetProperty(void*, const NPVariant*)': plugin.cpp:2018:58: error: 'const struct NPString' has no member named 'utf8characters' make[3]: *** [plugin.o] Error 1 make[3]: Leaving directory `/tmp/SBo/gecko-mediaplayer-1.0.0/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/tmp/SBo/gecko-mediaplayer-1.0.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/SBo/gecko-mediaplayer-1.0.0' make: *** [all] Error 2 gecko-mediaplayer: Would you like to continue processing the rest of the build queue or would you like to abort? If this failed package is a dependency of another package in the queue then it may not make sense to continue. |
Looks like either a API change or a bug in the code of gecko-mplayer
/usr/include/seamonkey/npruntime.h Code:
typedef struct _NPString { |
I don't have this application installed and I gather from your mention of this
Quote:
|
I've just tried the build and it fails before that point.
NB when tracing compiler errors you need to get the very first thing that breaks, any output after that point could simply be caused by the first error. (the gecko-mplayer has code to determine the correct utf or UTF to use) Code:
In file included from /usr/include/seamonkey-2.1/plugin/nscore.h:50:0, |
I would try Alien Bob's builds. His are the newest versions.
http://connie.slackware.com/~alien/s...mplayer/build/ http://connie.slackware.com/~alien/s...aplayer/build/ |
alien Bob's gecko-mediaplayer compiled fine.....
even with Sbo gnome-mplayer installed. thx folks |
| All times are GMT -5. The time now is 09:42 PM. |