🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41995

Re: Make my day

#41995
From: Paul D. Smith
Date: Thu, 25 Jan 1996 00:00
88 lines
3758 bytes
%% Regarding Make my day;
%% vijay@no.such.domain (Vijay Rao) writes:

    vr> I recently installed a new version of make (the package was
    vr> called gmake.tgz) and now when I make something the program
    vr> says:

    vr> make: *** No targets specified and no makefile found.  Stop.  

Some hints...

1) Fix your reply address; vijay@no.such.domain isn't valid.

2) FYI, GNU make bugs are best discussed on gnu.utils.bug

3) Whenever sending a bug report, _always_ include what system you're
   using.

I'm going to assume you're using Linux, because I've only ever seen this
bug on Linux systems.  But you might be on another system which uses GNU
libc, I suppose.  And I'm going to assume you recently upgraded your
libc on Linux.

If you go look at the release notes for the libc upgrade you installed,
you'll see this problem discussed there.

The problem is a result of a bug in libc.  GNU make relies on the way
the bug works.  The newest version of libc fixed the bug... so now GNU
make doesn't work anymore :).  The next version of GNU make will fix the
problem.

In the meantime, here's a patch you can apply to GNU make to fix it for
you, excerpted from "release.libc-5.2.16":

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)

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@baynetworks.com>         Network Management Development
 Senior Software Engineer                                   Bay Networks, Inc.
-----------------------------------------------==<http://www.baynetworks.com/>-
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
     These are my opinions--Bay Networks takes no responsibility for them.
Technical Details
Message-ID: <p591iwb1e8.fsf@lemming.wellfleet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <4e8fd1$bbr@news.euro.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,de28b292033c3784
X-Google-Attributes: gid11318c,public
From: psmith@lemming.wellfleet.com (Paul D. Smith)
Subject: Re: Make my day
Date: 1996/01/25
Message-ID: <p591iwb1e8.fsf@lemming.wellfleet.com>
X-Deja-AN: 136458898
sender: psmith@lemming.wellfleet.com
references: <4e8fd1$bbr@news.euro.net>
organization: Bay Networks, Inc., Billerica, MA
reply-to: psmith@wellfleet.com
newsgroups: gnu.gcc.help