diffutils-2.8., compile error.

Seth W.Klein sk at sethwklein.net
Mon Apr 7 07:18:38 PDT 2003


Chris Lingard <chris at stockwith.co.uk> wrote:
> Kristiaan Verhoeven wrote:
> 
> > -2030219
> > -Suse 8.1
> > -diffutils-2.8
> > 
> > linux:/home/lfs/lfs-packages-4.0/diffutils-2.8.1 # LDFLAGS="-static"
> > CPPFLAGS=Dre_max_failures=re_max_failures2 \
> >> ./configure --prefix=$LFS/static --disable-nls
> 
> > configure:2016: checking for C compiler default output
> > configure:2019: gcc  Dre_max_failures=re_max_failures2 -static conftest.c 
> > >&5 gcc: Dre_max_failures=re_max_failures2: No such file or directory
> 
> Its
> CPPFLAGS=-Dre_max_failures=re_max_failures2
> 
> You are missing out the "-"       CPPFLAGS=-D.....

When this happened with LDFLAGS=-static we tried switching to
LDFLAGS="-static" which seems to have helped. The attached patch
against current CVS does the same for this case.

cheers,
Seth W. Klein
-- 
sk at sethwklein.net                         http://www.sethwklein.net/
Maintainer, LFS FAQ             http://www.linuxfromscratch.org/faq/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: re_max-quote.patch
Type: application/octet-stream
Size: 4363 bytes
Desc: not available
URL: <http://lists.linuxfromscratch.org/pipermail/lfs-dev/attachments/20030407/08606d1f/attachment.obj>


More information about the lfs-dev mailing list