findutils-4.1 compilation error

Tobias Stöckmann tai.stoeck at web.de
Thu Jan 9 07:32:10 PST 2003


I have following problem by compiling static findutils-4.1.
I have used following commands on an lfs-2002-12-28 host-system:

# patch -Np1 -i ../findutils-4.1.patch &&
# CPPFLAGS="-Dre_max_failures=re_max_failures2 -D_GNU_SOURCE" \
# LDFLAGS="-static" ./configure --prefix=$LFS/static &&
# make &&
# make install

This problem will be removed, if I change CPPFLAGS back to:

# CPPFLAGS="-Dre_max_failures=re_max_failures2" \

--------------------------------------------------------------------------------
regex.c:27:1: warning: "_GNU_SOURCE" redefined
regex.c:1:1: warning: this is the location of the previous definition

savedir.c:65:15: macro "stpcpy" requires 2 arguments, but only 1 given
savedir.c:65: `stpcpy' redeclared as different kind of symbol
/usr/include/string.h:325: previous declaration of `stpcpy'
make[1]: *** [savedir.o] Error 1

make[1]: *** No rule to make target `../lib/libfind.a', needed by `find'.  Stop.

xargs.c:29:1: warning: "_GNU_SOURCE" redefined
xargs.c:1:1: warning: this is the location of the previous definition
xargs.c: In function `main':
xargs.c:252: warning: return type of `main' is not `int'
make[1]: *** No rule to make target `../lib/libfind.a', needed by `xargs'.  Stop

locate.c: In function `main':
locate.c:362: warning: return type of `main' is not `int'
make[1]: *** No rule to make target `../lib/libfind.a', needed by `locate'. Stop


______________________________________________________________________________
Wir benachrichtigen Sie über neue E-Mails, wo immer Sie möchten.
WEB.DE FreeMail - http://freemail.web.de/features/?mc=021186

-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-dev' in the subject header of the message



More information about the lfs-dev mailing list