Closed Bug 134902 Opened 22 years ago Closed 22 years ago

Build error from ns4xPluginInstance.cpp

Categories

(Core Graveyard :: Plug-ins, defect)

Sun
SunOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: crumley, Assigned: rubydoo123)

Details

I'm getting the following build errors when trying to build on Sparc Solaris 7
with gcc 2.95.3:

c++ -o ns4xPluginInstance.o -c -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DOJI
-D_IMPL_NS_PLUGIN  -I../../../../dist/include/xpcom
-I../../../../dist/include/xpconnect -I../../../../dist/include/string
-I../../../../dist/include/java -I../../../../dist/include/pref
-I../../../../dist/include/necko -I../../../../dist/include/gtkxtbin
-I../../../../dist/include/webshell -I../../../../dist/include/caps
-I../../../../dist/include/intl -I../../../../dist/include/uconv
-I../../../../dist/include/unicharutil -I../../../../dist/include/dom
-I../../../../dist/include/gfx -I../../../../dist/include/layout
-I../../../../dist/include/content -I../../../../dist/include/widget
-I../../../../dist/include/cookie -I../../../../dist/include/mimetype
-I../../../../dist/include/oji -I../../../../dist/include/exthandler
-I../../../../dist/include/docshell -I../../../../dist/include/webbrwsr
-I../../../../dist/include/windowwatcher -I../../../../dist/include/imglib2
-I../../../../dist/include/xlibxtbin -I../../../../dist/include/xlibrgb
-I../../../../dist/include/plugin -I../../../../dist/include
-I/net/pchelka/space/crumley/mozilla/dist/include/nspr     
-I/usr/openwin/include   -fPIC  -I/usr/openwin/include -fno-rtti -fno-exceptions
-pedantic -Wno-long-long -pthreads -pipe  -DDEBUG -D_DEBUG -DDEBUG_crumley
-DTRACING -g -O -I/home/crumley/local/include/gtk-1.2
-I/home/crumley/local/include/glib-1.2 -I/home/crumley/local/lib/glib/include
-I/usr/openwin/include  -I/usr/openwin/include -DMOZILLA_CLIENT -include
../../../../config-defs.h -Wp,-MD,.deps/ns4xPluginInstance.pp ns4xPluginInstance.cpp
In file included from /home/crumley/local/include/gtk-1.2/gdk/gdktypes.h:33,
                 from /home/crumley/local/include/gtk-1.2/gdk/gdk.h:31,
                 from /home/crumley/local/include/gtk-1.2/gtk/gtk.h:31,
                 from ns4xPluginInstance.h:58,
                 from ns4xPluginInstance.cpp:45:
/home/crumley/local/include/glib-1.2/glib.h:1308:23: warning: ISO C does not
permit named variadic macros
/home/crumley/local/include/glib-1.2/glib.h:1311:25: warning: ISO C does not
permit named variadic macros
/home/crumley/local/include/glib-1.2/glib.h:1314:26: warning: ISO C does not
permit named variadic macros
/home/crumley/local/include/glib-1.2/glib.h:1317:25: warning: ISO C does not
permit named variadic macros
ns4xPluginInstance.cpp:68: `NS_IPLUGINSTREAMLISTENER2_IID' was not declared in 
   this scope
ns4xPluginInstance.cpp: In member function `virtual nsresult 
   ns4xPluginStreamListener::QueryInterface(const nsIID&, void**)':
ns4xPluginInstance.cpp:76: `nsIPluginStreamListener2' undeclared (first use 
   this function)
ns4xPluginInstance.cpp:76: (Each undeclared identifier is reported only once 
   for each function it appears in.)
ns4xPluginInstance.cpp:76: template argument 1 is invalid
ns4xPluginInstance.cpp:76: `::GetIID' undeclared (first use here)
ns4xPluginInstance.cpp:76: parse error before `*' token
ns4xPluginInstance.cpp:76: confused by earlier errors, bailing out
make[1]: *** [ns4xPluginInstance.o] Error 1
make[1]: Leaving directory
`/net/pchelka/space/crumley/mozilla/modules/plugin/base/src'
make: *** [all] Error 2

I had been doing cvs builds nightly for a while until bug 134101, stopped them
for a while. After that bug was fixed was when this problem first showed up. So,
I think the changes that caused this problem happened sometime between the 26th
and the 30th.

I tried backing up to version before the 26th for ns4xPluginInstance.cpp,
ns4xPluginInstance.h, and (thinking this might be related to bug 134101)
configure.in. None of those changes worked.

I also tried adding to ns4xPluginInstance.cpp: 
  #include "../public/nsIPluginStreamListener2.h"
since that file defines NS_IPLUGINSTREAMLISTENER2_IID, but then I just get a
bunch of other similar errors.

Any hints on tracking this down?
Line numbers looks suspisious. Try checkout latest version (you can also try
-A option to checkout to remove any sticky tags if any).
Sorry this is invalid. I repulled from CVS and it built fine.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.