Messages in this thread | | | Date | Wed, 12 Jan 2000 00:28:49 -0800 (PST) | From | Andre Hedrick <> | Subject | Re: 2.3.39 doesn't compile on Jensen (axp) w/RH60 |
| |
On Tue, 11 Jan 2000, Jeff Garzik wrote:
> Andre Hedrick wrote: > > > > Add these two lines and it will compile........ > > > > linux-2.3.39/include/linux/types.h > > > > /* This is defined by include/asm-{arch}/posix_types.h */ > > + #ifdef __KERNEL__ > > typedef __kernel_old_uid_t old_uid_t; > > typedef __kernel_old_gid_t old_gid_t; > > + #endif > > Are you sure that is the correct fix? > > I fixed the problem by updating include/asm-alpha/posix_types.h with > code from include/asm-i386/posix_types.h... I never touched > include/linux/types.h.
from ./include/asm-i386/posix_types.h
#ifdef __KERNEL__ #define UID16_COMPAT_NEEDED typedef unsigned short __kernel_old_uid_t; typedef unsigned short __kernel_old_gid_t; #endif /* __KERNEL__ */
/linux/include # grep -in "old_uid_t" */*types.h asm-arm/posix_types.h:42:typedef unsigned short __kernel_old_uid_t; asm-i386/posix_types.h:34:typedef unsigned short __kernel_old_uid_t; asm-m68k/posix_types.h:34:typedef unsigned short __kernel_old_uid_t; asm/posix_types.h:34:typedef unsigned short __kernel_old_uid_t; linux/types.h:36:typedef __kernel_old_uid_t old_uid_t;
Either
#ifdef __KERNEL__ or #ifdef UID16_COMPAT_NEEDED
is needed around the group IMHO........Alan...the answer is???
Andre Hedrick The Linux IDE guy
- 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/
| |