Re: Error Compiling 2.4.3 kernel on SGI IP22...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux