Hi,
    Since Mozilla has branched for 1.0 and will probably do a RC1
today or Monday, shouldn't we be trying to address the build problems
with the current mozilla headers. On my machine I get the following
failure...

/usr/bin/gcc -Wall -Wno-unused -Wconversion  -fPIC -c  -w -D_GNU_SOURCE -DXP_UNIX 
-DSVR4 -DVERSION="\"Blackdown-1.3.1-03-FCS\"" -DDATE="\"Apr-11-2002\"" 
-DARCH="\"ppc\"" -DRAPTOR_API -DNEW_STREAMING_API -I../../tmp/linux/ppc/CClassHeaders 
-I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig5 
-I/usr/X11R6/include -I/usr/X11R6/include -I../../../../src/share/javavm/export 
-I../../../../src/solaris/javavm/export -I/usr/include/libIDL-1.0 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/nspr -I-I/usr/include/nspr 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/oji 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/xpcom 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/plugi!
n !
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/java 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/caps 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/nspr 
-I../../oji-plugin/include/solaris/navig5 -o ../../tmp/linux/ppc/util5.o 
../../oji-plugin/src/motif/navig5/util5.cpp
/usr/bin/gcc -Wall -Wno-unused -Wconversion  -fPIC -c  -w -D_GNU_SOURCE -DXP_UNIX 
-DSVR4 -DVERSION="\"Blackdown-1.3.1-03-FCS\"" -DDATE="\"Apr-11-2002\"" 
-DARCH="\"ppc\"" -DRAPTOR_API -DNEW_STREAMING_API -I../../tmp/linux/ppc/CClassHeaders 
-I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig5 
-I/usr/X11R6/include -I/usr/X11R6/include -I../../../../src/share/javavm/export 
-I../../../../src/solaris/javavm/export -I/usr/include/libIDL-1.0 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 
-I/usr/lib/glib/include -I/usr/include/nspr -I-I/usr/include/nspr 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/oji 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/xpcom 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/plugi!
n !
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/java 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/caps 
-I/home/howarth/debian-mozilla/mozilla-0.9.9/build-tree/mozilla/dist/include/nspr 
-I../../oji-plugin/include/solaris/navig5 -o ../../tmp/linux/ppc/GetFactory5.o 
../../oji-plugin/src/motif/navig5/GetFactory5.cpp
../../oji-plugin/src/motif/navig5/GetFactory5.cpp: In function `nsresult 
NSRegisterSelf(nsISupports *, const char *)':
../../oji-plugin/src/motif/navig5/GetFactory5.cpp:132: no matching function for call 
to `nsDerivedSafe<nsIComponentManager>::RegisterComponent (const nsCID &, const 
char[26], const char[57], const char *&, int, int)'
make[1]: *** [../../tmp/linux/ppc/GetFactory5.o] Error 1
make[1]: Leaving directory `/home/howarth/jdkbuild/jdk1.3.x/ext/plugin/build/solaris'
make: *** [plugin-all] Error 1

I noticed that in the mozilla 0.9.9 headers that RegisterComponent is
declared in xpcom/nsComponentManagerObsolete.h now. I also notice
that inclusion of this is wrapped by 

#ifndef MOZILLA_STRICT_API
#include "nsComponentManagerUtils.h"
#include "nsComponentManagerObsolete.h"
#endif

Perhaps we need to modify the jdk plug build to make sure MOZILLA_STRICT_API
is undefined?
                         Jack


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to