linux-mips
[Top] [All Lists]

i'm not able compile new kernel

To: linux@cthulhu.engr.sgi.com
Subject: i'm not able compile new kernel
From: Jiri "Kasi" Kastner <indy.j@worldonline.cz>
Date: Sun, 11 Jun 2000 11:40:12 +0200
Reply-to: indy.j@worldonline.cz
Sender: owner-linux-mips@oss.sgi.com
I downloaded kernel source from ftp://ftp.linux.sgi.com/.../v2.3/ 
make menuconfig,
make dep,
this is OK, but when I try make zImage I always get this error output:

/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

I would like to compile new kernel on indy (hardhat 5.1). Can anybody write to
me what is wrong? My indy is MIPS4600 (IP22), XL-8 bit graphics, vino, IndyCam,
soundcard.

Thanks
Jiri.

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