Re: Can't compile gnome-libs-1.2.13 or lower on RH-7.1 with gcc-2.95.3



On Thu, May 10, 2001 at 05:41:47AM +0200 or thereabouts, Irger Armin wrote:
> Hi,
> 
> if i try to compile gnome-libs-1.2.13 on a RH-7.1 with gcc-2.95.3 i got
> the following error:
> -------------------------------------------------------------------------------------------------------------------------------------------------
> gnome-metadata.c: In function `init':
> gnome-metadata.c:176: warning: implicit declaration of function `dbopen'
> gnome-metadata.c:177: warning: assignment makes pointer from integer
> without a cast
> gnome-metadata.c: In function `metadata_set':
> gnome-metadata.c:302: warning: passing arg 2 of pointer to function from
> incompatible pointer type
> gnome-metadata.c:302: too few arguments to function
...

I've seen this before on RH 7.1. You probably have db, db2, and db3 (-devel)
installed. configure with --enable-prefer-db1 and this should work.
(Or remove db2/3 and devel packages so it doesn't spot them)

It's in bugzilla. I think new releases of gnome-libs should come with
a "note: use --enable-prefer-db1" in the release notes until this is
fixed. 

http://bugzilla.gnome.org/show_bug.cgi?id=50935
http://bugzilla.gnome.org/show_bug.cgi?id=51192	(dup)
http://bugzilla.gnome.org/show_bug.cgi?id=53418 (blocked by first)

Telsa




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