bug-glibc
[Top][All Lists]
Advanced

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

fixed building gcc-2.3.2 on s390


From: William Jay Huie
Subject: fixed building gcc-2.3.2 on s390
Date: Tue, 5 Aug 2003 15:41:56 -0400


The problem was related to a file including an obsolete header file.
        Checking /usr/include/sys/ustat.h shows the following comment;

                /*
                 * This interface is obsolete.  Use <sys/statfs.h> instead.
                 */

        Changing the include in the offending file;

osatest2:/usr/src/packages/SOURCES/glibc-2.3.2/sysdeps/unix/sysv/linux # diff -u old.ustat.c ustat.c
--- old.ustat.c 2001-07-07 12:21:32.000000000 -0700
+++ ustat.c     2003-08-05 11:24:20.000000000 -0700
@@ -18,7 +18,7 @@
    02111-1307 USA.  */

 #include <errno.h>
-#include <sys/ustat.h>
+#include <sys/statfs.h>
 #include <sys/sysmacros.h>

 #include <sysdep.h>


        Things then build correctly,
        This is on a SLES-8 s390 31bit system using glibc levels 2.2.5-92.
        j

Jay Huie
 address@hidden
 zSeries Linux System Test
 Phone: 845-435-8164

reply via email to

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