[Date Prev][Date Next] [Chronological] [Thread] [Top]

Build failure for 2.4.11 with BerkeleyDB.4.7 on Solaris


Seeing this build failure:

cd back-bdb; make  all
rm -f version.c
../../../build/mkversion -v "2.4.11" back_bdb > version.c
/bin/sh ../../..//libtool --tag=disable-shared --mode=compile  cc -g -I../../../
include -I../../../include -I.. -I./..  -I/usr/local/BerkeleyDB.4.7/include -I/u
sr/local/ssl/include -I/usr/include   -c init.c
 cc -g -I../../../include -I../../../include -I.. -I./.. -I/usr/local/BerkeleyDB
.4.7/include -I/usr/local/ssl/include -I/usr/include -c init.c -o init.o
"init.c", line 509: undefined struct/union member: lk_handle
"init.c", line 509: warning: improper pointer/integer combination: arg #1
"init.c", line 752: warning: argument #1 is incompatible with prototype:
       prototype: pointer to function(unsigned long, unsigned long) returning i
nt : "/usr/local/BerkeleyDB.4.7/include/db.h", line 2461
       argument : pointer to function(void) returning int
cc: acomp failed for init.c

Using the Sun Studio 11 compiler on Opensolaris b90

Compiling with gcc fails the same way

Any help here is very greatly appreciated