[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GNU sed 4.1.5 compile fails on RH6.2
From: |
Greg Schafer |
Subject: |
GNU sed 4.1.5 compile fails on RH6.2 |
Date: |
Fri, 3 Feb 2006 21:50:00 +1100 |
User-agent: |
Mutt/1.4.2.1i |
Hi
Yes, it's an old host with an old compiler:
$ gcc --version
egcs-2.91.66
source='regex.c' object='regex.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ../config/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../intl -I.. -I../lib -I../intl
-O2 -pipe -c regex.c
In file included from regex.c:61:
regex_internal.h:111: warning: `__mempcpy' redefined
/usr/include/bits/string2.h:205: warning: this is the location of the previous
definition
In file included from regex.c:61:
regex_internal.h:395: warning: `pure' attribute directive ignored
regex_internal.h:712: warning: `pure' attribute directive ignored
regex_internal.h:725: warning: `pure' attribute directive ignored
regex_internal.h:734: warning: `pure' attribute directive ignored
In file included from regex.c:63:
regex_internal.c:750: warning: `pure' attribute directive ignored
regex_internal.c:786: warning: `pure' attribute directive ignored
regex_internal.c:1272: warning: `pure' attribute directive ignored
regex_internal.c:1287: warning: `pure' attribute directive ignored
In file included from regex.c:64:
regcomp.c:292: warning: `always_inline' attribute directive ignored
In file included from regex.c:65:
regexec.c:1028: warning: `always_inline' attribute directive ignored
regexec.c: In function `build_trtable':
regexec.c:3299: `bool' undeclared (first use in this function)
regexec.c:3299: (Each undeclared identifier is reported only once
regexec.c:3299: for each function it appears in.)
regexec.c:3299: parse error before `dests_node_malloced'
regexec.c:3325: `dests_node_malloced' undeclared (first use in this function)
regexec.c:3325: `true' undeclared (first use in this function)
regexec.c:3365: `dest_states_malloced' undeclared (first use in this function)
regexec.c: In function `group_nodes_into_DFAstates':
regexec.c:3579: `bool' undeclared (first use in this function)
regexec.c:3579: parse error before `accepts_newline'
regexec.c:3581: `accepts_newline' undeclared (first use in this function)
make[2]: *** [regex.o] Error 1
make[2]: Leaving directory `/mnt/sysroot/temptools/src/sed-4.1.5/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/mnt/sysroot/temptools/src/sed-4.1.5'
make: *** [all] Error 2
This from the configure output is probably relevant:
checking for stdbool.h that conforms to C99... no
checking for _Bool... no
Thanks
Greg
- GNU sed 4.1.5 compile fails on RH6.2,
Greg Schafer <=