Craig Jackson wrote:
> This is directed at jimg:
>
> added your:
> find . -name configure -exec touch {} \;
> before the echo >> config.cache
>
> stat.c:50: error: redefinition of '__stat'
> ../include/sys/stat.h:23: error: previous definition of '__stat' was here
> make[2]: *** [/mnt/clfs/sources/glibc-
> build/io/stat.o] Error 1
> make[2]: Leaving directory `/mnt/clfs/sources/libc/io'
> make[1]: *** [io/subdir_lib] Error 2
> make[1]: Leaving directory `/mnt/clfs/sources/libc'
> make: *** [all] Error 2
>
> Adding
>      echo "libc_cv_gnu89_inline=yes" >> config.cache
> after configure does resolve the issue and allow make to continue.  I
> do understand you would prefer to know why exactly this is
> happening...
>   
The tarball already has configure with newer timestamps. If you're using
the glibc patch for 2.8 it wont work, I had to re-create them for 2.9 so
that the files were patched in a different order.

libc_cv_gnu89_inline=yes should already be in the config.cache for every
architecture.

_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to