Re: DOH - Stupid question about make & newest libc

sct@dcs.ed.ac.uk
Tue, 20 Feb 96 18:37 GMT


Hi,

> I KNOW this question has been asked before, and I KNOW that it's been
> answered before, but I was a little too hasty with the delete key with
> those old messages, so here goes...

> How do you fix make's error messages (no target to make 'all',
> no target specified, etc.) after upgrading to libc 5.2.18? (linux
> 1.3.60, gcc 2.7.0, make 3.74.)

This has nothing to do with linux-kernel, by the way! Next time you
should try asking on linux-gcc.

Anyway, for now, the problem with make is addressed in the libc
release notes, release.libc-5.2.VV. Patch is below in case you can't
find it. Read the readme that comes with the library, please!

Cheers,
Stephen.

--
Stephen Tweedie <sct@dcs.ed.ac.uk>
Department of Computer Science, Edinburgh University, Scotland.
----------------------------------------------------------------
RCS file: /home/cvs/gnu/make/dir.c,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 dir.c
*** 1.1.1.1     1995/06/25 03:27:16
--- dir.c       1995/06/25 03:55:22
***************
*** 20,26 ****
  
  #if   defined (POSIX) || defined (HAVE_DIRENT_H) || defined (__GNU_LIBRARY__)
  #include <dirent.h>
! #ifndef       __GNU_LIBRARY__
  #define D_NAMLEN(d) strlen((d)->d_name)
  #else /* GNU C library.  */
  #define D_NAMLEN(d) ((d)->d_namlen)
--- 20,26 ----
  
  #if   defined (POSIX) || defined (HAVE_DIRENT_H) || defined (__GNU_LIBRARY__)
  #include <dirent.h>
! #ifndef       __BAD_GNU_LIBRARY__
  #define D_NAMLEN(d) strlen((d)->d_name)
  #else /* GNU C library.  */
  #define D_NAMLEN(d) ((d)->d_namlen)
===================================================================
RCS file: /home/cvs/gnu/make/glob/glob.c,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 glob.c
*** 1.1.1.1     1995/06/25 03:27:18
--- glob/glob.c 1995/06/25 03:56:01
***************
*** 64,70 ****
  
  #if   defined (POSIX) || defined (HAVE_DIRENT_H) || defined (__GNU_LIBRARY__)
  #include <dirent.h>
! #ifndef       __GNU_LIBRARY__
  #define D_NAMLEN(d) strlen((d)->d_name)
  #else /* GNU C library.  */
  #define D_NAMLEN(d) ((d)->d_namlen)
--- 64,70 ----
  
  #if   defined (POSIX) || defined (HAVE_DIRENT_H) || defined (__GNU_LIBRARY__)
  #include <dirent.h>
! #ifndef       __BAD_GNU_LIBRARY__
  #define D_NAMLEN(d) strlen((d)->d_name)
  #else /* GNU C library.  */
  #define D_NAMLEN(d) ((d)->d_namlen)