| View previous topic :: View next topic |
| Author |
Message |
DanB Guest
|
Posted: Mon Dec 08, 2003 6:11 am Post subject: Openoffice compile error on LFS system |
|
|
Hi all,
I am running Linux from scratch 5.0 and I am trying to install openoffice. I have the Sun Java SDK installed v. 1.4.1.
I am having problems compiling openoffice-1.1.0. I have tried a couple of times and I always get the error:
gcc -z combreloc -z defs -Wl,-rpath,'$ORIGIN' -Wl,-export-dynamic -Wl,--noinhibit-exec -L../../unxlngi4.pro/lib -L../lib -L/home/daniel/TODO/oo_1.1_src/solenv/unxlngi4/lib -L/home/daniel/TODO/oo_1.1_src/solver/645/unxlngi4.pro/lib -L/home/daniel/TODO/oo_1.1_src/solenv/unxlngi4/lib -L/opt/j2sdk/j2sdk/lib -L/opt/j2sdk/j2sdk/jre/lib/i386 -L/opt/j2sdk/j2sdk/jre/lib/i386/client -L/opt/j2sdk/j2sdk/jre/lib/i386/native_threads -L/usr/X11R6/lib -o ../../unxlngi4.pro/bin/mksvconf ../../unxlngi4.pro/obj/solar.o \
-ldl -lpthread -lm -Wl,-Bdynamic -lstlport_gcc -lstdc++
-rwxr-xr-x 1 root root 10710 Dec 6 10:23 ../../unxlngi4.pro/bin/mksvconf
-------------
../../unxlngi4.pro/bin/mksvconf ../../unxlngi4.pro/inc/svconf.h
char = signed char
short = signed short
int = signed int
long = signed long
sizeof(char) = 1
sizeof(short) = 2
sizeof(int) = 4
sizeof(long) = 4
sizeof(float) = 4
sizeof(double) = 8
sizeof(void *) = 4
LITTLEENDIAN (Intel, VAX, PowerPC)
Stack waechst nach unten
STACKALIGNMENT : 1
can not read address (nil)
Segmentation fault
dmake: Error code 139, while making '../../unxlngi4.pro/inc/svconf.h'
dmake: '../../unxlngi4.pro/inc/svconf.h' removed.
---* TG_SLO.MK *---
ERROR: Error 65280 occurred while making /home/daniel/TODO/oo_1.1_src/tools/source/solar
dmake: Error code 1, while making 'build_all'
---* TG_SLO.MK *---
Any ideas what that is all about?
Dan |
|
| Back to top |
|
 |
DanB Guest
|
Posted: Mon Dec 08, 2003 6:12 am Post subject: OPtimisation |
|
|
I should also say that i am not compiling with any optimisation i.e. CFLAGS="" etc.
Additionally i have GCJ installed.
thanks
Dan |
|
| Back to top |
|
 |
Blaasvis Guest
|
|
| Back to top |
|
 |
Blaasvis Guest
|
Posted: Thu Dec 25, 2003 3:10 am Post subject: real solution |
|
|
i found out that openoffice won't build with the 2.6.0 kernel loaded.
that's the reason you get the error  |
|
| Back to top |
|
 |
Carsten Kuckuk Guest
|
Posted: Sun Dec 28, 2003 12:36 pm Post subject: OOo doesn't compile on Kernel 2.6.0 anymore |
|
|
I just ran into the same problem. I'm also working on a (B)LFS 5. With Kernel 2.6.0 I ran into the same crash you described, but when I rebooted with a 2.4 kernel which I still had lying around on my harddisk, I passed that spot. (Unfortunately my machine started crawling and froze after a few minutes when I started Eclipse while building OOo in the background. Now I'm stuck with some nasty EFS2 inconsistencies, so it's back to square one :-/
Carsten, ck at kuckuk dot com |
|
| Back to top |
|
 |
Ibro Guest
|
Posted: Sun Apr 18, 2004 4:19 am Post subject: No Subject |
|
|
Got the same error here ..
is there anyway to make it work with the 2.6.x kernel ? |
|
| Back to top |
|
 |
