libdb faults

From: Daniel Black <daniel.subs_at_internode.on.net>
Date: Mon, 2 Aug 2010 13:14:47 +1000

./configure --disable-filter --without-db


util.c:885: warning: ignoring return value of 'getcwd', declared with
attribute warn_unused_result
opendkim-db.c: In function 'dkimf_db_fd':
opendkim-db.c:3883: error: 'DB' undeclared (first use in this function)
opendkim-db.c:3883: error: (Each undeclared identifier is reported only once
opendkim-db.c:3883: error: for each function it appears in.)
opendkim-db.c:3883: error: 'bdb' undeclared (first use in this function)
opendkim-db.c:3885: error: expected expression before ')' token
opendkim-db.c:3887:21: error: missing binary operator before token "("
make[3]: *** [opendkim_testkey-opendkim-db.o] Error 1
make[3]: *** Waiting for unfinished jobs....
util.c: In function 'dkimf_mkpath':
util.c:885: warning: ignoring return value of 'getcwd', declared with
attribute warn_unused_result
opendkim-db.c: In function 'dkimf_db_fd':
opendkim-db.c:3883: error: 'DB' undeclared (first use in this function)
opendkim-db.c:3883: error: (Each undeclared identifier is reported only once
opendkim-db.c:3883: error: for each function it appears in.)
opendkim-db.c:3883: error: 'bdb' undeclared (first use in this function)
opendkim-db.c:3885: error: expected expression before ')' token
opendkim-db.c:3887:21: error: missing binary operator before token "("
make[3]: *** [opendkim_genzone-opendkim-db.o] Error 1
opendkim-testkey.c: In function 'main':
opendkim-testkey.c:487: warning: format '%s' expects type 'char *', but
argument 5 has type 'int'
opendkim-testkey.c:487: warning: too few arguments for format

with-db has faults too

 opendkim_genzone-opendkim-genzone.o opendkim_genzone-opendkim-lua.o
opendkim_genzone-util.o -L/usr/lib ../libopendkim/.libs/libopendkim.so -
lresolv -lssl -lcrypto /usr/lib/libgmp.so -ldl -lz -ldb
opendkim_testkey-opendkim-db.o: In function `dkimf_db_strerror':
/home/dan/software_projects/opendkim-cvs/opendkim/opendkim-db.c:3173:
undefined reference to `db_strerror'
opendkim_testkey-opendkim-db.o: In function `dkimf_db_open':
/home/dan/software_projects/opendkim-cvs/opendkim/opendkim-db.c:1234:
undefined reference to `db_create'
/home/dan/software_projects/opendkim-cvs/opendkim/opendkim-db.c:1260:
undefined reference to `db_strerror'
collect2: ld returned 1 exit status
make[3]: *** [opendkim-testkey] Error 1

db versions 4.8.30 and 5.0.21 tested
Received on Mon Aug 02 2010 - 03:14:56 PST

This archive was generated by hypermail 2.3.0 : Mon Oct 29 2012 - 23:32:53 PST