I am following the instructions from here:

http://madwifi-project.org/wiki/UserDocs/Distro/Debian/MadWifi

I execute the following commands:

  m-a -l 2.6.32-bpo.5-686 prepare

  m-a -l 2.6.32-bpo.5-686 a-i madwifi

The latter fails to compile, an extract of part of the errors is
included below. I am running i386 lenny on an IBM T22 laptop, kernel is
from backports

Architecture: all
Source: madwifi
Version: 1:0.9.4+r3772.20080716-1
Depends: module-assistant, debhelper (>= 7), bzip2
Suggests: kernel-package, madwifi-tools

Package: build-essential
Version: 11.4

Package: module-assistant
Version: 0.10.11.0

Package: debhelper
Version: 7.0.15

Package: bzip2
Version: 1.0.5-1

Package: kernel-package
Version: 11.015


madwifi compiles successfully for me with the stock 2.6.26 kernel. I am
thinking maybe there should be a backports version of madwifi to go with
the backported kernel?



make[3]: Entering directory `/usr/src/linux-headers-2.6.32-bpo.5-686'
  CC [M]  /usr/src/modules/madwifi/ath/if_ath.o
In file included from
/usr/src/modules/madwifi/ath/../net80211/ieee80211_monitor.h:34,
from /usr/src/modules/madwifi/ath/if_ath.c:75:
/usr/src/modules/madwifi/ath/../ath/if_athvar.h:107: error:
conflicting types for 'irqreturn_t'
/usr/src/linux-headers-2.6.32-bpo.5-common/include/linux/irqreturn.h:16:
error: previous declaration of 'irqreturn_t' was here
/usr/src/modules/madwifi/ath/if_ath.c: In function 'ath_attach':
/usr/src/modules/madwifi/ath/if_ath.c:478: error: 'struct net_device'
has no member named 'priv'
/usr/src/modules/madwifi/ath/if_ath.c:818: error: 'struct net_device'
has no member named 'open'
/usr/src/modules/madwifi/ath/if_ath.c:819: error: 'struct net_device'






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to