Apache OpenOffice (AOO) Bugzilla – Issue 78765
vcl's headless fails to build (to-be-m217)
Last modified: 2007-06-22 07:39:43 UTC
in m217 I get this build error. Obviously the PspGraphics constructor expect more parameter. Making: ../../unxlngx6.pro/slo/headless.obj ccache g++ -Wreturn-type -fmessage-length=0 -c -O2 -fno-strict-aliasing -Wuninitialized -fvisibility=hidden -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include -I. -I../../unxlngx6.pro/inc/headless -I../inc -I../../inc/pch -I../../inc/vcl -I../../inc -I../../unx/inc -I../../unxlngx6.pro/inc -I. -I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/stl -I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/external -I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc -I/home/hub/novell/OpenOffice2-m215/solenv/unxlngx6/inc -I/home/hub/novell/OpenOffice2-m215/solenv/inc -I/home/hub/novell/OpenOffice2-m215/res -I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/stl -I/home/hub/novell/OpenOffice2-m215/solenv/inc/Xp31 -I/usr/include -I/usr/X11R6/include -I/home/hub/novell/OpenOffice2-m215/solver/680/unxlngx6.pro/inc/offuh -I. -I../../res -I. -pipe -Wno-ctor-dtor-privacy -fno-use-cxa-atexit -fvisibility-inlines-hidden -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DX86_64 -DCVER=C341 -DNPTL -DGLIBC=2 -DX86_64 -D_PTHREADS -D_REENTRANT -DNEW_SOLAR -D_USE_NAMESPACE=1 -DSTLPORT_VERSION=400 -DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCPPU_ENV=gcc3 -DGXX_INCLUDE_PATH=/usr/include/c++/4.1.0 -DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -DCUI -DSOLAR_JAVA -DSRC680=SRC680 -DUSE_BUILTIN_RASTERIZER -DVCL_DLLIMPLEMENTATION -DSHAREDLIB -D_DLL_ -fno-exceptions -DEXCEPTIONS_OFF -o ../../unxlngx6.pro/slo/headless.o /home/hub/novell/OpenOffice2-m215/vcl/unx/headless/headless.cxx /home/hub/novell/OpenOffice2-m215/vcl/unx/headless/headless.cxx: In constructor '<unnamed>::HeadlessGraphics::HeadlessGraphics()': /home/hub/novell/OpenOffice2-m215/vcl/unx/headless/headless.cxx:183: error: no matching function for call to 'PspGraphics::PspGraphics(psp::JobData*, psp::PrinterGfx*)' ../inc/pspgraphics.h:75: note: candidates are: PspGraphics::PspGraphics(psp::JobData*, psp::PrinterGfx*, String*, bool, SalInfoPrinter*) ../inc/pspgraphics.h:63: note: PspGraphics::PspGraphics(const PspGraphics&) dmake: Error code 1, while making '../../unxlngx6.pro/slo/headless.obj' ---* tg_merge.mk *--- ERROR: Error 65280 occurred while making /home/hub/novell/OpenOffice2-m215/vcl/unx/headless dmake: Error code 1, while making 'instsetoo_native/prj/build_instsetoo_native' ---* *---
confirmed.
is it enought to add NULL, false, NULL to the call?
I did that to allow to build. Not sure if that's the right thing, but as a workaround it is ok.
to build yes. But I'm working on it right now.
Created attachment 46155 [details] fixes build breaker
... and for now NULL, false, NULL is indeed the answer, since HeadlessGraphics does not yet do anything. pl->rt: please fix on master
adjusting platform, OS
I checked in the fix as masterfix. Can someone verify this fix?
Patch applied by Kurt to SRC680 m217 (CVS HEAD).
Please verify && close this issue.
Works fine. Verified. Closing.