linux-mips
[Top] [All Lists]

Re: 2.6.21-rc6-mm1 build error with mips

To: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Subject: Re: 2.6.21-rc6-mm1 build error with mips
From: Stuart Longland <redhatter@gentoo.org>
Date: Wed, 11 Apr 2007 14:45:06 +1000
Cc: Andrew Morton <akpm@linux-foundation.org>, linux-mips@linux-mips.org, linux-kernel@vger.kernel.org
In-reply-to: <20070411004341.GB15262@Krystal>
Openpgp: id=63264AB9; url=http://dev.gentoo.org/~redhatter/gpgkey.asc
Organization: Gentoo Foundation
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <20070411004341.GB15262@Krystal>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 1.5.0.10 (X11/20070310)
Mathieu Desnoyers wrote:
> Hi Andrew,
> 
> I get the following error when compiling 2.6.21-rc6-mm1 for MIPS :
> 
> 
>   
> /opt/crosstool/gcc-3.4.5-glibc-2.3.6/mips-unknown-linux-gnu/bin/mips-unknown-linux-gnu-gcc
>  -Wp,-MD,arch/mips/sgi-ip22/.ip22-time.o.d  -nostdinc -isystem 
> /opt/crosstool/gcc-3.4.5-glibc-2.3.6/mips-unknown-linux-gnu/lib/gcc/mips-unknown-linux-gnu/3.4.5/include
>  -D__KERNEL__ -Iinclude -Iinclude2 
> -I/home/compudj/git/linux-2.6-lttng/include -include include/linux/autoconf.h 
> -I/home/compudj/git/linux-2.6-lttng/arch/mips/sgi-ip22 -Iarch/mips/sgi-ip22 
> -Wall -Wundef -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing 
> -fno-common -Os -mabi=32 -G 0 -mno-abicalls -fno-pic -pipe -msoft-float 
> -ffreestanding -march=r5000 -Wa,--trap 
> -I/home/compudj/git/linux-2.6-lttng/include/asm-mips/mach-ip22 
> -Iinclude/asm-mips/mach-ip22 
> -I/home/compudj/git/linux-2.6-lttng/include/asm-mips/mach-generic 
> -Iinclude/asm-mips/mach-generic -fomit-frame-pointer 
> -Wdeclaration-after-statement  -D"KBUILD_STR(s)=#s" 
> -D"KBUILD_BASENAME=KBUILD_STR(ip22_time)"  
> -D"KBUILD_MODNAME=KBUILD_STR(ip22_time)" -c -o arch/m
ips/sgi-ip22/ip22-time.o 
/home/compudj/git/linux-2.6-lttng/arch/mips/sgi-ip22/ip22-time.c
> In file included from include2/asm/time.h:21,
>                  from 
> /home/compudj/git/linux-2.6-lttng/arch/mips/sgi-ip22/ip22-time.c:25:
> /home/compudj/git/linux-2.6-lttng/include/linux/ptrace.h:64:27: 
> asm/tracehook.h: No such file or directory

Last I checked... only sources from linux-mips.org's git repository
work.  Other source trees need to be specially patched to build for MIPS.

Regards,
-- 
Stuart Longland (aka Redhatter)              .'''.
Gentoo Linux/MIPS Cobalt and Docs Developer  '.'` :
. . . . . . . . . . . . . . . . . . . . . .   .'.'
http://dev.gentoo.org/~redhatter             :.'

I haven't lost my mind...
  ...it's backed up on a tape somewhere.

Attachment: signature.asc
Description: OpenPGP digital signature

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