All of lore.kernel.org
 help / color / mirror / Atom feed
* 2.4.20-pre2-ac1 does not compile
@ 2002-08-14 17:33 Jean-Luc Coulon
  2002-08-14 17:40 ` Christoph Hellwig
  0 siblings, 1 reply; 6+ messages in thread
From: Jean-Luc Coulon @ 2002-08-14 17:33 UTC (permalink / raw)
  To: linux-kernel

Hi,

I've the following message :

gcc -D__KERNEL__ -I/usr/src/kernel-source-2.4.20-pre2-ac1/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6  
-nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
-DKBUILD_BASENAME=swap_state  -c -o swap_state.o swap_state.c
swap_state.c:155: macro `PAGE_BUG' used without args
make[3]: *** [swap_state.o] Erreur 1
make[3]: Leaving directory `/usr/src/kernel-source-2.4.20-pre2-ac1/mm'
make[2]: *** [first_rule] Erreur 2
make[2]: Leaving directory `/usr/src/kernel-source-2.4.20-pre2-ac1/mm'
make[1]: *** [_dir_mm] Erreur 2
make[1]: Leaving directory `/usr/src/kernel-source-2.4.20-pre2-ac1'


-------
Regards
	Jean-Luc

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.20-pre2-ac1 does not compile
  2002-08-14 17:33 2.4.20-pre2-ac1 does not compile Jean-Luc Coulon
@ 2002-08-14 17:40 ` Christoph Hellwig
  2002-08-14 19:53   ` Alexander Hoogerhuis
  2002-08-14 20:02   ` David Weinehall
  0 siblings, 2 replies; 6+ messages in thread
From: Christoph Hellwig @ 2002-08-14 17:40 UTC (permalink / raw)
  To: Jean-Luc Coulon; +Cc: linux-kernel

On Wed, Aug 14, 2002 at 07:33:05PM +0200, Jean-Luc Coulon wrote:
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6  
> -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> -DKBUILD_BASENAME=swap_state  -c -o swap_state.o swap_state.c
> swap_state.c:155: macro `PAGE_BUG' used without args

make that a plain BUG() - no idea what drove alan into that..


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.20-pre2-ac1 does not compile
  2002-08-14 17:40 ` Christoph Hellwig
@ 2002-08-14 19:53   ` Alexander Hoogerhuis
  2002-08-14 20:02   ` David Weinehall
  1 sibling, 0 replies; 6+ messages in thread
From: Alexander Hoogerhuis @ 2002-08-14 19:53 UTC (permalink / raw)
  To: Christoph Hellwig; +Cc: Jean-Luc Coulon, linux-kernel

Christoph Hellwig <hch@infradead.org> writes:

> On Wed, Aug 14, 2002 at 07:33:05PM +0200, Jean-Luc Coulon wrote:
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6  
> > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> > -DKBUILD_BASENAME=swap_state  -c -o swap_state.o swap_state.c
> > swap_state.c:155: macro `PAGE_BUG' used without args
> 
> make that a plain BUG() - no idea what drove alan into that..
> 

When nfsd is compiled as a module it fails on depmod -a, as
exp_readunlock can't be found.

mvh,
A
-- 
Alexander Hoogerhuis                               | alexh@ihatent.com
CCNP - CCDP - MCNE - CCSE                          | +47 908 21 485
"You have zero privacy anyway. Get over it."  --Scott McNealy

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.20-pre2-ac1 does not compile
  2002-08-14 17:40 ` Christoph Hellwig
  2002-08-14 19:53   ` Alexander Hoogerhuis
@ 2002-08-14 20:02   ` David Weinehall
  2002-08-14 20:04     ` Christoph Hellwig
  1 sibling, 1 reply; 6+ messages in thread
From: David Weinehall @ 2002-08-14 20:02 UTC (permalink / raw)
  To: Christoph Hellwig, Jean-Luc Coulon, linux-kernel

On Wed, Aug 14, 2002 at 06:40:40PM +0100, Christoph Hellwig wrote:
> On Wed, Aug 14, 2002 at 07:33:05PM +0200, Jean-Luc Coulon wrote:
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6  
> > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> > -DKBUILD_BASENAME=swap_state  -c -o swap_state.o swap_state.c
> > swap_state.c:155: macro `PAGE_BUG' used without args
> 
> make that a plain BUG() - no idea what drove alan into that..

