2003-06-07 19:22:15

by Adrian Bunk

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc1

On Fri, Apr 25, 2003 at 12:06:53AM -0300, Lucas Correia Villa Real wrote:

> Hi,

Hi Lucas,

> I had some problems compiling the ramdisk driver:
>
> gcc -D__KERNEL__ -I/Depot/Sources/2.4.21-rc1/include -Wall -Wstrict-prototypes
> -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer
> -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS
> -include /Depot/Sources/2.4.21-rc1/include/linux/modversions.h -nostdinc
> -iwithprefix include -DKBUILD_BASENAME=rd -c -o rd.o rd.c
> rd.c:88: `CONFIG_BLK_DEV_RAM_SIZE' undeclared here (not in a function)
> make[2]: *** [rd.o] Error 1
> make[2]: Leaving directory `/Depot/Sources/2.4.21-rc1/drivers/block'
> make[1]: *** [_modsubdir_block] Error 2
> make[1]: Leaving directory `/Depot/Sources/2.4.21-rc1/drivers'
> make: *** [_mod_drivers] Error 2
>
>
> The simple patch below can fix it, though. Is it ok to check against
> CONFIG_BLK_DEV_RAM_SIZE definition and redefine it if not found?

does this problem still exist in -rc7 ?

If yes, please send your .config .

> Lucas
>...

TIA
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed


2003-06-11 04:13:31

by Lucas C. Villa Real

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc1

On Saturday 07 June 2003 16:35, Adrian Bunk wrote:
> On Fri, Apr 25, 2003 at 12:06:53AM -0300, Lucas Correia Villa Real wrote:
> > Hi,
>
> Hi Lucas,
>
> > I had some problems compiling the ramdisk driver:
> >
> > gcc -D__KERNEL__ -I/Depot/Sources/2.4.21-rc1/include -Wall
> > -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> > -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686
> > -DMODULE -DMODVERSIONS -include
> > /Depot/Sources/2.4.21-rc1/include/linux/modversions.h -nostdinc
> > -iwithprefix include -DKBUILD_BASENAME=rd -c -o rd.o rd.c
> > rd.c:88: `CONFIG_BLK_DEV_RAM_SIZE' undeclared here (not in a function)
> > make[2]: *** [rd.o] Error 1
> > make[2]: Leaving directory `/Depot/Sources/2.4.21-rc1/drivers/block'
> > make[1]: *** [_modsubdir_block] Error 2
> > make[1]: Leaving directory `/Depot/Sources/2.4.21-rc1/drivers'
> > make: *** [_mod_drivers] Error 2
> >
> >
> > The simple patch below can fix it, though. Is it ok to check against
> > CONFIG_BLK_DEV_RAM_SIZE definition and redefine it if not found?
>
> does this problem still exist in -rc7 ?
>
> If yes, please send your .config .

I have tryied with -rc8, and the problem is fixed now.

Lucas