[GE users] sge-V60u3_TAG-src.tar compilation problem

Paul Mitchell pmitchel at email.unc.edu
Mon Feb 21 20:31:56 GMT 2005


Hello,
   After a long layoff from SGE, I'm trying to compile the latest source
on an Apple Xserve.  Here's the error I'm getting:

./aimk
Using /usr for JAVA_HOME
making in DARWIN/ for DARWIN
_________C_O_R_E__S_Y_S_T_E_M_____________
gcc -O3 -no-cpp-precomp -flat_namespace -Wall -Werror -Wstrict-prototypes
-DDARWIN -DDARWIN7 -DGETHOSTBYNAME -DGETHOSTBYADDR_M  -DLOAD_OPENSSL
-I/usr/local/BerkeleyDB.4.2/include -DTARGET_32BIT -DQCONF_FLATFILE
-DSPOOLING_dynamic -DSECURE -I/usr/local/ssl/include -Wno-sign-compare
-Wno-strict-aliasing -DCOMPILE_DC -D__SGE_NO_USERMAPPING__
-I../security/sec -I../common -I../libs -I../libs/uti -I../libs/gdi
-I../libs/japi -I../libs/sgeobj -I../libs/cull -I../libs/rmon
-I../libs/comm -I../libs/comm/lists -I../libs/sched -I../libs/evc
-I../libs/evm -I../libs/mir -I../libs/lck -I../daemons/common
-I../daemons/qmaster -I../daemons/execd -I../daemons/schedd
-I../clients/common -I. -I/usr/Versions/1.3.1/Headers -dynamic -c
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c
In file included from ../libs/spool/berkeleydb/sge_bdb.h:41,
                 from
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:62:
../libs/spool/berkeleydb/sge_bdb_types.h:80: error: parse error before '*'
token
../libs/spool/berkeleydb/sge_bdb_types.h:81: warning: type defaults to
`int' in declaration of `bdb_get_env'
../libs/spool/berkeleydb/sge_bdb_types.h:81: warning: data definition has
no type or storage class
../libs/spool/berkeleydb/sge_bdb_types.h:86: error: parse error before
numeric constant
../libs/spool/berkeleydb/sge_bdb_types.h:99: error: parse error before
"DB_ENV"
../libs/spool/berkeleydb/sge_bdb_types.h:99: warning: function declaration
isn't a prototype
../libs/spool/berkeleydb/sge_bdb_types.h:105: error: parse error before
numeric constant
../libs/spool/berkeleydb/sge_bdb_types.h:105: warning: function
declaration isn't a prototype
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c: In function
`spool_berkeleydb_default_write_func':
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:899: error: `txn'
undeclared (first use in this function)
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:899: error: (Each
undeclared identifier is reported only once
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:899: error: for each
function it appears in.)
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:899: warning: implicit
declaration of function `bdb_get_txn'
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c: In function
`spool_berkeleydb_default_delete_func':
../libs/spool/berkeleydb/sge_spooling_berkeleydb.c:1040: error: `txn'
undeclared (first use in this function)
make: *** [sge_spooling_berkeleydb.o] Error 1
not done

Which is curious, since line 80 of sge_bdb_types.h takes place in the
middle of a set of definitions, and I see nothing wrong on either side of
it.

const char *
bdb_get_server(bdb_info info);

const char *
bdb_get_path(bdb_info info);

DB_ENV *                        <--- line 80
bdb_get_env(bdb_info info);

DB *
bdb_get_db(bdb_info info, const bdb_database database);

DB_TXN *
bdb_get_txn(bdb_info info);

Has anyone run into this?

Paul Mitchell

==============================================================================
	Paul Mitchell
	email: pmitchel at email.unc.edu
	phone: (919) 962-9778
	office: I have an office, room 14, Phillips Hall
==============================================================================



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe at gridengine.sunsource.net
For additional commands, e-mail: users-help at gridengine.sunsource.net




More information about the gridengine-users mailing list