Issue 9874 - Problem builidng oo_643c_src - store project
Summary: Problem builidng oo_643c_src - store project
Status: CLOSED FIXED
Alias: None
Product: Build Tools
Classification: Code
Component: code (show other issues)
Version: 643C
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: ---
Assignee: Unknown
QA Contact: issues@tools
URL:
Keywords:
: 9877 (view as issue list)
Depends on:
Blocks:
 
Reported: 2002-12-05 17:10 UTC by Unknown
Modified: 2003-03-16 20:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Unknown 2002-12-05 17:10:58 UTC
Compiling/Building oo_643c_src under Linux [RedHat 8.0] kernel-2.4.18-14 -
Using gcc3.2.1, jdk1.3.1_06

When running DMAKE it builds everything OK up until the berkeleydb project... I 
get the error:-

make: *** [cxx.app.lo] Error 1
dmake: Error code, while making './unxlngi4.pro/misc/build/so_bulid'
--- * TG_SLO.MK * ---

ERROR: Error 65280 occured while making /open_office/oo_643c_src/berkeleydb
dmake: Error code 1,while making 'build_all'
--- * TG_SLO.MK * ---

Do anyone have any clues to what is happening? and how I can fix this.
Cheers :)
Comment 1 chris 2002-12-05 17:34:00 UTC
*** Issue 9877 has been marked as a duplicate of this issue. ***
Comment 2 chris 2002-12-05 17:36:40 UTC
Hi, your log excerpt is too small to be useful and the real error is
above the section you posted.  Please will you post more of the log
output?  Maybe since the 'Building project berkelydb' line.

Chris
Comment 3 Unknown 2002-12-06 10:22:35 UTC
Hiya Chris

Thanks for replying this thing is doin me head in :)

Here is the entire log for the 'building of the berkeleydb project'

=============
Building project berkeleydb
=============
/netukate/open_office/oo_643c_src/berkeleydb
-------------
mkdir ./unxlngi4.pro/misc/build/db-3.2.9/out
mkdir: cannot create directory `./unxlngi4.pro/misc/build/db-
3.2.9/out': File exists
cd ./unxlngi4.pro/misc/build/db-3.2.9/out && make  && touch so_built
/bin/sh ./libtool --mode=compile g++ -c  -I. -
I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc/stl -
I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc/externa
l -I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc
-I/netukate/open_office/oo_643c_src/solenv/unxlngi4/inc -
I/netukate/open_office/oo_643c_src/solenv/inc -
I/netukate/open_office/oo_643c_src/res -I/usr/include -
I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc/stl -
I/netukate/open_office/oo_643c_src/solenv/inc/Xp31 -
I/usr/java/jdk1.3.1_06/include -I/usr/java/jdk1.3.1_06/include/linux -
I/usr/java/jdk1.3.1_06/include/native_threads/include -
I/usr/X11R6/include -I. -I../dist/../include -D_REENTRANT  -
I/usr/java/j2sdk1.4.1_01/include -
I/usr/java/j2sdk1.4.1_01/include/linux -fexceptions -
D_GNU_SOURCE ../dist/../cxx/cxx_app.cpp
g++ -c -I. -
I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc/stl -
I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc/externa
l -I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc -
I/netukate/open_office/oo_643c_src/solenv/unxlngi4/inc -
I/netukate/open_office/oo_643c_src/solenv/inc -
I/netukate/open_office/oo_643c_src/res -I/usr/include -
I/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/inc/stl -
I/netukate/open_office/oo_643c_src/solenv/inc/Xp31 -
I/usr/java/jdk1.3.1_06/include -I/usr/java/jdk1.3.1_06/include/linux -
I/usr/java/jdk1.3.1_06/include/native_threads/include -
I/usr/X11R6/include -I. -I../dist/../include -D_REENTRANT -
I/usr/java/j2sdk1.4.1_01/include -
I/usr/java/j2sdk1.4.1_01/include/linux -fexceptions -
D_GNU_SOURCE ../dist/../cxx/cxx_app.cpp  -fPIC -DPIC -o cxx_app.lo
cc1plus: warning: changing search order for system 
directory "/usr/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
../cxx/cxx_app.cpp:43: syntax error before `*' token
../cxx/cxx_app.cpp: In static member function `static void
   DbEnv::_destroy_check(const char*, int)':
../cxx/cxx_app.cpp:53: `ostream' undeclared (first use this function)
../cxx/cxx_app.cpp:53: (Each undeclared identifier is reported only 
once for
   each function it appears in.)
