Problem compiling coreutils on toolchain trunk and patch to fix it

Sergio M. Ammirata, Ph.D. sergio at ammirata.net
Thu Nov 5 20:36:18 UTC 2009


The coreutils on the latest snapshot (10.31.2009) of the toolchain does not
compile. You can put this patch in the packages/coreutils folder to fix it:

--- coreutils-7.4.orig/configure    2009-11-01 19:57:16.000000000 -0500
+++ coreutils-7.4/configure    2009-11-01 19:59:46.000000000 -0500
@@ -28703,7 +28703,7 @@
 $as_echo "#define RENAME_TRAILING_SLASH_BUG 1" >>confdefs.h
 
     fi
-    if test $gl_cv_func_rename_dest_exists_bug; then
+    if test $gl_cv_func_rename_dest_exists_bug = yes; then
 
 $as_echo "#define RENAME_DEST_EXISTS_BUG 1" >>confdefs.h
 

Regards,

Sergio


More information about the uClibc mailing list