This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: glibc cvs compile problems
- To: Jack Howarth <howarth at bromo dot med dot uc dot edu>
- Subject: Re: glibc cvs compile problems
- From: Andreas Jaeger <aj at suse dot de>
- Date: 25 Oct 2000 16:06:18 +0200
- Cc: libc-alpha at sources dot redhat dot com, drepper at cygnus dot com
- References: <200010251339.GAA03681@bromo.med.uc.edu>
>>>>> Jack Howarth writes:
> Ulrich,
> I just checked out the glibc cvs and tried to build it on linuxppc.
> I am seeing the following compilation error...
> make[2]: Entering directory `/home/howarth/glibc/BUILD/glibc-2.1.95/elf'
> dl-load.c: In function `_dl_map_object_from_fd':
> dl-load.c:777: warning: unused variable `i'
> dl-load.c: In function `_dl_map_object':
> dl-load.c:1460: warning: unused variable `i'
> ../sysdeps/generic/dl-cache.c: In function `_dl_load_cache_lookup':
> ../sysdeps/generic/dl-cache.c:181: `CACHEMAGIC_VERSION_NEW' undeclared (first use in this function)
> ../sysdeps/generic/dl-cache.c:181: (Each undeclared identifier is reported only once
> ../sysdeps/generic/dl-cache.c:181: for each function it appears in.)
> ...can we get this fixed..
Definitly, I've sent already a patch to this list, here is it again.
But we should also remove the unused warnings, I'll send later a new patch,
Andreas
============================================================
Index: sysdeps/generic/dl-cache.h
--- sysdeps/generic/dl-cache.h 2000/09/24 18:32:16 1.5
+++ sysdeps/generic/dl-cache.h 2000/10/25 10:02:21
@@ -69,7 +69,7 @@
#define CACHEMAGIC_NEW "glibc-ld.so.cache"
#define CACHE_VERSION "1.1"
-
+#define CACHEMAGIC_VERSION_NEW CACHEMAGIC_NEW CACHE_VERSION
struct file_entry_new
{
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj