2009-09-02 14:22:55

by Jeremy Wolcott

[permalink] [raw]
Subject: compat-wireless and DKMS

Has anybody tried to get compat-wireless working with DKMS? This would
be really handy for me since I run Ubuntu and they have been pushing
kernel updates pretty frequently lately, but I need the newest
compat-wireless to run my Atheros card in master mode via ath5k...

I tried for quite a while today and the build just won't work. (The
'make clean' step returns error 2, and then the build itself fails with
"(directory it's building in) is a directory. Stop.") I think it's
because the Makefile for compat-wireless uses the PWD environment
variable, but I'm not well-versed enough in Makefiles to fix it up so
that it'll work from a different directory (DKMS builds modules in
/var/lib/dkms/MODULE_NAME/VERSION/build instead of wherever I unpacked
the source).

Any advice would be appreciated...

Thanks,

-Jeremy


2009-09-02 17:11:11

by Jeremy Wolcott

[permalink] [raw]
Subject: Re: compat-wireless and DKMS

Oh, cool. Is that in the Jaunty repositories? The latest kernel
release I'm seeing (with -proposed and -backports enabled) is 2.6.28-15...

Thanks,

-Jeremy

Tim Gardner wrote:
> Jeremy Wolcott wrote:
>> Has anybody tried to get compat-wireless working with DKMS? This
>> would be really handy for me since I run Ubuntu and they have been
>> pushing kernel updates pretty frequently lately, but I need the newest
>> compat-wireless to run my Atheros card in master mode via ath5k...
>>
>> I tried for quite a while today and the build just won't work. (The
>> 'make clean' step returns error 2, and then the build itself fails
>> with "(directory it's building in) is a directory. Stop.") I think
>> it's because the Makefile for compat-wireless uses the PWD environment
>> variable, but I'm not well-versed enough in Makefiles to fix it up so
>> that it'll work from a different directory (DKMS builds modules in
>> /var/lib/dkms/MODULE_NAME/VERSION/build instead of wherever I unpacked
>> the source).
>>
>> Any advice would be appreciated...
>>
>> Thanks,
>>
>> -Jeremy
>> --
>> To unsubscribe from this list: send the line "unsubscribe
>> linux-wireless" in
>> the body of a message to [email protected]
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
> I've been packaging compat-wireless in linux-backports-modules-2.6.31 on
> a semi-spasmodic basis. Current version contains wireless-testing
> master-2009-09-01.
>
> rtg

2009-09-02 16:18:54

by Tim Gardner

[permalink] [raw]
Subject: Re: compat-wireless and DKMS

Jeremy Wolcott wrote:
> Has anybody tried to get compat-wireless working with DKMS? This would
> be really handy for me since I run Ubuntu and they have been pushing
> kernel updates pretty frequently lately, but I need the newest
> compat-wireless to run my Atheros card in master mode via ath5k...
>
> I tried for quite a while today and the build just won't work. (The
> 'make clean' step returns error 2, and then the build itself fails with
> "(directory it's building in) is a directory. Stop.") I think it's
> because the Makefile for compat-wireless uses the PWD environment
> variable, but I'm not well-versed enough in Makefiles to fix it up so
> that it'll work from a different directory (DKMS builds modules in
> /var/lib/dkms/MODULE_NAME/VERSION/build instead of wherever I unpacked
> the source).
>
> Any advice would be appreciated...
>
> Thanks,
>
> -Jeremy
> --
> To unsubscribe from this list: send the line "unsubscribe
> linux-wireless" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html

I've been packaging compat-wireless in linux-backports-modules-2.6.31 on
a semi-spasmodic basis. Current version contains wireless-testing
master-2009-09-01.

rtg
--
Tim Gardner [email protected]