Re: [gnome-db] libgda-1.1.6



On Fri, 10 Sep 2004, Rodrigo Moya wrote:

On Fri, 2004-09-10 at 16:12 +0000, Jeronimo Albi wrote:
On Fri, 10 Sep 2004 12:05:06 +0000 (UTC)
Alf C Stockton <alf stockton co za> wrote:

I am attempting to install the above on my Linux Slackware 9.1 kernel 2.4.26
system and get the following error/s
gda-bdb-recordset.c: In function `gda_bdb_recordset_new':
gda-bdb-recordset.c:234: warning: passing arg 3 of pointer to function makes
integer from pointer without a cast
gda-bdb-recordset.c:234: error: too many arguments to function
make[2]: *** [gda-bdb-recordset.lo] Error 1
make[2]: Leaving directory `/usr/local/src/libgda-1.1.6/providers/bdb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/libgda-1.1.6/providers'
make: *** [all-recursive] Error 1

Please tell me how I fix this ?


  Which is the version number of the Berkley DB tha you have installed ?

  Would it be possible that you're compiling libgda using Berkley DB
version 3.x or 2.x header file and version 4.x libraries, for some reason ?
  Maybe /usr/include/db.h or /usr/local/include/db.h is pointing to a wrong
version.

it is indeed that the problem. Some other people have reported it. So we
should check for the version of berkeley db in configure.in, and disable
the bdb backend if < 4.x.


Thank you. With your help I have now got it fixed.
What I did was to ./configure --without-bdb

---

Regards,
Alf Stockton	www.stockton.co.za

While you don't greatly need the outside world, it's still very
reassuring to know that it's still there.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]