bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems with findutils-4.1 on several platforms


From: Benoît Sibaud
Subject: Problems with findutils-4.1 on several platforms
Date: Wed, 07 Nov 2001 11:54:36 +0100

Hi,

I tried to compile findutils-4.1 in a shop environment.
( gettext-0.10.40 make-3.79.1 m4-1.4 autoconf-2.52 automake-1.5
gzip-1.2.4a bison-1.28 flex-2.5.4 sed-3.02 gawk-3.1.0 diffutils-2.7
patch-2.5.4 fileutils-4.1 libtool-1.3.4 zlib-1.1.3 gcc-2.95.2
bzip2-1.0.1 dejagnu-1.4.2 gengetopt-2.4 ...)

On sparc-sun-solaris2.6, sparc-sun-solaris2.7 and sparc-sun-solaris2.8,
compilation is OK, but make check failed.

###############
Making a new site.exp file...
mv: cannot stat `site.exp': No such file or directory
make[1]: [site.exp] Error 1 (ignored)
sed: can't read site.bak: No such file or directory
make[1]: [site.exp] Error 2 (ignored)
This only works if you have the DejaGNU runtest program installed...
runtest  --tool xargs XARGS=../xargs/xargs \
XARGSFLAGS="" --srcdir ../../testsuite
WARNING: Couldn't find the global config file.
WARNING: Couldn't find tool init file

Illegal Argument "XARGS=../xargs/xargs"
try "runtest --help" for option list
make[1]: *** [check] Error 1
#################

On i686-pc-linux-gnu and sparc-unknown-linux-gnu, compilation failed
(many errors with prototypes for macro).

../../find/fstype.c:33: macro `strdup' used without args
../../find/fstype.c:34: macro `strstr' used without args
../../xargs/xargs.c:63: macro `strstr' used without args
../../xargs/xargs.c:64: macro `strdup' used without args
[...]

Compilation succeed with a small patch (cf attached file) to comment
prototypes, and with a #define _GNU_SOURCE in config.h ( to have
FNM_CASEFOLD from lib/fnmatch.h). But make check failed as for
sparc-sun-solaris2.x

(Note: compilation is even worse with gcc-3.0.2)

Regards,

-- 
Benoît Sibaud
R&D Engineer - France Telecom

Attachment: DIFF.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]