Bug 762032 (GLUSTER-300) - can't compile against Berkeley DB4.8
Summary: can't compile against Berkeley DB4.8
Keywords:
Status: CLOSED DUPLICATE of bug 762276
Alias: GLUSTER-300
Product: GlusterFS
Classification: Community
Component: BDB
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Pavan Vilas Sondur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-10-06 03:24 UTC by LI Daobing
Modified: 2010-01-23 21:10 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.