Re: 2.6.13-rc3 test: finding compile errors with make randconfig

From: Adrian Bunk
Date: Sun Jul 24 2005 - 15:41:07 EST


On Mon, Jul 25, 2005 at 05:42:58AM +1000, Grant Coady wrote:
> On Sun, 24 Jul 2005 11:13:27 +0200, Adrian Bunk <bunk@xxxxxxxxx> wrote:
> >
> >it's generally useful, but the target kernel should be the latest -mm
> >kernel.
> 097-error:drivers/char/drm/drm_memory.h:163: error: redefinition of `drm_ioremap_nocache'
> 097-error:drivers/char/drm/drm_memory.h:163: error: `drm_ioremap_nocache' previously defined here
> 097-error:drivers/char/drm/drm_memory.h:174: error: redefinition of `drm_ioremapfree'
> 097-error:drivers/char/drm/drm_memory.h:174: error: `drm_ioremapfree' previously defined here

This requires the .config for debugging.

My first guess is that drm_memory.h requires a simple #ifdef to allow
multiple inclusions.

> 098-error:drivers/usb/gadget/ether.c:2510: error: `STATUS_BYTECOUNT' undeclared (first use in this function)
> 098-error:drivers/usb/gadget/ether.c:2510: error: (Each undeclared identifier is reported only once
> 098-error:drivers/usb/gadget/ether.c:2510: error: for each function it appears in.)

Already fixed in 2.6.13-rc3.

> grant@sempro:/opt/linux/trial4$ grep error *-error |wc -l
> 2105
>
> With > 2k (raw) errors in 97.something builds of 2.6.12.3, why go
> looking for trouble in -mm?
>...

You aren't running into problems that are already fixed (see your second
example above).

> Grant.

cu
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

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/