Gmane
From: Pavel Roskin <proski <at> gnu.org>
Subject: Re: need some help with redhat ws 4 and AR5418
Newsgroups: gmane.linux.drivers.madwifi.user
Date: 2008-09-02 18:32:15 GMT (18 weeks, 2 days, 14 hours and 34 minutes ago)
On Tue, 2008-09-02 at 17:10 +0200, reza wrote:

> I need some help to install madwifi on a 2.6.9 kernel (redhat ws 4).

> /tmp/madwifi-trunk-r3849-20080828/ath/../include/compat.h:134: error:
> conflicting types for 'gfp_t'
> 
> include/linux/gfp.h:133: error: previous declaration of 'gfp_t' was
> here

I have fixed that in revision 3854.  Red Hat backported gfp_t from more
recent kernels.

> /tmp/madwifi-trunk-r3849-20080828/ath/../include/compat.h:137:
> warning: static declaration of 'kzalloc' follows non-static
> declaration
> 
> include/linux/slab.h:101: warning: previous declaration of 'kzalloc'
> was here

That's fixed too.  The reason is the same.
> 
> /tmp/madwifi-trunk-r3849-20080828/ath/if_ath.c: In function
> `ath_vap_create':
> 
> /tmp/madwifi-trunk-r3849-20080828/ath/if_ath.c:1343: warning: passing
> arg 2 of `clear_bit' from incompatible pointer type

I could not reproduce this warning, but I was using a 2.6.9-67 kernel
from CentOS for x86_64 platform.  Anyway, I think you can ignore
warnings by using "make WARNINGS="

If I manage to reproduce it and find a way to fix it nicely and safely,
I'll do it.

-- 
Regards,
Pavel Roskin

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/