This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: glibc cvs compile problems


>>>>> 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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]