* Error Compiling 2.4.3 kernel on SGI IP22...
@ 2002-02-20 1:45 Robert Rusek
2002-02-20 1:45 ` Robert Rusek
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Robert Rusek @ 2002-02-20 1:45 UTC (permalink / raw)
To: linux-mips
Initially I got errors telling me that mips-linux-gcc, mips-linux-ld,
and mips-linux-ar did not exists. I simply made a link for:
mips-linux-gcc -> gcc
mips-linux-ld -> ld
mips-linux-ar -> ar
Once doing so I got make to complete except for the last part when it
goes to make the vmlinux file. I included the last few lines before it
errors out. Any help would be greatly appreciated.
---
make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/kernel'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/kernel'
make CFLAGS="-I /usr/src/linux-2.4.3/include/asm/gcc -D__KERNEL__
-I/usr/src/lin
ux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-
aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r5000 -mips2 -Wa,--trap -pipe
" -C a
rch/mips/mm
make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/mm'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.3/arch/mips/mm'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/mm'
make[1]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/mm'
make CFLAGS="-I /usr/src/linux-2.4.3/include/asm/gcc -D__KERNEL__
-I/usr/src/lin
ux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-
aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r5000 -mips2 -Wa,--trap -pipe
" -C a
rch/mips/lib
make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.3/arch/mips/lib'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/lib'
mips-linux-ld -static -G 0 -T arch/mips/ld.script
arch/mips/kernel/head.o arch/m
ips/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
mm/mm.o fs/f
s.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
arch/mips/sgi/kernel/ip22-kern.o
\
drivers/block/block.o drivers/char/char.o drivers/misc/misc.o
drivers/ne
t/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o dri
vers/sgi/sgi.a drivers/video/video.o \
net/network.o \
arch/mips/lib/lib.a /usr/src/linux-2.4.3/lib/lib.a
arch/mips/arc/arclib.
a \
--end-group \
-o vmlinux
mips-linux-ld: target elf32-bigmips not found
make: *** [vmlinux] Error 1
---
--
Robert Rusek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Error Compiling 2.4.3 kernel on SGI IP22...
2002-02-20 1:45 Error Compiling 2.4.3 kernel on SGI IP22 Robert Rusek
@ 2002-02-20 1:45 ` Robert Rusek
2002-02-20 2:45 ` Bradley D. LaRonde
2002-02-20 4:33 ` Daniel Jacobowitz
2 siblings, 0 replies; 5+ messages in thread
From: Robert Rusek @ 2002-02-20 1:45 UTC (permalink / raw)
To: linux-mips
Initially I got errors telling me that mips-linux-gcc, mips-linux-ld,
and mips-linux-ar did not exists. I simply made a link for:
mips-linux-gcc -> gcc
mips-linux-ld -> ld
mips-linux-ar -> ar
Once doing so I got make to complete except for the last part when it
goes to make the vmlinux file. I included the last few lines before it
errors out. Any help would be greatly appreciated.
---
make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/kernel'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/kernel'
make CFLAGS="-I /usr/src/linux-2.4.3/include/asm/gcc -D__KERNEL__
-I/usr/src/lin
ux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-
aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r5000 -mips2 -Wa,--trap -pipe
" -C a
rch/mips/mm
make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/mm'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.3/arch/mips/mm'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/mm'
make[1]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/mm'
make CFLAGS="-I /usr/src/linux-2.4.3/include/asm/gcc -D__KERNEL__
-I/usr/src/lin
ux-2.4.3/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer
-fno-strict-
aliasing -G 0 -mno-abicalls -fno-pic -mcpu=r5000 -mips2 -Wa,--trap -pipe
" -C a
rch/mips/lib
make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/lib'
make all_targets
make[2]: Entering directory `/usr/src/linux-2.4.3/arch/mips/lib'
make[2]: Nothing to be done for `all_targets'.
make[2]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/lib'
make[1]: Leaving directory `/usr/src/linux-2.4.3/arch/mips/lib'
mips-linux-ld -static -G 0 -T arch/mips/ld.script
arch/mips/kernel/head.o arch/m
ips/kernel/init_task.o init/main.o init/version.o \
--start-group \
arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
mm/mm.o fs/f
s.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
arch/mips/sgi/kernel/ip22-kern.o
\
drivers/block/block.o drivers/char/char.o drivers/misc/misc.o
drivers/ne
t/net.o drivers/media/media.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o dri
vers/sgi/sgi.a drivers/video/video.o \
net/network.o \
arch/mips/lib/lib.a /usr/src/linux-2.4.3/lib/lib.a
arch/mips/arc/arclib.
a \
--end-group \
-o vmlinux
mips-linux-ld: target elf32-bigmips not found
make: *** [vmlinux] Error 1
---
--
Robert Rusek
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error Compiling 2.4.3 kernel on SGI IP22...
2002-02-20 1:45 Error Compiling 2.4.3 kernel on SGI IP22 Robert Rusek
2002-02-20 1:45 ` Robert Rusek
@ 2002-02-20 2:45 ` Bradley D. LaRonde
2002-02-20 2:45 ` Bradley D. LaRonde
2002-02-20 4:33 ` Daniel Jacobowitz
2 siblings, 1 reply; 5+ messages in thread
From: Bradley D. LaRonde @ 2002-02-20 2:45 UTC (permalink / raw)
To: Robert Rusek, linux-mips
Check your arch/mips/ld.script file. I think you need to remove the
OUTPUT_FORMAT line in there. This was fixed in CVS on May 10, 2001; your
snapshot might be right before that.
Regards,
Brad
----- Original Message -----
From: "Robert Rusek" <robru@teknuts.com>
To: <linux-mips@oss.sgi.com>
Sent: Tuesday, February 19, 2002 8:45 PM
Subject: Error Compiling 2.4.3 kernel on SGI IP22...
> make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/kernel'
<snip>
> mips-linux-ld: target elf32-bigmips not found
> make: *** [vmlinux] Error 1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error Compiling 2.4.3 kernel on SGI IP22...
2002-02-20 2:45 ` Bradley D. LaRonde
@ 2002-02-20 2:45 ` Bradley D. LaRonde
0 siblings, 0 replies; 5+ messages in thread
From: Bradley D. LaRonde @ 2002-02-20 2:45 UTC (permalink / raw)
To: Robert Rusek, linux-mips
Check your arch/mips/ld.script file. I think you need to remove the
OUTPUT_FORMAT line in there. This was fixed in CVS on May 10, 2001; your
snapshot might be right before that.
Regards,
Brad
----- Original Message -----
From: "Robert Rusek" <robru@teknuts.com>
To: <linux-mips@oss.sgi.com>
Sent: Tuesday, February 19, 2002 8:45 PM
Subject: Error Compiling 2.4.3 kernel on SGI IP22...
> make[1]: Entering directory `/usr/src/linux-2.4.3/arch/mips/kernel'
<snip>
> mips-linux-ld: target elf32-bigmips not found
> make: *** [vmlinux] Error 1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Error Compiling 2.4.3 kernel on SGI IP22...
2002-02-20 1:45 Error Compiling 2.4.3 kernel on SGI IP22 Robert Rusek
2002-02-20 1:45 ` Robert Rusek
2002-02-20 2:45 ` Bradley D. LaRonde
@ 2002-02-20 4:33 ` Daniel Jacobowitz
2 siblings, 0 replies; 5+ messages in thread
From: Daniel Jacobowitz @ 2002-02-20 4:33 UTC (permalink / raw)
To: Robert Rusek; +Cc: linux-mips
On Tue, Feb 19, 2002 at 05:45:46PM -0800, Robert Rusek wrote:
> Initially I got errors telling me that mips-linux-gcc, mips-linux-ld,
> and mips-linux-ar did not exists. I simply made a link for:
>
> mips-linux-gcc -> gcc
> mips-linux-ld -> ld
> mips-linux-ar -> ar
No, set CROSS_COMPILE=mips-linux-
> mips-linux-ld -static -G 0 -T arch/mips/ld.script
> arch/mips/kernel/head.o arch/m
> ips/kernel/init_task.o init/main.o init/version.o \
> --start-group \
> arch/mips/kernel/kernel.o arch/mips/mm/mm.o kernel/kernel.o
> mm/mm.o fs/f
> s.o ipc/ipc.o arch/mips/math-emu/fpu_emulator.o
> arch/mips/sgi/kernel/ip22-kern.o
> \
> drivers/block/block.o drivers/char/char.o drivers/misc/misc.o
> drivers/ne
> t/net.o drivers/media/media.o drivers/scsi/scsidrv.o
> drivers/cdrom/driver.o dri
> vers/sgi/sgi.a drivers/video/video.o \
> net/network.o \
> arch/mips/lib/lib.a /usr/src/linux-2.4.3/lib/lib.a
> arch/mips/arc/arclib.
> a \
> --end-group \
> -o vmlinux
> mips-linux-ld: target elf32-bigmips not found
> make: *** [vmlinux] Error 1
2.4.3 is too old for your tools.
I recommend you use a newer kernel. Otherwise, just changing that to
elf32-tradbigmips should work.
--
Daniel Jacobowitz Carnegie Mellon University
MontaVista Software Debian GNU/Linux Developer
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-02-20 5:33 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-20 1:45 Error Compiling 2.4.3 kernel on SGI IP22 Robert Rusek
2002-02-20 1:45 ` Robert Rusek
2002-02-20 2:45 ` Bradley D. LaRonde
2002-02-20 2:45 ` Bradley D. LaRonde
2002-02-20 4:33 ` Daniel Jacobowitz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox