Re: 2.3.39 doesn't compile on Jensen (axp) w/RH60

From: Andre Hedrick (andre@suse.com)
Date: Tue Jan 11 2000 - 15:58:25 EST


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

On Tue, 11 Jan 2000, Scott A. Sibert wrote:

> The error occurs immediately:
>
> [root@wakko lx-23x]# make boot
> gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o
> scripts/split-include scripts/split-include.c
> scripts/split-include include/linux/autoconf.h include/config
> gcc -D__KERNEL__ -I/home/root/lx-23x/include -Wall -Wstrict-prototypes
> -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mno-fp-regs
> -ffixed-8 -mcpu=ev4 -Wa,-mev6 -c -o init/main.o init/main.c
> In file included from /home/root/lx-23x/include/linux/capability.h:12,
> from /home/root/lx-23x/include/linux/binfmts.h:5,
> from /home/root/lx-23x/include/linux/sched.h:8,
> from /home/root/lx-23x/include/linux/mm.h:4,
> from /home/root/lx-23x/include/linux/slab.h:14,
> from /home/root/lx-23x/include/linux/malloc.h:4,
> from /home/root/lx-23x/include/linux/proc_fs.h:5,
> from init/main.c:15:
> /home/root/lx-23x/include/linux/types.h:35: parse error before
> `old_uid_t'
> /home/root/lx-23x/include/linux/types.h:35: warning: type defaults to
> `int' in declaration of `old_uid_t'
> /home/root/lx-23x/include/linux/types.h:35: warning: data definition has
> no type or storage class
> /home/root/lx-23x/include/linux/types.h:36: parse error before
> `old_gid_t'
> /home/root/lx-23x/include/linux/types.h:36: warning: type defaults to
> `int' in declaration of `old_gid_t'
> /home/root/lx-23x/include/linux/types.h:36: warning: data definition has
> no type or storage class
> make: *** [init/main.o] Error 1
> [root@wakko lx-23x]#
>
>
>
> -
> 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/
>

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/



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