linux-mips
[Top] [All Lists]

Re: i'm not able compile new kernel

To: Jiri Kasi Kastner <indy.j@worldonline.cz>
Subject: Re: i'm not able compile new kernel
From: Ulf Carlsson <ulfc@calypso.engr.sgi.com>
Date: Sun, 11 Jun 2000 03:46:22 -0700 (PDT)
Cc: linux@cthulhu.engr.sgi.com
In-reply-to: <00061112164900.01364@pingu>
Sender: owner-linux-mips@oss.sgi.com
> /usr/src/linux/include/linux/sched.h: In function `on_sig_stack':
> In file included from /usr/src/linux/include/linux/mm.h:4,
>                  from /usr/src/linux/include/linux/slab.h:14,
>                  from /usr/src/linux/include/linux/malloc.h:4,
>                  from /usr/src/linux/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /usr/src/linux/include/linux/sched.h:566: `current' undeclared (first use 
> this function)
> /usr/src/linux/include/linux/sched.h:566: (Each undeclared identifier is 
> reported only once
> /usr/src/linux/include/linux/sched.h:566: for each function it appears in.)
> /usr/src/linux/include/linux/sched.h:567: warning: control reaches end of 
> non-void function
> /usr/src/linux/include/linux/sched.h: In function `sas_ss_flags':
> /usr/src/linux/include/linux/sched.h:571: `current' undeclared (first use 
> this function)
> /usr/src/linux/include/linux/sched.h:573: warning: control reaches end of 
> non-void function
> /usr/src/linux/include/linux/sched.h: In function `suser':
> /usr/src/linux/include/linux/sched.h:596: `current' undeclared (first use 
> this function)
> /usr/src/linux/include/linux/sched.h: In function `fsuser':
> /usr/src/linux/include/linux/sched.h:605: `current' undeclared (first use 
> this function)
> /usr/src/linux/include/linux/sched.h: In function `capable':
> /usr/src/linux/include/linux/sched.h:621: `current' undeclared (first use 
> this function)
> /usr/src/linux/include/linux/mm.h: In function `expand_stack':
> In file included from /usr/src/linux/include/linux/slab.h:14,
>                  from /usr/src/linux/include/linux/malloc.h:4,
>                  from /usr/src/linux/include/linux/proc_fs.h:5,
>                  from init/main.c:15:
> /usr/src/linux/include/linux/mm.h:406: `current' undeclared (first use this 
> function)
> init/main.c: In function `start_kernel':
> init/main.c:536: `current' undeclared (first use this function)
> init/main.c: In function `do_basic_setup':
> init/main.c:597: `current' undeclared (first use this function)
> make: *** [init/main.o] Error 1

You have to use egcs when you compile the kernel.

Ulf


<Prev in Thread] Current Thread [Next in Thread>