../cxx/cxx_app.cpp:53: `out' undeclared (first use this function)
../cxx/cxx_app.cpp:57: `cerr' undeclared (first use this function)
../cxx/cxx_app.cpp: At global scope:
../cxx/cxx_app.cpp:302: `stream' was not declared in this scope
../cxx/cxx_app.cpp:303: `void DbEnv::set_error_stream' is not a 
static member
   of `class DbEnv'
../cxx/cxx_app.cpp:303: variable `void DbEnv::set_error_stream' has 
initializer
   but incomplete type
../cxx/cxx_app.cpp:303: syntax error before `{' token
../cxx/cxx_app.cpp:306: ISO C++ forbids declaration of 
`error_stream_' with no
   type
../cxx/cxx_app.cpp:306: `stream' was not declared in this scope
../cxx/cxx_app.cpp:307: syntax error before `->' token
../cxx/cxx_app.cpp:362: no `int DbEnv::set_mutexlocks(int)' member 
function
   declared in class `DbEnv'
../cxx/cxx_app.cpp: In member function `int DbEnv::set_mutexlocks
(int)':
../cxx/cxx_app.cpp:362: `struct __db_env' has no member named 
`set_mutexlocks'
../cxx/cxx_app.cpp: At global scope:
../cxx/cxx_app.cpp:430: no `int DbEnv::set_pageyield(int)' member 
function
   declared in class `DbEnv'
../cxx/cxx_app.cpp: In member function `int DbEnv::set_pageyield
(int)':
../cxx/cxx_app.cpp:433: `db_env_set_pageyield' undeclared (first use 
this
   function)
../cxx/cxx_app.cpp: At global scope:
../cxx/cxx_app.cpp:441: no `int DbEnv::set_panicstate(int)' member 
function
   declared in class `DbEnv'
../cxx/cxx_app.cpp: In member function `int DbEnv::set_panicstate
(int)':
../cxx/cxx_app.cpp:444: `db_env_set_panicstate' undeclared (first use 
this
   function)
../cxx/cxx_app.cpp: At global scope:
../cxx/cxx_app.cpp:452: no `int DbEnv::set_region_init(int)' member 
function
   declared in class `DbEnv'
../cxx/cxx_app.cpp: In member function `int DbEnv::set_region_init
(int)':
../cxx/cxx_app.cpp:455: `db_env_set_region_init' undeclared (first 
use this
   function)
../cxx/cxx_app.cpp: At global scope:
../cxx/cxx_app.cpp:462: no `int DbEnv::set_server(char*, long int, 
long int,
   unsigned int)' member function declared in class `DbEnv'
../cxx/cxx_app.cpp: In member function `int DbEnv::set_server(char*, 
long int,
   long int, unsigned int)':
../cxx/cxx_app.cpp:466: no matching function for call to 
`__db_env::set_server(
   DB_ENV*&, char*&, long int&, long int&, u_int32_t&)'
../cxx/cxx_app.cpp: In member function `int DbEnv::set_tas_spins
(unsigned
   int)':
../cxx/cxx_app.cpp:488: `db_env_set_tas_spins' undeclared (first use 
this
   function)
make: *** [cxx_app.lo] Error 1
dmake:  Error code 2, while 
making './unxlngi4.pro/misc/build/so_built'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while 
making /netukate/open_office/oo_643c_src/berkeleydb
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---

