Re: pre-2.1.127-6 fails UP compile and in smbfs

Linus Torvalds (torvalds@transmeta.com)
Tue, 3 Nov 1998 22:52:56 -0800 (PST)


On Wed, 4 Nov 1998 kernel@whitestar.soark.net wrote:
>
> On Tue, Nov 03, 1998 at 09:53:29PM -0800, Linus Torvalds wrote:
> >
> >
> > On Tue, 3 Nov 1998, Pete Clements wrote:
>
> <snip>
> > Gcc bug, what gcc version is this?
>
> 2.7.2.3 here with the same problem, oddly enough egcc compiles it fine.

I had forgotten about the stupid empty initializer bug in 2.7.2.3.

Somebody else already posted a correct patch to this, the rwlock_t
initializer essentially needs to do the same gcc bug workarounds as the
spinlock_t version.

> > I'll make sure it compiles in the next patch..
>
> *nods*
> You also have the same problem in a few other places, I'll paste..
>
> make[2]: Entering directory `/mnt/hda1/usr/src/linux-2.1.127p6/drivers/sound'
> sscape.c:127: structure has no member named `timeout'
> sscape.c:130: structure has no member named `timeout'
> make[2]: Entering directory `/mnt/hda1/usr/src/linux-2.1.127p6/drivers/pnp'
> parport_probe.c:108: structure has no member named `timeout'

Thanks. Trivially fixed in my tree.

I've just made a pre-7: thanks for the reports, and please do keep them
coming for the other things that got missed,

Linus


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