[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-developers] Berkeley DB build problem
From: |
eric haumant |
Subject: |
[GNUnet-developers] Berkeley DB build problem |
Date: |
Thu, 3 Apr 2003 11:32:50 +0200 |
Hello,
I've downloaded the latest released of Berkeley DB (4.1.25) and installed
it. The configure script found the library and the include files but when
running make, it says :
gcc -DHAVE_CONFIG_H -I. -I. -I../../../../src/include
-I../../../../src/include -I/usr/local/BerkeleyDB.4.1/include/ -Wall -g -O2
-c low_bdb.c -Wp,-MD,.deps/low_bdb.TPlo -fPIC -DPIC -o .libs/low_bdb.lo
low_bdb.c: In function `getDatabase':
low_bdb.c:133: warning: passing arg 2 of pointer to function from
incompatible pointer type
low_bdb.c:133: warning: passing arg 4 of pointer to function makes pointer
from integer without a cast
low_bdb.c:133: too few arguments to function
make[4]: *** [low_bdb.lo] Error 1
When regarding the source code, the call to DB->open have arguments :
dbf,filename,"data", types,flags, mode. When I look at the Berkeley DB
documentation the DB->open function has : dbf, TXNID, filename,"data",
types, flags, mode.
I think we should pass NULL to the TXNID argument (it compile with it) as
long as we don't have transaction-protection.
Eric.
- [GNUnet-developers] Berkeley DB build problem,
eric haumant <=