Grep Compiling and Installing

John Golovich jgolovich at
Tue Sep 26 07:34:13 PDT 2000

I am at a point where I think most people are at, at
least one time.  I searched deja and couldnt find a
solution that resolved my problem.

I am attaching the error messages I am receiving.  Any
help is appreciated.

Here are the commands I am using.

CPPFLAGS=-Dre_max_failures=re_max_failures2 \
./configure --prefix=/usr --disable-nls
mmake LDFLAGS=-static

make[3]: Entering directory
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
/tmp/glibc-2.1.3/posix/regex.c:257: multiple
definition of `re_max_failures'
first defined here
collect2: ld returned 1 exit status
make[3]: *** [grep] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
make: *** [all-recursive-am] Error 2     

Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.

More information about the lfs-dev mailing list