2004-09-03 09:07:29

by Bernhard Rosenkraenzer

[permalink] [raw]
Subject: [PATCH] 2.6.9-rc1-mm2 compilation fixes

make modules_install doesn't work if the ALSA korg1212 sound module is built -
"grep -h .ko" will find /korg1212.o (. is a regexp character...), and
therefore try to install the nonexistant korg1212.ko.
It should be grep -h '\.ko'

kernel/wait.c fails to compile with gcc 3.4 due to discrepancies between the
prototype and implementations of __wait_on_bit() and __wait_on_bit_lock()

Fixes to both are attached.

LLaP
bero


Attachments:
(No filename) (426.00 B)
linux-2.6.9-rc1-mm2-modules_install.patch (439.00 B)
linux-2.6.9-rc1-mm2-gcc34.patch (836.00 B)
Download all attachments

2004-09-03 09:14:32

by Andrew Morton

[permalink] [raw]
Subject: Re: [PATCH] 2.6.9-rc1-mm2 compilation fixes

Bernhard Rosenkraenzer <[email protected]> wrote:
>
> make modules_install doesn't work if the ALSA korg1212 sound module is built -
> "grep -h .ko" will find /korg1212.o (. is a regexp character...), and
> therefore try to install the nonexistant korg1212.ko.
> It should be grep -h '\.ko'

Yup. This should be fixed in -mm3, thanks.

> kernel/wait.c fails to compile with gcc 3.4 due to discrepancies between the
> prototype and implementations of __wait_on_bit() and __wait_on_bit_lock()

This also.