adriantr09 / gecko-mediaplayer

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

NPNVSupportsWindowless was not declared in this scope when compiling #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Run configure
2. Make
3.

What is the expected output? What do you see instead?
Expect to see gecko-mediaplayer compiled. Instead it errors out with this:
make[3]: Entering directory `/usr/src/gecko-mediaplayer/src'
g++ -DHAVE_CONFIG_H -I. -I.. -fPIC
-DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\"
-DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/xulrunner/java
-I/usr/include/xulrunner/plugin -I/usr/include/nspr
-I/usr/include/xulrunner -I/usr/include/xulrunner/xpcom
-I/usr/include/xulrunner/string   -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include   -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   -DORBIT2=1 -pthread -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -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   -DHAVE_GCONF -DMOZILLA_STRICT_API -DXP_UNIX 
  -g -O2 -MT plugin_setup.o -MD -MP -MF .deps/plugin_setup.Tpo -c -o
plugin_setup.o plugin_setup.cpp
plugin_setup.cpp: In function ‘void new_instance(CPlugin*, int16, char**,
char**)’:
plugin_setup.cpp:365: error: ‘NPNVSupportsWindowless’ was not declared in
this scope
make[3]: *** [plugin_setup.o] Error 1
make[3]: Leaving directory `/usr/src/gecko-mediaplayer/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/gecko-mediaplayer/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/gecko-mediaplayer'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Latest SVN Trunk gecko-mediaplayer
Ubuntu 9.04

I attatched the config.log file

Original issue reported on code.google.com by kyl...@gmail.com on 3 Jun 2009 at 8:09

Attachments:

GoogleCodeExporter commented 8 years ago
What version of xulrunner do you have installed? And what is your configure 
output?

Original comment by kdeko...@gmail.com on 3 Jun 2009 at 8:32

GoogleCodeExporter commented 8 years ago
Should be fixed in SVN now.

Original comment by kdeko...@gmail.com on 3 Jun 2009 at 8:41

GoogleCodeExporter commented 8 years ago
xulrunner 1.9, although for some reason there was an xulrunner 1.8.1 also 
installed.
I uninstalled that version

Not sure if uninstalling fixed it, or upgrading to the latest SVN di. Either 
way, now
it's compiling, thanks.

Original comment by kyl...@gmail.com on 3 Jun 2009 at 8:55

GoogleCodeExporter commented 8 years ago
I am able to compile and use 0.9.5 without xulrunner installed. For a minor 
0.9.6
revision to break and not compile with this error doesn't make sense and no 
mention
is made in the changlog for this requirement. Right now, installing xulrunner 
is not
an option since I can't update all the dependencies at this time as this will 
break
too many other parts.  I don't need xulrunner to compile
Firefox/Thunderbird/Seamonkey, so why is it suddenly needed for this plugin?

Original comment by kingbeow...@gmail.com on 21 Jun 2009 at 7:32

GoogleCodeExporter commented 8 years ago
Well xulrunner is not a hard dependency, but it is recommended. What is you 
configure
output. And when I say xulrunner that really covers many options. However, this
problem is fixed in SVN 

And is fixed by this patch

http://code.google.com/p/gecko-mediaplayer/source/detail?r=296

Which should be in the 0.9.6 code.

Original comment by kdeko...@gmail.com on 21 Jun 2009 at 12:44

GoogleCodeExporter commented 8 years ago
I just checked the 0.9.6 code and it is in that tagged revision

Original comment by kdeko...@gmail.com on 21 Jun 2009 at 12:45

GoogleCodeExporter commented 8 years ago
hanks.  I did see the patch and tried the svn but it won't compile (different 
error),
see other issue thread) ; I also patched the 0.9.6 code but no luck (gave the 
svn
error). Maybe it my weird multilib x86_64 distro with everything in /lib64.  I 
was
able to compile the code by adding and editing the full src/npapi.h with
NPNVSupportsWindowless = 17 in the appropriate section.

BTW, I appreciate the work you put into this and gnome-mplayer. 

Original comment by kingbeow...@gmail.com on 21 Jun 2009 at 7:18

GoogleCodeExporter commented 8 years ago

Original comment by kdeko...@gmail.com on 2 Jul 2009 at 8:45