Cheers
Lee
Comment 4 chris 2002-12-06 10:36:38 UTC
Hi, this is the problem that has been mentioned on the
dev@openoffice.org mailing list several times.  See for example, this
mail:

http://www.openoffice.org/servlets/ReadMsg?msgId=351687&listName=dev

You need to do one of these:

 o Remove the system berkelydb packages (they are called db-devel on
SuSE, I don't know about Red Hat).
 o Use CVS to update to the fixed version on the OO643C branch

Chris
Comment 5 Unknown 2002-12-09 09:42:24 UTC
Hiya Again Chris,

That worked :) I deleted the db4 folder, but have now ran into a
problem building the sandbox project.

=============
Building project sandbox
=============
/netukate/open_office/oo_643c_src/sandbox/com/sun/star/lib/sandbox
-------------
/netukate/open_office/oo_643c_src/sandbox/com/sun/star/lib/sandbox/generic
Making dpj...

javac -classpath
".:../../../../../../unxlngi4.pro/class:/usr/java/jdk1.3.1_06/jre/lib/rt.jar:/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/bin/QXR5R7BT.ZIP"
-d ../../../../../../unxlngi4.pro/class  ConstantPool.java
                        Dispatcher.java
DispatcherAdapterBase.java                     
DispatcherAdapterFactory.java
        IInvokeSec.java
error: compiler message file broken:
key=compiler.err.sun.io.MalformedInputException arguments=null, null,
null, null, null, null, null
error: compiler message file broken:
key=compiler.err.sun.io.MalformedInputException arguments=null, null,
null, null, null, null, null
error: compiler message file broken:
key=compiler.err.sun.io.MalformedInputException arguments=null, null,
null, null, null, null, null
error: compiler message file broken:
key=compiler.err.sun.io.MalformedInputException arguments=null, null,
null, null, null, null, null
IInvokeSec.java:66: cannot resolve symbol
symbol  : class Dispatcher
location: interface com.sun.star.lib.sandbox.generic.IInvokeSec
        Object invokeSec(Dispatcher dispatcher, Object object, String
methodName, Object params[]) throws Exception;
                         ^
5 errors
dmake:  Error code 1, while making
'../../../../../../unxlngi4.pro/misc/lib_sandbox_generic_dummy.java'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/netukate/open_office/oo_643c_src/sandbox/com/sun/star/lib/sandbox/generic
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---

Any ideas ?

Many Thanks again
Lee 
Comment 6 chris 2002-12-09 10:19:07 UTC
Hi, glad it worked.  I'm going to resolve this issue since now it is
fixed in OO643C CVS branch.

On to your next errors:  I know of two possible Java problems that you
may have:

1. There may be a problem with the java compiler messages file.  Try
setting LANG=C before buildling.

2. You may have the libgcj development libraries installed.  If you
have these installed, you'll probably find various files under
/usr/include/gnu/java:

usr/include/gnu/java/awt/BitMaskExtent.h                   
devel/libgcj3-dev
usr/include/gnu/java/awt/Buffers.h                         
devel/libgcj3-dev
usr/include/gnu/java/awt/ComponentDataBlitOp.h             
devel/libgcj3-dev
usr/include/gnu/java/awt/GLightweightPeer.h                
devel/libgcj3-dev

(Those were taken from my Debian system - I don't know the package
name on Red Hat).

If you find those files, try removing the package and rebuild.

Chris
Comment 7 Unknown 2002-12-13 08:58:56 UTC
Hiya chris :)

found those files:- with Redhat they are under 
/usr/lib/gcc-lib/i386-redhat-linux/3.2/include/gnu/java/awt

Now I am having a problem building the Store project, here is the log
output
 
=============
Building project store
=============
/netukate/open_office/oo_643c_src/store/source
-------------
/netukate/open_office/oo_643c_src/store/util
------------------------------
Making: ../unxlngi4.pro/lib/libstore.so.3.0.1
gcc -c -fPIC -o ../unxlngi4.pro/slo/store_version.o -DUNX 
-I../unxlngi4.pro/inc
 /netukate/open_office/oo_643c_src/solenv/src/version.c
