[Clfs-support] findutils build failed

Charlie Brown stieizc.33 at gmail.com
Mon Dec 23 09:17:29 PST 2013


Hi,
Building findutils-4.4.2 fails miserably:
--------------------------------------------
x86_64-unknown-linux-gnu-gcc -m64 -std=gnu99 -DHAVE_CONFIG_H -I.
-I../..  -I../../intl   -g -O2 -MT fpurge.o -MD -MP -MF $d
epbase.Tpo -c -o fpurge.o fpurge.c &&\
mv -f $depbase.Tpo $depbase.Po
In file included from ./wchar.h:37:0,
                 from /mnt/clfs/tools/include/_G_config.h:20,
                 from /mnt/clfs/tools/include/libio.h:31,
                 from /mnt/clfs/tools/include/stdio.h:74,
                 from ./stdio.h:31,
                 from areadlink-with-size.c:25:
/mnt/clfs/tools/include/stdio.h:749:12: error: expected declaration
specifiers or '...' before '(' token
 extern int fseek (FILE *__stream, long int __off, int __whence);
            ^
In file included from ./wchar.h:37:0,
                 from /mnt/clfs/tools/include/_G_config.h:20,
                 from /mnt/clfs/tools/include/libio.h:31,
                 from /mnt/clfs/tools/include/stdio.h:74,
                 from ./stdio.h:31,
                 from hash.h:26,
                 from file-set.h:5,
                 from file-set.c:20:
/mnt/clfs/tools/include/stdio.h:749:12: error: expected declaration
specifiers or '...' before '(' token
 extern int fseek (FILE *__stream, long int __off, int __whence);
            ^
In file included from ./wchar.h:37:0,
                 from /mnt/clfs/tools/include/_G_config.h:20,
                 from /mnt/clfs/tools/include/libio.h:31,
                 from /mnt/clfs/tools/include/stdio.h:74,
                 from ./stdio.h:31,
                 from fpurge.h:20,
                 from fpurge.c:20:
/mnt/clfs/tools/include/stdio.h:749:12: error: expected declaration
specifiers or '...' before '(' token
 extern int fseek (FILE *__stream, long int __off, int __whence);
            ^
Makefile:890: recipe for target 'file-set.o' failed
make[4]: *** [file-set.o] Error 1
--------------------------------------------
On google I found this http://savannah.gnu.org/bugs/?27299, but the
solution is already used in the book, and it didn't work. However,
that thread points me to 4.5.3 and it built without config.cache.
Well, I'm a little worried about my eglibc configuration when I saw
declaration falts. If nobody is sharing the same issue with me, I will
(sadly) launch a rebuild.
Thanks in advance!

Sincerely,
王文鑫
Charlie



More information about the Clfs-support mailing list