Ibro Guest
|
Posted: Mon Apr 19, 2004 5:48 am Post subject: |
|
|
hmm, i've switched to 2.4.x and got new error(s?) ...
it's a bit lengthy ..
========================================================
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par.cxx:107:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx: In member function `FASTBOOL SdrObjList::IsHit(const Point&, short unsigned int) const':
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx:234: warning: passing NULL used for non-pointer argument 3 of `SdrObject* SdrObjList::CheckHit(const Point&, short unsigned int, int) const'
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par.cxx:122:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/unoapi.hxx:146:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdorect.hxx:66,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdoole2.hxx:70,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par.cxx:125:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx: At global scope:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/unopage.hxx:101,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/fmdpage.hxx:84,
from ../../../inc/unodraw.hxx:65,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par.cxx:228:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/unotools/servicehelper.hxx:138:8: warning: extra tokens at end of #endif directive
In file included from ../../../inc/unoobj.hxx:197,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par3.cxx:210:
../../../inc/TextCursorHelper.hxx:90:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par5.cxx:95:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/ucbhelper/contentbroker.hxx:101: warning: `class ucb::ContentBroker' only defines private constructors and has no friends
In file included from ../../../inc/unoobj.hxx:197,
from ../../../inc/chpfld.hxx:70,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par5.cxx:168:
../../../inc/TextCursorHelper.hxx:90:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/tracer.cxx:68:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/sfx2/docfile.hxx:159: warning: `class SfxPoolCancelManager' only defines a private destructor and has no friends
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdorect.hxx:66,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdograf.hxx:69,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8graf2.cxx:92:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8graf2.cxx:109:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/sfx2/docfile.hxx:159: warning: `class SfxPoolCancelManager' only defines a private destructor and has no friends
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8esh.cxx:107:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8esh.cxx:113:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx: In member function `FASTBOOL SdrObjList::IsHit(const Point&, short unsigned int) const':
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx:234: warning: passing NULL used for non-pointer argument 3 of `SdrObject* SdrObjList::CheckHit(const Point&, short unsigned int, int) const'
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/unoshape.hxx:135,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8esh.cxx:122:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/unotools/servicehelper.hxx:138:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8esh.cxx:163:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/unoapi.hxx:146:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdsnpv.hxx:68,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdmrkv.hxx:73,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdedtv.hxx:71,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpoev.hxx:71,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdglev.hxx:71,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdedxv.hxx:71,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdxcgv.hxx:71,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8esh.cxx:166:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdhlpln.hxx: In member function `void SdrHelpLineList::Delete(short unsigned int)':
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdhlpln.hxx:131: warning: deleting `void*' is undefined
In file included from wrtww8.hxx:92,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8esh.cxx:176:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8nds.cxx:190:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8.hxx:92,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8num.cxx:107:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8num.cxx: In member function `void SwWW8Writer::BuildAnlvBulletBase(WW8_ANLV&, BYTE*&, USHORT&, const SwNumFmt&)':
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8num.cxx:522: warning: comparison is always false due to limited range of data type
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8num.cxx: In static member function `static void SwWW8Writer::BuildAnlvBase(WW8_ANLV&, BYTE*&, USHORT&, const SwNumRule&, const SwNumFmt&, unsigned char)':
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8num.cxx:668: warning: comparison is always false due to limited range of data type
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8sty.cxx:98:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from wrtww8.hxx:92,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtw8sty.cxx:114:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8.cxx:105:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx: In member function `FASTBOOL SdrObjList::IsHit(const Point&, short unsigned int) const':
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx:234: warning: passing NULL used for non-pointer argument 3 of `SdrObject* SdrObjList::CheckHit(const Point&, short unsigned int, int) const'
In file included from wrtww8.hxx:92,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8.cxx:173:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdorect.hxx:66,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdoole2.hxx:70,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8gr.cxx:112:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8.hxx:92,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8gr.cxx:144:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/wrtww8.hxx:92,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8atr.cxx:338:
../../../inc/flypos.hxx:97:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdorect.hxx:66,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdocapt.hxx:66,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8graf.cxx:99:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8graf.cxx:108:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx: In member function `FASTBOOL SdrObjList::IsHit(const Point&, short unsigned int) const':
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdpage.hxx:234: warning: passing NULL used for non-pointer argument 3 of `SdrObject* SdrObjList::CheckHit(const Point&, short unsigned int, int) const'
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdotext.hxx:74,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdorect.hxx:66,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdoole2.hxx:70,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par4.cxx:94:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/svdtrans.hxx:90: warning: ISO C++ forbids declaration of `nWinkDiv' with no type
In file included from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par4.cxx:103:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/unoapi.hxx:146:8: warning: extra tokens at end of #endif directive
In file included from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/unopage.hxx:101,
from /mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/svx/fmdpage.hxx:84,
from ../../../inc/unodraw.hxx:65,
from /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8par4.cxx:150:
/mnt/1/BUILD/oo_1.1.1_src/solver/645/unxlngi4.pro/inc/unotools/servicehelper.hxx:138:8: warning: extra tokens at end of #endif directive
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8scan.cxx: In constructor `wwSortedArray<C>::wwSortedArray(C*, unsigned int) [with C = SprmInfo]':
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8scan.cxx:406: instantiated from here
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8scan.cxx:201: `DbgError' undeclared (first use this function)
/mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8/ww8scan.cxx:201: (Each undeclared identifier is reported only once for each function it appears in.)
dmake: Error code 1, while making '../../../unxlngi4.pro/slo/ww8scan.obj'
ERROR: Error 65280 occurred while making /mnt/1/BUILD/oo_1.1.1_src/sw/source/filter/ww8
dmake: Error code 1, while making 'build_all'
======================================================
anyone know what's the problem ? |
|
| Back to top |
|
 |
Ibro Newbie

Joined: 19 Apr 2004 Posts: 1
|
Posted: Mon Apr 19, 2004 6:15 am Post subject: |
|
|
I forgot to tell, i use
glibc-2.3.2 compiled with : --with-tls --with-__thread
gcc-3.2.3
binutils-2.13.2.1
kernel-2.4.26 |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|