Grep Compiling and Installing

Jesse Tie Ten Quee highos at
Tue Sep 26 10:11:46 PDT 2000


On Tue, Sep 26, 2000 at 10:43:35AM -0700, John Golovich wrote:
> I modified my configure to just:
> ./configure --prefix=/usr --disable-nls
> and still:
> /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 

Hrm... i though i read first declaration.. oh well

To get rid of that is to usethe CPPFLAGS variable;

CPPFLAGS=-Dre_max_failures=re_max_failures2 ./configure --prefix=/usr


Jesse Tie Ten Quee - highos at highos dot com

More information about the lfs-dev mailing list