gcc "-Wl,-hlibstore.so.3" -shared -Wl,--version-script
../unxlngi4.pro/misc/stor
e_store.map -L../unxlngi4.pro/lib -L../lib
-L/netukate/open_office/oo_643c_src/s
olenv/unxlngi4/lib
-L/netukate/open_office/oo_643c_src/solver/643/unxlngi4.pro/l
ib -L/netukate/open_office/oo_643c_src/solenv/unxlngi4/lib
-L/usr/java/jdk1.3.1_
06/lib -L/usr/java/jdk1.3.1_06/jre/lib/i386
-L/usr/java/jdk1.3.1_06/jre/lib/i386
/client -L/usr/java/jdk1.3.1_06/jre/lib/i386/native_threads
-L/usr/X11R6/lib ../
unxlngi4.pro/slo/store_version.o
../unxlngi4.pro/slo/store_description.o -o ../u
nxlngi4.pro/lib/libstore.so.3.0.1 ../unxlngi4.pro/slo/object.o
../unxlngi4.pro/s
lo/memlckb.o ../unxlngi4.pro/slo/filelckb.o
../unxlngi4.pro/slo/storbase.o ../un
xlngi4.pro/slo/storcach.o ../unxlngi4.pro/slo/stordata.o
../unxlngi4.pro/slo/sto
rdmon.o ../unxlngi4.pro/slo/storlckb.o ../unxlngi4.pro/slo/stortree.o
../unxlngi
4.pro/slo/storpage.o ../unxlngi4.pro/slo/store.o -lsal -lsupc++ -ldl
-lpthread -
lm
rm -f ../unxlngi4.pro/lib/check_libstore.so.3.0.1
mv ../unxlngi4.pro/lib/libstore.so.3.0.1
../unxlngi4.pro/lib/check_libstore.so.3
.0.1
/netukate/open_office/oo_643c_src/solenv/bin/checkdll.sh
-L../unxlngi4.pro/lib -
L../lib -L/netukate/open_office/oo_643c_src/solenv/unxlngi4/lib
-L/netukate/open
_office/oo_643c_src/solver/643/unxlngi4.pro/lib
-L/netukate/open_office/oo_643c_
src/solenv/unxlngi4/lib -L/usr/java/jdk1.3.1_06/lib
-L/usr/java/jdk1.3.1_06/jre/
lib/i386 -L/usr/java/jdk1.3.1_06/jre/lib/i386/client
-L/usr/java/jdk1.3.1_06/jre
/lib/i386/native_threads -L/usr/X11R6/lib
../unxlngi4.pro/lib/check_libstore.so.
3.0.1
Checking DLL ../unxlngi4.pro/lib/check_libstore.so.3.0.1 ...: ERROR:
../unxlngi4
.pro/lib/check_libstore.so.3.0.1: undefined symbol: _Unwind_GetIP
dmake:  Error code 1, while making '../unxlngi4.pro/lib/libstore.so.3.0.1'
---* TG_SLO.MK *---

ERROR: Error 65280 occurred while making
/netukate/open_office/oo_643c_src/store
/util
dmake:  Error code 1, while making 'build_all'
---* TG_SLO.MK *---
[root@DevLinux oo_643c_src]#

Cheers for all your help
Lee :)
Comment 8 chris 2002-12-13 10:17:08 UTC
This is already fixed in store/util/makefile.mk revision 1.7.2.2. 
Please update from CVS:

cvs up -r OO643C store/util/makefile.mk

Chris
Comment 9 michael.bemmer 2003-03-16 20:11:00 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.
Comment 10 michael.bemmer 2003-03-16 20:14:39 UTC
As discussed with Armin, he thought these bug were closed, he sees all of them
as verified.