* gnu make compilation probs
@ 1997-06-13 4:00 Pedro Saraiva
1997-06-16 4:00 ` Pierre-Luc Boucheron
0 siblings, 1 reply; 2+ messages in thread
From: Pedro Saraiva @ 1997-06-13 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gnu make compilation probs
1997-06-13 4:00 gnu make compilation probs Pedro Saraiva
@ 1997-06-16 4:00 ` Pierre-Luc Boucheron
0 siblings, 0 replies; 2+ messages in thread
From: Pierre-Luc Boucheron @ 1997-06-16 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1997-06-16 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-06-13 4:00 gnu make compilation probs Pedro Saraiva
1997-06-16 4:00 ` Pierre-Luc Boucheron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox