gwak compilation problem.

Manuel Vázquez Acosta manu at chasqui.cu
Thu Jan 23 08:52:28 PST 2003


Hi all:

Book LFS 4.0. 
Chapter 5. When compiling gawk-3.1.1 I've got this:

make 'CFLAGS=-g -O2' 'LDFLAGS=-static' all-recursive
make[1]: Entering directory `/mnt/nlfs/usr/src/gawk-3.1.1'
Making all in intl
make[2]: Entering directory `/mnt/nlfs/usr/src/gawk-3.1.1/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/mnt/nlfs/usr/src/gawk-3.1.1/intl'
Making all in .
make[2]: Entering directory `/mnt/nlfs/usr/src/gawk-3.1.1'
source='gawkmisc.c' object='gawkmisc.o' libtool=no \
depfile='.deps/gawkmisc.Po' tmpdepfile='.deps/gawkmisc.TPo' \
depmode=gcc /bin/sh ./depcomp \
gcc -s -DDEFPATH="\".:/mnt/nlfs/static/share/awk\"" -DHAVE_CONFIG_H
-DGAWK -DLOCALEDIR="\"/mnt/nlfs/static/share/locale\"" -I. -I. -I.
-I./intl  -Dre_max-failures=re_max_failures2  -g -O2 -c `test -f
gawkmisc.c || echo './'`gawkmisc.c
<command line>: warning: ISO C requires whitespace after the macro name
In file included from gawkmisc.c:49:
posix/gawkmisc.c: In function `os_close_on_exec':
posix/gawkmisc.c:121: `F_SETFD' undeclared (first use in this function)
posix/gawkmisc.c:121: (Each undeclared identifier is reported only once
posix/gawkmisc.c:121: for each function it appears in.)
make[2]: *** [gawkmisc.o] Error 1
make[2]: Leaving directory `/mnt/nlfs/usr/src/gawk-3.1.1'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/nlfs/usr/src/gawk-3.1.1'
make: *** [all] Error 2

Any tips?

Manu.


-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-support' in the subject header of the message



More information about the lfs-support mailing list