Re: [gnome-db] compile error
- From: Rodrigo Moya <rodrigo gnome-db org>
- To: Akbar <melinda_sayang hotpop com>
- Cc: GDA <gnome-db-list gnome org>
- Subject: Re: [gnome-db] compile error
- Date: Sat, 14 Aug 2004 22:42:16 +0200
On Sat, 2004-08-14 at 14:28 +0700, Akbar wrote:
> Hi,
>
> I want to install libgda but I got this error when I type make:
> -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1
> -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DYYTEXT_POINTER=1
> -DGETTEXT_PACKAGE=\"libgda-2\" -DHAVE_LOCALE_H=1 -DHAVE_LC_MESSAGES=1
> -DHAVE_BIND_TEXTDOMAIN_CODESET=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1
> -DENABLE_NLS=1 -DHAVE_BDB=1 -DHAVE_MYSQL=1 -DHAVE_POSTGRES=1
> -DHAVE_POPT_H=1 -DHAVE_READLINE_READLINE_H=1 -DHAVE_READLINE_HISTORY_H=1
> -I. -I. -I../.. -I../.. -pthread -I/usr/include/glib-2.0
> -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include -g -O2
> -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith
> -Wno-sign-compare -MT gda-bdb-recordset.lo -MD -MP -MF
> .deps/gda-bdb-recordset.Tpo -c gda-bdb-recordset.c -fPIC -DPIC -o
> .libs/gda-bdb-recordset.o
> 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 `/home/knight/work/libgda-1.1.5/providers/bdb'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/knight/work/libgda-1.1.5/providers'
> make: *** [all-recursive] Error 1
>
> The version is 1.1.5. What can I do?
>
you need to upgrade your berkeley db version. This is usually in a
package called db-devel for SuSE and RH, libdb4-dev on Debian.
--
Rodrigo Moya <rodrigo gnome-db org>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]