linux-mips
[Top] [All Lists]

Re: mipsel-linux-ld:arch/mips/kernel/vmlinux.lds:6: parse error

To: Mudeem Iqbal <mudeem@Quartics.com>
Subject: Re: mipsel-linux-ld:arch/mips/kernel/vmlinux.lds:6: parse error
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Mon, 10 Jan 2005 10:08:49 +0100
Cc: "'linux-mips@linux-mips.org'" <linux-mips@linux-mips.org>
In-reply-to: <1B701004057AF74FAFF851560087B1610646A0@1aurora.enabtech>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <1B701004057AF74FAFF851560087B1610646A0@1aurora.enabtech>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.6+20040907i
Mudeem Iqbal wrote:
> hi,
> 
> I have built a toolchain using the following combination
> 
> binutils-2.15.94.0.2
> gcc-3.4.3
> glibc-2.3.3
> linux-2.6.9   (from linux-mips.org)
> 
> I am cross compiling linux kernel for mips. I think the toolchain has been
> successfully built. But when cross compiling the kernel I get the following
> error
> 
> LD    init/built-in.o
> LD .tmp_vmlinux1
> mipsel-linux-ld:arch/mips/kernel/vmlinux.lds:6: parse error
> make: ***[.tmp_vmlinux1] Error 1
> 
> The vmlinux.lds is as follows
> 
> 1) OUPUT_ARH(mips)
> 2) Entry(kernel_entry)
> 3) jiffies = jiffies_64;
> 4) SECTION
> 5) {
> 6)    . = ;
> 7)    /* rea-only */
> 8)    _text = .; /* Text and read only data *
>       ..................................
> }

This linker script is completely garbled and unusable.

> The line indicated by the error is . = ; Any ideas

This line has to read

        . = .;

Regenerate the script from the vmlinux.lds.S file (by removing
it and running make).


Thiemo

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