Grep Compiling and Installing

John Golovich jgolovich at yahoo.com
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
`/home/cvs/build/cvs/Linux/subsystems/grep/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':
/tmp/glibc-2.1.3/posix/regex.c:257: multiple
definition of `re_max_failures'
regex.o:/home/cvs/build/cvs/Linux/subsystems/grep/src/regex.c:256:
first defined here
collect2: ld returned 1 exit status
make[3]: *** [grep] Error 1
make[3]: Leaving directory
`/home/cvs/build/cvs/Linux/subsystems/grep/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/cvs/build/cvs/Linux/subsystems/grep/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/cvs/build/cvs/Linux/subsystems/grep'
make: *** [all-recursive-am] Error 2     

__________________________________________________
Do You Yahoo!?
Send instant messages & get email alerts with Yahoo! Messenger.
http://im.yahoo.com/





More information about the lfs-dev mailing list