Shouldn't it be PAGE_BUG(page)?!


Regards: David
-- 
 /> David Weinehall <tao@acc.umu.se> /> Northern lights wander      <\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.20-pre2-ac1 does not compile
  2002-08-14 20:02   ` David Weinehall
@ 2002-08-14 20:04     ` Christoph Hellwig
  2002-08-14 20:12       ` David Weinehall
  0 siblings, 1 reply; 6+ messages in thread
From: Christoph Hellwig @ 2002-08-14 20:04 UTC (permalink / raw)
  To: David Weinehall; +Cc: Jean-Luc Coulon, linux-kernel

On Wed, Aug 14, 2002 at 10:02:40PM +0200, David Weinehall wrote:
> On Wed, Aug 14, 2002 at 06:40:40PM +0100, Christoph Hellwig wrote:
> > On Wed, Aug 14, 2002 at 07:33:05PM +0200, Jean-Luc Coulon wrote:
> > > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6  
> > > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> > > -DKBUILD_BASENAME=swap_state  -c -o swap_state.o swap_state.c
> > > swap_state.c:155: macro `PAGE_BUG' used without args
> > 
> > make that a plain BUG() - no idea what drove alan into that..
> 
> Shouldn't it be PAGE_BUG(page)?!


Have you ever looked at the defintion of PAGE_BUG()? :)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 2.4.20-pre2-ac1 does not compile
  2002-08-14 20:04     ` Christoph Hellwig
@ 2002-08-14 20:12       ` David Weinehall
  0 siblings, 0 replies; 6+ messages in thread
From: David Weinehall @ 2002-08-14 20:12 UTC (permalink / raw)
  To: Christoph Hellwig, Jean-Luc Coulon, linux-kernel

On Wed, Aug 14, 2002 at 09:04:10PM +0100, Christoph Hellwig wrote:
> On Wed, Aug 14, 2002 at 10:02:40PM +0200, David Weinehall wrote:
> > On Wed, Aug 14, 2002 at 06:40:40PM +0100, Christoph Hellwig wrote:
> > > On Wed, Aug 14, 2002 at 07:33:05PM +0200, Jean-Luc Coulon wrote:
> > > > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > > > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=k6  
> > > > -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include
> > > > -DKBUILD_BASENAME=swap_state  -c -o swap_state.o swap_state.c
> > > > swap_state.c:155: macro `PAGE_BUG' used without args
> > > 
> > > make that a plain BUG() - no idea what drove alan into that..
> > 
> > Shouldn't it be PAGE_BUG(page)?!
> 
> 
> Have you ever looked at the defintion of PAGE_BUG()? :)

Yes I have (it simply ignores its argument and calls BUG()), but
I find it likely that there is some thought behind the existance of
PAGE_BUG. I may be wrong of course; I just saw it as reasonable that
it is planned to become somewhat more useful.


Regards: David
-- 
 /> David Weinehall <tao@acc.umu.se> /> Northern lights wander      <\
//  Maintainer of the v2.0 kernel   //  Dance across the winter sky //
\>  http://www.acc.umu.se/~tao/    </   Full colour fire           </

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-08-14 20:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-14 17:33 2.4.20-pre2-ac1 does not compile Jean-Luc Coulon
2002-08-14 17:40 ` Christoph Hellwig
2002-08-14 19:53   ` Alexander Hoogerhuis
2002-08-14 20:02   ` David Weinehall
2002-08-14 20:04     ` Christoph Hellwig
2002-08-14 20:12       ` David Weinehall

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.