Re: 2.3.39 doesn't build xconfig or menuconfig (libc5 / old_uid_t?)

From: Chris Wing (wingc@engin.umich.edu)
Date: Tue Jan 11 2000 - 18:44:44 EST


David:

Oops. What I wanted to do was not define old_uid_t unless __KERNEL__ was
defined, to avoid polluting the namespace when compiling under libc5.

Try the following patch, it should do this properly.

Sorry for any invenience,

Chris Wing
wingc@engin.umich.edu

--- ../linux-2.3.39/include/linux/types.h Mon Jan 10 21:29:05 2000
+++ include/linux/types.h Tue Jan 11 18:38:51 2000
@@ -23,6 +23,10 @@
 typedef __kernel_uid16_t uid16_t;
 typedef __kernel_gid16_t gid16_t;
 
+/* This is defined by include/asm-{arch}/posix_types.h */
+typedef __kernel_old_uid_t old_uid_t;
+typedef __kernel_old_gid_t old_gid_t;
+
 /* libc5 includes this file to define uid_t, thus uid_t can never change
  * when it is included by non-kernel code
  */
@@ -30,10 +34,6 @@
 typedef __kernel_uid_t uid_t;
 typedef __kernel_gid_t gid_t;
 #endif /* __KERNEL__ */
-
-/* This is defined by include/asm-{arch}/posix_types.h */
-typedef __kernel_old_uid_t old_uid_t;
-typedef __kernel_old_gid_t old_gid_t;
 
 #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
 typedef __kernel_loff_t loff_t;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:19 EST