Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: Pierre-Luc Boucheron <Pierre-Luc.Boucheron@seinf.unige.ch>
Subject: Re: gnu make compilation probs
Date: 1997/06/16	[thread overview]
Message-ID: <33A55274.2781@seinf.unige.ch> (raw)
In-Reply-To: 33a119ba.0@rainbow.hrz.uni-siegen.de


Pedro Saraiva wrote:
> 
>         Hi folks,
> 
> I am in the stage of compiling gnu make. Unfortunately I get the following
> error during compilation
> 
> cd glob; make libglob.a
> gcc -I. -I. -c  -DSTDC_HEADERS=1 -DHAVE_MEMORY_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STRI
> NG_H=1 -DHAVE_DIRENT_H=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STRCOLL=1   -g
>  -O glob.c
> glob.c: In function `glob':
> glob.c:356: `GLOB_MAGCHAR' undeclared (first use this function)
> glob.c:356: (Each undeclared identifier is reported only once
> glob.c:356: for each function it appears in.)
> glob.c: In function `glob_in_dir':
> glob.c:573: `GLOB_MAGCHAR' undeclared (first use this function)
> *** Exit 1
> Stop.
> *** Exit 1
> Stop.
> 
> I know that this error is somehow related with glob.h but I can't figure out
> what is really going on. Can someone point me to the solution ? Thanks in
> advance,
> 
>                                 Pedro

I'm not sure but I think that I've already seen this error message... 
Compiling glob.c with _BSD_SOURCE defined ( -D_BSD_SOURCE ) should
works.

Hope this helps ...

-- 
Pierre-Luc Boucheron                              Tel: (+41 22) 705 7578
Services Informatiques                          Secr.: (+41 22) 705 7568
University of Geneva                              Fax: (+41 22) 705 7986
Rue General-Dufour, 24        mailto:Pierre-Luc.Boucheron@seinf.unige.ch
1211 Geneva 4 / Switzerland                http://www.unige.ch/~bouchero



      reply	other threads:[~1997-06-16  4:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-06-13  4:00 gnu make compilation probs Pedro Saraiva
1997-06-16  4:00 ` Pierre-Luc Boucheron [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox