Bug 762032 (GLUSTER-300)

Summary: can't compile against Berkeley DB4.8
Product: [Community] GlusterFS Reporter: LI Daobing <lidaobing>
Component: BDBAssignee: Pavan Vilas Sondur <pavan>
Status: CLOSED DUPLICATE QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: mainlineCC: aavati, gluster-bugs, lidaobing, vijay
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description LI Daobing 2009-10-06 03:24:30 UTC
compile failed under Berkeley DB 4.8:

make[6]: Entering directory `/home/lidb/workspace/foss/debian/glusterfs/glusterfs/xlators/storage/bdb/src'
/bin/bash ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../../..    -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -Wall -I../../../../libglusterfs/src -shared -nostartfiles  -g -O2 -g -Wall -O2 -c -o bctx.lo bctx.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -Wall -I../../../../libglusterfs/src -nostartfiles -g -O2 -g -Wall -O2 -c bctx.c  -fPIC -DPIC -o .libs/bctx.o
/bin/bash ../../../../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../../../..    -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -Wall -I../../../../libglusterfs/src -shared -nostartfiles  -g -O2 -g -Wall -O2 -c -o bdb-ll.lo bdb-ll.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I. -I../../../.. -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64 -D_GNU_SOURCE -DGF_LINUX_HOST_OS -Wall -I../../../../libglusterfs/src -nostartfiles -g -O2 -g -Wall -O2 -c bdb-ll.c  -fPIC -DPIC -o .libs/bdb-ll.o
bdb-ll.c: In function ‘bdb_dbenv_init’:
bdb-ll.c:966: error: ‘DB_LOG_AUTOREMOVE’ undeclared (first use in this function)
bdb-ll.c:966: error: (Each undeclared identifier is reported only once
bdb-ll.c:966: error: for each function it appears in.)

Comment 1 Anand Avati 2010-01-23 18:10:23 UTC

*** This bug has been marked as a duplicate of bug 544 ***