OOo 2.0.2.rc1 WITHOUT_MOZILLA build failure

Bartosz Fabianowski freebsd at chillt.de
Sun Feb 19 16:24:09 PST 2006


Hi list

While trying to upgrade my OOo from 2.0.1 to 2.0.2.rc1, I ran into a 
build error. I was compiling with the following flags:

WITHOUT_MOZILLA=1 WITH_KDE=1 WITH_CCACHE=1

I have attached the last few hundred of lines of make output (assuming 
the mailing list software hasn't scrubbed the attachment ;). The 
relevant error is:




Making: ../../../unxfbsd.pro/slo/context.obj
ccache g++-ooo [...] 
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx
In file included from ../inc/plugin/unx/sysplug.hxx:40,
                  from ../inc/plugin/impl.hxx:144,
                  from 
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
../inc/plugin/unx/plugcon.hxx:85:19: npupp.h: No such file or directory
../inc/plugin/unx/plugcon.hxx:86:19: npapi.h: No such file or directory




Apparently, make is trying to build OOo's Mozilla plugin, which fails 
because the required headers (npupp.h and npapi.h) are not found. I have 
always been using WITHOUT_MOZILLA=1 when compiling on this machine, so 
it beats me how this could ever have worked before. I know for a fact 
that the Mozilla plugin used to compile because it's been annoying the 
hell out of me for a long time - it snatches the PDF mime type, 
overriding the Acrobat plugin and then, when a PDF file is clicked on, 
failing due to some missing shared library.

I don't know whether it's something in OOo that changed or maybe the 
recent upgrade to Firefox 1.5 (which broke JDK 1.5's compilation as 
well), but either way, I think that when WITHOUT_MOZILLA=1 is specified, 
*all* integration with Mozilla should be disabled; this includes the 
annoying plugin that is broken anyway. Maybe the port's makefile could 
be changed to skip the plugin when WITHOUT_MOZILLA=1 is set?

- Bartosz
-------------- next part --------------
Making: ../../unxfbsd.pro/slo/errorhdl.obj
ccache g++-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/res -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g1 -fexceptions -fno-enforce-eh-specs   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE  -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/include/c++ -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOB680=OOB680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxfbsd.pro/slo/errorhdl.o /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/errorhdl.cxx
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/errorhdl.cxx: In static member function `static InteractionContinuationImpl* InteractionContinuationImpl::getImplementation(com::sun::star::uno::Reference<com::sun::star::uno::XInterface>)':
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/errorhdl.cxx:120: warning: cast to pointer from integer of different size
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/errorhdl.cxx: In member function `virtual sal_Int64 InteractionContinuationImpl::getSomething(const com::sun::star::uno::Sequence<sal_Int8>&)':
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/errorhdl.cxx:130: warning: cast from pointer to integer of different size
if ( -e ../../unxfbsd.pro/slo/errorhdl.o) touch ../../unxfbsd.pro/slo/errorhdl.obj
------------------------------
Making: ../../unxfbsd.pro/slo/packer.obj
ccache g++-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/res -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g1 -fexceptions -fno-enforce-eh-specs   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE  -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/include/c++ -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOB680=OOB680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxfbsd.pro/slo/packer.o /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer.cxx
if ( -e ../../unxfbsd.pro/slo/packer.o) touch ../../unxfbsd.pro/slo/packer.obj
------------------------------
Making: ../../unxfbsd.pro/slo/packer2.obj
ccache g++-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/res -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g1 -fexceptions -fno-enforce-eh-specs   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE  -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/include/c++ -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOB680=OOB680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxfbsd.pro/slo/packer2.o /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx: In constructor `UnoPacker_Impl::UnoPacker_Impl(const com::sun::star::uno::Sequence<com::sun::star::beans::PropertyValue>&)':
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx:192: warning: converting of negative value `-0x000000001' to `ULONG'
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx: In member function `ULONG UnoPacker_Impl::writeArchive(const rtl::OUString&, BOOL)':
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx:674: warning: name lookup of `pHdr' changed
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx:557: warning:   matches this `pHdr' under ISO standard rules
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/packer/packer2.cxx:668: warning:   matches this `pHdr' under old rules
if ( -e ../../unxfbsd.pro/slo/packer2.o) touch ../../unxfbsd.pro/slo/packer2.obj
using:
using: ../../unxfbsd.pro/slb/pk.lib
------------------------------
Making: ../../unxfbsd.pro/slb/pk.lib
------------------------------
Making Module-Definitionfile : ../../unxfbsd.pro/misc/pk680fi.def
just a dummy for UNIX
cp -f /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/src/default_description.xml ../../unxfbsd.pro/misc/pk_dflt.xml
xml2cmp -func ../../unxfbsd.pro/misc/pk_dflt_description.cxx ../../unxfbsd.pro/misc/pk_dflt.xml
File ../../unxfbsd.pro/misc/pk_dflt_description.cxx with component_getDescriptionFunc() is created now.
------------------------------
Making: ../../unxfbsd.pro/slo/pk_dflt_description.obj
ccache g++-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../inc -I../../unx/inc -I../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/res -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include     -I. -I../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g1 -fexceptions -fno-enforce-eh-specs   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE  -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/include/c++ -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DCUI -DSOLAR_JAVA -DOOB680=OOB680   -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../unxfbsd.pro/slo/pk_dflt_description.o ../../unxfbsd.pro/misc/pk_dflt_description.cxx
if ( -e ../../unxfbsd.pro/slo/pk_dflt_description.o) touch ../../unxfbsd.pro/slo/pk_dflt_description.obj
tr -d "\015" < exports.map | awk -f /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/bin/addsym.awk > ../../unxfbsd.pro/misc/exports_pk680fi.map
------------------------------
Making: ../../unxfbsd.pro/lib/libpk680fi.so
ccache g++-ooo -Wl,-z,combreloc -Wl,-rpath,'$ORIGIN' -shared -Wl,-O1 -Wl,--version-script ../../unxfbsd.pro/misc/exports_pk680fi.map -L../../unxfbsd.pro/lib -L../lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/lib -L/usr/local/jdk1.4.2/lib -L/usr/local/jdk1.4.2/jre/lib/i386 -L/usr/local/jdk1.4.2/jre/lib/i386/client -L/usr/local/jdk1.4.2/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxfbsd.pro/slo/pk_dflt_version.o ../../unxfbsd.pro/slo/pk_dflt_description.o -o ../../unxfbsd.pro/lib/libpk680fi.so ../../unxfbsd.pro/slo/packer.o ../../unxfbsd.pro/slo/packer2.o ../../unxfbsd.pro/slo/errorhdl.o -ltl680fi -luno_cppuhelpergcc3 -luno_cppu -luno_sal -pthread -lm -Wl,-Bdynamic -lstlport_gcc
rm -f ../../unxfbsd.pro/lib/check_libpk680fi.so
mv ../../unxfbsd.pro/lib/libpk680fi.so ../../unxfbsd.pro/lib/check_libpk680fi.so
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/bin/checkdll.sh -L../../unxfbsd.pro/lib -L../lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/lib -L/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/lib -L/usr/local/jdk1.4.2/lib -L/usr/local/jdk1.4.2/jre/lib/i386 -L/usr/local/jdk1.4.2/jre/lib/i386/client -L/usr/local/jdk1.4.2/jre/lib/i386/native_threads -L/usr/X11R6/lib ../../unxfbsd.pro/lib/check_libpk680fi.so
Checking DLL ../../unxfbsd.pro/lib/check_libpk680fi.so ...: ok
-rwxr-xr-x  1 root  wheel  135082 Feb 19 10:15 ../../unxfbsd.pro/lib/libpk680fi.so
-------------
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base
------------------------------
Making: ../../../unxfbsd.pro/misc/plbase.dpc
dmake subdmake=true  -f makefile.mk product="full" depend=t ALLDPC
Making : Dependencies
touch ../../../unxfbsd.pro/misc/plbase.dpc
------------------------------
Making: ../../../unxfbsd.pro/slo/context.obj
ccache g++-ooo -Wreturn-type -fmessage-length=0 -c -I.  -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/mozilla/plugin -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/mozilla/java -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/mozilla/nspr -I../inc -I../../../inc -I../../../unx/inc -I../../../unxfbsd.pro/inc -I. -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/external -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/unxfbsd/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/res -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl -I/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solenv/inc/Xp31 -I/usr/local/jdk1.4.2/include -I/usr/local/jdk1.4.2/include/freebsd -I/usr/local/jdk1.4.2/include/bsd -I/usr/local/jdk1.4.2/include/native_threads/include -I/usr/X11R6/include     -I. -I../../../res -I. -Os -fno-strict-aliasing -Wuninitialized   -pipe -mtune=pentiumpro -Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -g1 -fexceptions -fno-enforce-eh-specs   -fpic -DFREEBSD -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341 -D_USE_NAMESPACE  -DX86 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=450 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/include/c++ -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DEXCEPTIONS_ON -DGUI -DSOLAR_JAVA -DOOB680=OOB680   -DOJI -DSHAREDLIB -D_DLL_  -DMULTITHREAD  -o ../../../unxfbsd.pro/slo/context.o /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx
In file included from ../inc/plugin/unx/sysplug.hxx:40,
                 from ../inc/plugin/impl.hxx:144,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
../inc/plugin/unx/plugcon.hxx:85:19: npupp.h: No such file or directory
../inc/plugin/unx/plugcon.hxx:86:19: npapi.h: No such file or directory
In file included from ../inc/plugin/unx/sysplug.hxx:40,
                 from ../inc/plugin/impl.hxx:144,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
../inc/plugin/unx/plugcon.hxx:102: error: `NPP' does not name a type
../inc/plugin/unx/plugcon.hxx:103: error: `NPWindow' does not name a type
../inc/plugin/unx/plugcon.hxx:104: error: `NPSetWindowCallbackStruct' does not name a type
../inc/plugin/unx/plugcon.hxx:115: error: `NPSavedData' does not name a type
../inc/plugin/unx/plugcon.hxx:117: error: expected `)' before "inst"
../inc/plugin/unx/plugcon.hxx:126: error: variable or field `Insert' declared void
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '(' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "void"
../inc/plugin/unx/plugcon.hxx:126: error: variable or field `Insert' declared void
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '(' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "void"
../inc/plugin/unx/plugcon.hxx:126: error: variable or field `Insert' declared void
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '(' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "ULONG"
../inc/plugin/unx/plugcon.hxx:126: error: expected `,' or `...' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `,' or `...' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: `ULONG NPStreamList::GetPos(int) const' and `ULONG NPStreamList::GetPos(int) const' cannot be overloaded
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStream"
../inc/plugin/unx/plugcon.hxx:126: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before '*' token
../inc/plugin/unx/plugcon.hxx:126: error: expected `;' before "NPStreamList"
../inc/plugin/unx/plugcon.hxx: In member function `ULONG NPStreamList::GetPos(int) const':
../inc/plugin/unx/plugcon.hxx:126: error: `p' undeclared (first use this function)
../inc/plugin/unx/plugcon.hxx:126: error: (Each undeclared identifier is reported only once for each function it appears in.)
../inc/plugin/unx/plugcon.hxx: In member function `ULONG NPStreamList::GetPos(int) const':
../inc/plugin/unx/plugcon.hxx:126: error: `p' undeclared (first use this function)
../inc/plugin/unx/plugcon.hxx:126: error: `nStartIndex' undeclared (first use this function)
../inc/plugin/unx/plugcon.hxx:126: error: `bForward' undeclared (first use this function)
../inc/plugin/unx/plugcon.hxx: At global scope:
../inc/plugin/unx/plugcon.hxx:157: error: expected `;' before '(' token
../inc/plugin/unx/plugcon.hxx:158: error: expected `;' before '(' token
../inc/plugin/unx/plugcon.hxx:162: error: `NPError' does not name a type
In file included from ../inc/plugin/unx/sysplug.hxx:41,
                 from ../inc/plugin/impl.hxx:144,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
../inc/plugin/plcom.hxx:61: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:62: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:65: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:66: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:70: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:73: error: variable or field `NPP_Print' declared void
../inc/plugin/plcom.hxx:73: error: `NPP_Print' declared as a `virtual' field
../inc/plugin/plcom.hxx:73: error: expected `;' before '(' token
../inc/plugin/plcom.hxx:74: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:76: error: variable or field `NPP_StreamAsFile' declared void
../inc/plugin/plcom.hxx:76: error: `NPP_StreamAsFile' declared as a `virtual' field
../inc/plugin/plcom.hxx:76: error: expected `;' before '(' token
../inc/plugin/plcom.hxx:78: error: variable or field `NPP_URLNotify' declared void
../inc/plugin/plcom.hxx:78: error: `NPP_URLNotify' declared as a `virtual' field
../inc/plugin/plcom.hxx:78: error: expected `;' before '(' token
../inc/plugin/plcom.hxx:80: error: `int32' does not name a type
../inc/plugin/plcom.hxx:82: error: `int32' does not name a type
../inc/plugin/plcom.hxx:83: error: `NPError' does not name a type
../inc/plugin/plcom.hxx:84: error: `NPError' does not name a type
In file included from ../inc/plugin/impl.hxx:144,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
../inc/plugin/unx/sysplug.hxx:59: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:60: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:63: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:64: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:67: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:70: error: variable or field `NPP_Print' declared void
../inc/plugin/unx/sysplug.hxx:70: error: `NPP_Print' declared as a `virtual' field
../inc/plugin/unx/sysplug.hxx:70: error: expected `;' before '(' token
../inc/plugin/unx/sysplug.hxx:71: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:73: error: variable or field `NPP_StreamAsFile' declared void
../inc/plugin/unx/sysplug.hxx:73: error: `NPP_StreamAsFile' declared as a `virtual' field
../inc/plugin/unx/sysplug.hxx:73: error: expected `;' before '(' token
../inc/plugin/unx/sysplug.hxx:75: error: variable or field `NPP_URLNotify' declared void
../inc/plugin/unx/sysplug.hxx:75: error: `NPP_URLNotify' declared as a `virtual' field
../inc/plugin/unx/sysplug.hxx:75: error: expected `;' before '(' token
../inc/plugin/unx/sysplug.hxx:77: error: `int32' does not name a type
../inc/plugin/unx/sysplug.hxx:79: error: `int32' does not name a type
../inc/plugin/unx/sysplug.hxx:81: error: `NPError' does not name a type
../inc/plugin/unx/sysplug.hxx:82: error: `NPError' does not name a type
In file included from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/stl/_vector.h:572,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/vector:36,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/tools/resmgr.hxx:65,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/tools/rc.hxx:50,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/vcl/outdev.hxx:53,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/vcl/window.hxx:47,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/vcl/syschild.hxx:47,
                 from ../inc/plugin/impl.hxx:148,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
/usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/stl/_bvector.h:37:1: warning: "__WORD_BIT" redefined
In file included from /usr/include/sys/limits.h:36,
                 from /usr/include/limits.h:128,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/lib/gcc/i386-portbld-freebsd6.0/3.4.1/include/limits.h:122,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/lib/gcc/i386-portbld-freebsd6.0/3.4.1/include/syslimits.h:7,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/lib/gcc/i386-portbld-freebsd6.0/3.4.1/include/limits.h:11,
                 from /usr/local/gcc-ooo/i386-portbld-freebsd6.0/3.4.1/include/c++/climits:49,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/climits:27,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/stl/_algobase.h:43,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/stl/_list.h:34,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/solver/680/unxfbsd.pro/inc/stl/list:35,
                 from ../inc/plugin/impl.hxx:136,
                 from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
/usr/include/machine/_limits.h:95:1: warning: this is the location of the previous definition
In file included from /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base/context.cxx:41:
../inc/plugin/impl.hxx:179: error: `NPP_t' does not name a type
../inc/plugin/impl.hxx:180: error: `NPWindow' does not name a type
../inc/plugin/impl.hxx:241: error: `NPP' does not name a type
../inc/plugin/impl.hxx:242: error: ISO C++ forbids declaration of `NPWindow' with no type
../inc/plugin/impl.hxx:242: error: expected `;' before '*' token
../inc/plugin/impl.hxx:244: error: expected `;' before "void"
../inc/plugin/impl.hxx:267: error: expected `;' before '(' token
../inc/plugin/impl.hxx:340: error: expected `;' before '(' token
../inc/plugin/impl.hxx:372: error: `NPStream' does not name a type
../inc/plugin/impl.hxx:378: error: ISO C++ forbids declaration of `NPStream' with no type
../inc/plugin/impl.hxx:378: error: expected `;' before '*' token
../inc/plugin/impl.hxx:379: error: expected `;' before "XPlugin_Impl"
dmake:  Error code 1, while making '../../../unxfbsd.pro/slo/context.obj'
'---* tg_merge.mk *---'

ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOB680_m1/extensions/source/plugin/base
dmake:  Error code 1, while making 'build_instsetoo_native'
'---* *---'
*** Error code 255

Stop in /usr/ports/editors/openoffice.org-2.0.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade48126.0 make WITHOUT_MOZILLA=1 WITH_KDE=1 WITH_CCACHE=1
** Fix the problem and try again.
--->  Build of editors/openoffice.org-2.0 ended at: Sun, 19 Feb 2006 10:15:38 +0100 (consumed 05:45:03)
--->  Upgrade of editors/openoffice.org-2.0 ended at: Sun, 19 Feb 2006 10:15:38 +0100 (consumed 05:47:27)


More information about the freebsd-openoffice mailing list