*BSD News Article 4577


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!spool.mu.edu!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
From: cflatter@nrao.edu (Chris Flatters)
Subject: Re: Anyone ported GNU-make to 386BSD ?
Message-ID: <1992Sep6.015703.23272@nrao.edu>
Sender: news@nrao.edu
Reply-To: cflatter@nrao.edu
Organization: NRAO
References: <1992Sep6.004052.19476@Informatik.TU-Muenchen.DE>
Date: Sun, 6 Sep 1992 01:57:03 GMT
Lines: 18

In article 19476@Informatik.TU-Muenchen.DE, gebhart@Informatik.TU-Muenchen.DE (Ralf Gebhart) writes:
>I need gmake to install the GNU-netfax package. It would be much work
>to rewrite the package to be compatible to usual make.
>After playing aroung with some defines I got gmake compiled but it 
>keeps core-dumping.

That's the easy problem: you need to make sure that the files that reference
glob() include <glob.h> and not "glob/glob.h".  The glob_t structure declared
in "glob/glob.h" is two words shorter than the one used by the BSD glob() so
glob() clobbers some local variables.

The one problem I haven't sorted out yet is the fact that GNU make calls
setgid() in an invalid context.  This causes problems if you invoke make
from emacs.

	Chris Flatters
	cflatter@nrao.edu