After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 60037 - gnome-libs 1.4.1.1 fails to compile on Mandrake 8.0
gnome-libs 1.4.1.1 fails to compile on Mandrake 8.0
Status: RESOLVED DUPLICATE of bug 50935
Product: gnome-libs
Classification: Deprecated
Component: general
1.4.x
Other Linux
: Normal normal
: ---
Assigned To: gnome-libs Maintainers
gnome-libs Maintainers
Depends on:
Blocks:
 
 
Reported: 2001-09-05 02:26 UTC by dan.hensley
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description dan.hensley 2001-09-05 02:26:36 UTC
Here's what I get:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./.. -DNEED_GNOMESUPPORT_H
-I../support -I../support -I../intl -I../intl -I/usr/local/include
-I/usr/local/lib/glib/include -I/usr/X11R6/include
-I/usr/local/include/gtk-1.2 -I/usr/local/include/glib-1.2
-I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/include
-I/usr/X11R6/include -I/usr/local/include -I/usr/local/include
-DGNOMELIBDIR=\"/usr/local/lib\" -DGNOMEDATADIR=\"/usr/local/share\"
-DGNOMEBINDIR=\"/usr/local/bin\" -DGNOMELOCALSTATEDIR=\"/usr/local/var\"
-DGNOMELOCALEDIR=\"/usr/local/share/locale\"
-DGNOMESYSCONFDIR=\"/usr/local/etc\" -DVERSION=\"1.4.1.1\"
-DG_LOG_DOMAIN=\"Gnome\" -I/usr/local/include/gtk-1.2
-I/usr/local/include/glib-1.2 -I/usr/local/lib/glib/include
-I/usr/X11R6/include -g -O2 -Wall -Wunused -c gnome-metadata.c  -fPIC -DPIC
-o .libs/gnome-metadata.lo
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
gnome-metadata.c:329: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:329: too few arguments to function
gnome-metadata.c:350: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:350: too few arguments to function
gnome-metadata.c:357: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:357: too few arguments to function
gnome-metadata.c: In function `metadata_remove':
gnome-metadata.c:389: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:389: too few arguments to function
gnome-metadata.c:416: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:416: too few arguments to function
gnome-metadata.c:433: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:433: too few arguments to function
gnome-metadata.c:450: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:450: too few arguments to function
gnome-metadata.c: In function `metadata_get_list':
gnome-metadata.c:482: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:482: too few arguments to function
gnome-metadata.c: In function `metadata_get_no_dup':
gnome-metadata.c:515: warning: passing arg 2 of pointer to function from
incompatible pointer type
gnome-metadata.c:515: too few arguments to function
make[2]: *** [gnome-metadata.lo] Error 1
make[2]: Leaving directory
`/home/dhensley/work/gnome/core/gnome-libs-1.4.1.1/libgnome'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dhensley/work/gnome/core/gnome-libs-1.4.1.1'
make: *** [all-recursive-am] Error 2
Comment 1 Telsa Gwynne 2001-09-05 08:29:25 UTC
(a) Do you have any of these on your system? db2, db2-devel, db3 or
db3-devel? 

(b) I am attaching a potential patch in bug 50935. Please try it.

(c) If you don't like patching, ./configure --help should refer to
./configure --prefer-db1. Use that as the configure argument and it
should work.
Comment 2 Telsa Gwynne 2001-09-05 08:30:08 UTC

*** This bug has been marked as a duplicate of 50935 ***
Comment 3 dan.hensley 2001-09-05 15:34:23 UTC
I do have db1, db2, and db3 on my system (Mandrake 8.0).  Here's what
I've got:

db2-devel-2.4.14-2mdk
db3-3.1.17-1mdk
db2-2.4.14-2mdk
db1-1.85-4mdk
db1-tools-1.85-4mdk
db3-devel-3.1.17-1mdk
db1-devel-1.85-4mdk

I applied the patch you provided for bug 50935, and that fixed the
compile problem.  So it worked for me.  Thanks!