[lkml]   [2003]   [Jan]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[OT] cross-compiler problem
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,
I followed the instructions from

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
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 !

----- Original Message -----
From: "Alexandre Oliva" <>
To: "Khantharat Anekboon" <>
Cc: <>
Sent: Saturday, December 28, 2002 12:22 PM
Subject: Re: cross-compiler problem

| On Dec 28, 2002, "Khantharat Anekboon" <> 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
| Red Hat GCC Developer aoliva@{,}
| CS PhD student at IC-Unicamp oliva@{,}
| Free Software Evangelist Professional serial bug killer
| ------
| Want more information? See the CrossGCC FAQ,
| Want to unsubscribe? Send a note to

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

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:32    [W:0.031 / U:0.280 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site