error in compiling grep 2.4.2

Matt Harrington narse at underachiever.2y.net
Sun Oct 21 06:13:18 PDT 2001


the lfs book actually tells you this error can happen and gives you
instructions on how to fix it.  i think it says to run configure with
'-Dre_max_failures=re_max_railures2' but you should check for yourself
incase...

on 10/21/01 12:12, luca de filippis at merloplano at tiscalinet.it wrote:

> Hi
> i've downloaded all the lfs 3 packages.
> i'm using the /lfs partition and the
> lfs 3 commands package, after a chmod +x
> namefile (this case grep-2.4.2).
> 
> well, this is the output (used the 1st
> version, for glibc 2.1):
> 
> make[3]: Entering directory `/lfs/usr/src/grep-2.4.2/src'
> gcc  -g -O2 -static -o grep  grep.o dfa.o kwset.o obstack.o savedir.o
> getopt.o getopt1.o search.o grepmat.o regex.o  /usr/lib/libc.a(regex.o):
> In function `init_syntax_once': /rpm/BUILD/glibc-2.1.3/posix/regex.c:257:
> multiple definition of `re_max_failures' regex.o:/lfs/usr/src/grep-2.4.
> 2/src/regex.c:256: first defined here collect2: ld returned 1 exit status
> make[3]: *** [grep] Error 1
> make[3]: Leaving directory `/lfs/usr/src/grep-2.4.2/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/lfs/usr/src/grep-2.4.2/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/lfs/usr/src/grep-2.4.2'
> make: *** [all-recursive-am] Error 2
> 
> any idea?
> 
> thanks
> luca

-- 
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