2007-10-26 12:58:23

by Pekka Enberg

[permalink] [raw]
Subject: [PROBLEM] UM does not compile on i386

Hi,

The current Linus' git does not compile on i386 for UM defconfig:

CC init/do_mounts.o
In file included from init/do_mounts.c:19:
init/do_mounts.h: In function 'bstat':
init/do_mounts.h:25: error: storage size of 'stat' isn't known
init/do_mounts.h:25: warning: unused variable 'stat'
init/do_mounts.h:33: warning: control reaches end of non-void function
make[1]: *** [init/do_mounts.o] Error 1
make: *** [init] Error 2

Pekka


2007-10-26 13:55:54

by Cong Wang

[permalink] [raw]
Subject: Re: [PROBLEM] UM does not compile on i386

On Fri, Oct 26, 2007 at 03:58:04PM +0300, Pekka Enberg wrote:
>Hi,
>
>The current Linus' git does not compile on i386 for UM defconfig:
>
> CC init/do_mounts.o
>In file included from init/do_mounts.c:19:
>init/do_mounts.h: In function 'bstat':
>init/do_mounts.h:25: error: storage size of 'stat' isn't known
>init/do_mounts.h:25: warning: unused variable 'stat'
>init/do_mounts.h:33: warning: control reaches end of non-void function
>make[1]: *** [init/do_mounts.o] Error 1
>make: *** [init] Error 2
>
> Pekka

Fixed by Balbir Singh[1].

[1] http://lkml.org/lkml/2007/10/25/181

--
May the Source Be With You.

2007-10-26 16:25:21

by Jeff Dike

[permalink] [raw]
Subject: Re: [PROBLEM] UM does not compile on i386

On Fri, Oct 26, 2007 at 03:58:04PM +0300, Pekka Enberg wrote:
> The current Linus' git does not compile on i386 for UM defconfig:

You need this patch:

http://marc.info/?l=linux-kernel&m=119332492222601&q=raw

Jeff

--
Work email - jdike at linux dot intel dot com