From: Richard Hartensveld <richardh@infopact.nl>
To: "linux@cthulhu.engr.sgi.com" <linux@cthulhu.engr.sgi.com>
Subject: crosscompiling on debian/i386
Date: Wed, 30 Sep 1998 01:29:09 +0200 [thread overview]
Message-ID: <36116D45.E34A6FEF@infopact.nl> (raw)
Hi,
i'm trying to crosscompile a linux/sgi kernel on a debian/i386 machine
with the binutils and the mips-linux-gcc compiler from the linux-sgi ftp
site.
But i keep getting the following error, does anyone know what i am
doing wrong.?
I'm trying to compile for a r5000 cpu.
(the dependancies works fine)
wilderness:/usr/src/linux# make CROSS_COMPILE=mips-linux- zImage
mips-linux-gcc -D__KERNEL__ -I/usr/src/linux/include -Wall
-Wstrict-prototypes -
O2 -fomit-frame-pointer -G 0 -mno-abicalls -fno-pic -mcpu=r8000 -mips2
-pipe -c
-o init/main.o init/main.c
/usr/src/linux/include/linux/sched.h: In function `on_sig_stack':
In file included from init/main.c:17:
/usr/src/linux/include/linux/sched.h:528: `current' undeclared (first
use this f
unction)
/usr/src/linux/include/linux/sched.h:528: (Each undeclared identifier is
reporte
d only once
/usr/src/linux/include/linux/sched.h:528: for each function it appears
in.)
/usr/src/linux/include/linux/sched.h:530: warning: control reaches end
of non-vo
id function
/usr/src/linux/include/linux/sched.h: In function `sas_ss_flags':
/usr/src/linux/include/linux/sched.h:534: `current' undeclared (first
use this f
unction)
/usr/src/linux/include/linux/sched.h:536: warning: control reaches end
of non-vo
id function
/usr/src/linux/include/linux/sched.h: In function `suser':
/usr/src/linux/include/linux/sched.h:561: `current' undeclared (first
use this f
unction)
/usr/src/linux/include/linux/sched.h: In function `fsuser':
/usr/src/linux/include/linux/sched.h:570: `current' undeclared (first
use this f
unction)
/usr/src/linux/include/linux/sched.h: In function `capable':
/usr/src/linux/include/linux/sched.h:586: `current' undeclared (first
use this f
unction)
/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:6,
from init/main.c:24:
/usr/src/linux/include/linux/mm.h:353: `current' undeclared (first use
this func
tion)
make: *** [init/main.o] Error 1
Anyone who could help?
Richard
next reply other threads:[~1998-09-29 23:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-09-29 23:29 Richard Hartensveld [this message]
1998-09-30 21:29 ` crosscompiling on debian/i386 ralf
[not found] <19981001223848.19704@alpha.franken.de>
1998-10-02 5:30 ` Ulf Carlsson
1998-10-02 16:46 ` Richard Hartensveld
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=36116D45.E34A6FEF@infopact.nl \
--to=richardh@infopact.nl \
--cc=linux@cthulhu.engr.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox