From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
To: "Indukumar Ilangovan" <iilangov@cisco.com>
Cc: <linux-mips@linux-mips.org>
Subject: Re: [OT] cross-compiler problem
Date: Thu, 9 Jan 2003 21:01:12 +0530 [thread overview]
Message-ID: <200301092101.12871.krishnakumar@naturesoft.net> (raw)
In-Reply-To: <040b01c2b7f2$56ff0f40$a78b4d0a@apac.cisco.com>
Hi,
Have you changed the /usr/src/linux/include/asm
link to point to the asm-mips.
IMHO you should do it.
Hope it helps
Regards
KK
On Thursday 09 January 2003 08:48 pm, you wrote:
> Hi All,
>
> I tried to build cross compiler on Red Hat Linux
> Kernel 2.4.2-2 on an i686.
> I use binutils-2.13, gcc-3.2, glibc-2.2.5,
> glibc-2.2.5-mips-build-gmon.diff, glibc-linuxthreads.tar.gz.
> I followed the instructions from
> http://www.ltc.com/~brad/mips/mipsel-linux-cross-toolchain-building.txt
>
> I installed binutils without any problems.
>
> While compiling glibc2.2.5 I get the following error.
>
> ../sysdeps/unix/syscall.S: Assembler messages:
> ../sysdeps/unix/syscall.S:28: Error: absolute expression required `li'
> make[2]: *** [/home/iilangov/crossGCC/mips/mips-glibc/misc/syscall.o] Error
> 1
> make[2]: Leaving directory `/home/iilangov/crossGCC/mips/glibc-2.2.5/misc'
> make[1]: *** [misc/subdir_lib] Error 2
> make[1]: Leaving directory `/home/iilangov/crossGCC/mips/glibc-2.2.5'
> make: *** [all] Error 2
>
> I have "asm/unistd.h" in the include path, still this problem is happening.
> Do you guys have any clue ?
>
> Thanks in Advance !
> Indu
>
>
> ----- Original Message -----
> From: "Alexandre Oliva" <aoliva@redhat.com>
> To: "Khantharat Anekboon" <dfos1@hotmail.com>
> Cc: <crossgcc@sources.redhat.com>
> Sent: Saturday, December 28, 2002 12:22 PM
> Subject: Re: cross-compiler problem
>
> | On Dec 28, 2002, "Khantharat Anekboon" <dfos1@hotmail.com> wrote:
> | > ../sysdeps/unix/syscall.S:28: Error: absolute expression required 'li'
> |
> | Looks like you're missing the kernel headers where the syscall numbers
> | are defined. (.../include/asm/unistd.h)
> |
> | --
> | Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> | Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
> | CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> | Free Software Evangelist Professional serial bug killer
> |
> | ------
> | Want more information? See the CrossGCC FAQ,
>
> http://www.objsw.com/CrossGCC/
>
> | Want to unsubscribe? Send a note to
>
> crossgcc-unsubscribe@sources.redhat.com
>
> ********************************************************
> Indukumar Ilangovan
> HCL-Cisco Offshore development center,
> 49-50, Nelson Manickam Road, Chennai - 600029 , India .
> TEL: +91-44-2374 1939 x 2215 FAX: +91-44-3741038
> Email :iilangov@cisco.com
WARNING: multiple messages have this Message-ID (diff)
From: "Krishnakumar. R" <krishnakumar@naturesoft.net>
To: Indukumar Ilangovan <iilangov@cisco.com>
Cc: linux-mips@linux-mips.org
Subject: Re: [OT] cross-compiler problem
Date: Thu, 9 Jan 2003 21:01:12 +0530 [thread overview]
Message-ID: <200301092101.12871.krishnakumar@naturesoft.net> (raw)
Message-ID: <20030109153112.QmJQr7sgdR-BvDkpXEUmPnrwrXp-wuD6hYBLQYVUMK4@z> (raw)
In-Reply-To: <040b01c2b7f2$56ff0f40$a78b4d0a@apac.cisco.com>
Hi,
Have you changed the /usr/src/linux/include/asm
link to point to the asm-mips.
IMHO you should do it.
Hope it helps
Regards
KK
On Thursday 09 January 2003 08:48 pm, you wrote:
> Hi All,
>
> I tried to build cross compiler on Red Hat Linux
> Kernel 2.4.2-2 on an i686.
> I use binutils-2.13, gcc-3.2, glibc-2.2.5,
> glibc-2.2.5-mips-build-gmon.diff, glibc-linuxthreads.tar.gz.
> I followed the instructions from
> http://www.ltc.com/~brad/mips/mipsel-linux-cross-toolchain-building.txt
>
> I installed binutils without any problems.
>
> While compiling glibc2.2.5 I get the following error.
>
> ../sysdeps/unix/syscall.S: Assembler messages:
> ../sysdeps/unix/syscall.S:28: Error: absolute expression required `li'
> make[2]: *** [/home/iilangov/crossGCC/mips/mips-glibc/misc/syscall.o] Error
> 1
> make[2]: Leaving directory `/home/iilangov/crossGCC/mips/glibc-2.2.5/misc'
> make[1]: *** [misc/subdir_lib] Error 2
> make[1]: Leaving directory `/home/iilangov/crossGCC/mips/glibc-2.2.5'
> make: *** [all] Error 2
>
> I have "asm/unistd.h" in the include path, still this problem is happening.
> Do you guys have any clue ?
>
> Thanks in Advance !
> Indu
>
>
> ----- Original Message -----
> From: "Alexandre Oliva" <aoliva@redhat.com>
> To: "Khantharat Anekboon" <dfos1@hotmail.com>
> Cc: <crossgcc@sources.redhat.com>
> Sent: Saturday, December 28, 2002 12:22 PM
> Subject: Re: cross-compiler problem
>
> | On Dec 28, 2002, "Khantharat Anekboon" <dfos1@hotmail.com> wrote:
> | > ../sysdeps/unix/syscall.S:28: Error: absolute expression required 'li'
> |
> | Looks like you're missing the kernel headers where the syscall numbers
> | are defined. (.../include/asm/unistd.h)
> |
> | --
> | Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> | Red Hat GCC Developer aoliva@{redhat.com, gcc.gnu.org}
> | CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
> | Free Software Evangelist Professional serial bug killer
> |
> | ------
> | Want more information? See the CrossGCC FAQ,
>
> http://www.objsw.com/CrossGCC/
>
> | Want to unsubscribe? Send a note to
>
> crossgcc-unsubscribe@sources.redhat.com
>
> ********************************************************
> Indukumar Ilangovan
> HCL-Cisco Offshore development center,
> 49-50, Nelson Manickam Road, Chennai - 600029 , India .
> TEL: +91-44-2374 1939 x 2215 FAX: +91-44-3741038
> Email :iilangov@cisco.com
next prev parent reply other threads:[~2003-01-09 17:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-09 15:18 [OT] cross-compiler problem Indukumar Ilangovan
2003-01-09 15:18 ` Indukumar Ilangovan
2003-01-09 15:31 ` Krishnakumar. R [this message]
2003-01-09 15:31 ` Krishnakumar. R
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=200301092101.12871.krishnakumar@naturesoft.net \
--to=krishnakumar@naturesoft.net \
--cc=iilangov@cisco.com \
--cc=linux-mips@linux-mips.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.