To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=62650
                  Issue #:|62650
                  Summary:|compilation failure in service.cxx.
                Component:|framework
                  Version:|OOo 2.0.1
                 Platform:|All
                      URL:|
               OS/Version:|Linux
                   Status:|UNCONFIRMED
        Status whiteboard:|
                 Keywords:|
               Resolution:|
               Issue type:|DEFECT
                 Priority:|P3
             Subcomponent:|code
              Assigned to:|tm
              Reported by:|volkov_peter





------- Additional comments from [EMAIL PROTECTED] Tue Feb 28 08:12:50 -0800 
2006 -------
Hello.

I have compilation problem. I'm using `emerge openoffice` to compile it. This is
configure command it calls from config.log:
./configure --with-distro=Gentoo --with-vendor=Gentoo --with-arch=x86
--with-srcdir=/usr/portage/distfiles --with-lang=ru --with-num-cpus=1
--with-binsuffix=2 --with-installed-ooo-dirname=openoffice --with-tag=oob680-m3
--enable-gtk --enable-kde --disable-access --disable-mono --disable-cairo
--disable-post-install-scripts --enable-hunspell --with-system-hunspell
--mandir=/usr/share/man

And this is error:
g++ -Wreturn-type -fmessage-length=0 -c -I.  -I. -I../inc -I../../../inc -I../..
       /../unx/inc -I../../../unxlngi6.pro/inc -I.
-I/var/tmp/portage/openoffice-680.14       
9.0/work/ooo-build-src680.149.0/build/src680-m149/solver/680/unxlngi6.pro/inc/st
       l
-I/var/tmp/portage/openoffice-680.149.0/work/ooo-build-src680.149.0/build/src6 
      80-m149/solver/680/unxlngi6.pro/inc/external
-I/var/tmp/portage/openoffice-680.1       
49.0/work/ooo-build-src680.149.0/build/src680-m149/solver/680/unxlngi6.pro/inc -
      
I/var/tmp/portage/openoffice-680.149.0/work/ooo-build-src680.149.0/build/src680-
       m149/solenv/unxlngi6/inc
-I/var/tmp/portage/openoffice-680.149.0/work/ooo-build-       
src680.149.0/build/src680-m149/solenv/inc -I/var/tmp/portage/openoffice-680.149.
       0/work/ooo-build-src680.149.0/build/src680-m149/res -I/usr/stlport
-I/usr/includ        e/stlport -I/usr/include/stlport
-I/var/tmp/portage/openoffice-680.149.0/work/oo       
o-build-src680.149.0/build/src680-m149/solenv/inc/Xp31 -I/opt/sun-jdk-1.5.0.06/i
       nclude -I/opt/sun-jdk-1.5.0.06/include/linux
-I/opt/sun-jdk-1.5.0.06/include/nat        ive_threads/include
-I/usr/X11R6/include     -I. -I../../../res -I. -Os -fno-str        ict-aliasing
-Wuninitialized   -pipe -march=pentium3 -O2 -pipe -fomit-frame-poin        ter
-Wno-ctor-dtor-privacy -fvisibility-inlines-hidden -fexceptions -fno-enforce   
    -eh-specs   -fpic -DLINUX -DUNX -DVCL -DGCC -DC341 -DINTEL -DCVER=C341
-D_USE_NA        MESPACE -DNPTL -DGLIBC=2 -DX86 -D_PTHREADS -D_REENTRANT
-DNEW_SOLAR -D_USE_NAMES        PACE=1 -DSTLPORT_VERSION=400
-DHAVE_GCC_VISIBILITY_FEATURE -D__DMAKE -DUNIX -DCP        PU_ENV=gcc3
-DGXX_INCLUDE_PATH=/usr/lib/gcc/i686-pc-linux-gnu/3.4.5/include/g++-        v3
-DSUPD=680 -DPRODUCT -DNDEBUG -DPRODUCT_FULL -DOSL_DEBUG_LEVEL=0 -DOPTIMIZE -  
     DEXCEPTIONS_ON -DGUI -DSOLAR_JAVA -DSRC680=SRC680   -DSHAREDLIB -D_DLL_ 
-DMULTI        THREAD  -o ../../../unxlngi6.pro/slo/service.o
/var/tmp/portage/openoffice-680.1       
49.0/work/ooo-build-src680.149.0/build/src680-m149/extensions/source/plugin/base
       /service.cxx
In file included from ../inc/plugin/unx/sysplug.hxx:40,
                 from ../inc/plugin/impl.hxx:144,
                 from /var/tmp/portage/openoffice-680.149.0/work/ooo-build-src68
       0.149.0/build/src680-m149/extensions/source/plugin/base/service.cxx:40:
../inc/plugin/unx/plugcon.hxx:84:25: npsdk/npupp.h: No such file or directory
../inc/plugin/unx/plugcon.hxx:85:25: npsdk/npapi.h: No such file or directory
In file included from ../inc/plugin/unx/sysplug.hxx:40,
                 from ../inc/plugin/impl.hxx:144,
                 from /var/tmp/portage/openoffice-680.149.0/work/ooo-build-src68
      
0.149.0/build/src680-m149/extensions/source/plugin/base/service.cxx:40:
../inc/plugin/unx/plugcon.hxx:101: error: `NPP' does not name a type 
......And so on.........................


And this durty hack helpes me:
--- plugcon.hxx.orig    2006-02-28 17:48:43.000000000 +0300
+++ plugcon.hxx 2006-02-28 17:49:26.000000000 +0300
@@ -82,8 +82,8 @@
 #include <npapi.h>
 #else
 #ifndef _NPAPI_H_
-#include <npupp.h>
-#include <npapi.h>
+#include "../../../../../../np_sdk/mozsrc/npupp.h"
+#include "../../../../../../np_sdk/mozsrc/npapi.h"
 #endif
 #endif
 #undef Window

Sorry. I don't know better way to fix this.

TIA

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to