[Debian-eeepc-devel] rt2860-source 1.8.0.0-3 typo in include/mlme.h:1210
Richard Urban
richard.urban at gmx.de
Mon Aug 3 23:25:30 UTC 2009
Hello all you brave maintainers,
rt2860-source won't compile on my neat eee PC with
linux-image-2.6.26-1-xen-686 unless you fix this typo:
# diff include/mlme.h include/mlme.h.1.8.0.0-3
1210c1210
< typedef VOID *(*STATE_MACHINE_FUNC)(VOID *Adaptor, MLME_QUEUE_ELEM *Elem);
---
> typedef VOID (*STATE_MACHINE_FUNC)(VOID *Adaptor, MLME_QUEUE_ELEM *Elem);
eee:/usr/src/modules/rt2860# dpkg -l rt2860-source
ii rt2860-source 1.8.0.0-3 source for
RT2860 wireless adapter kernel module
eee:/usr/src/modules/rt2860# make all
...
/usr/src/modules/rt2860/include/mlme.h:1210: error: expected identifier
or ‘(’ before ‘void’
...
eee:/usr/src/modules/rt2860# uname -a
Linux eee 2.6.26-1-xen-686 #1 SMP Wed Nov 26 23:50:09 UTC 2008 i686
GNU/Linux
eee:/usr/src/modules/rt2860# cp include/mlme.h include/mlme.h.1.8.0.0-3
eee:/usr/src/modules/rt2860# vi include/mlme.h
eee:/usr/src/modules/rt2860# diff include/mlme.h include/mlme.h.1.8.0.0-3
1210c1210
< typedef VOID *(*STATE_MACHINE_FUNC)(VOID *Adaptor, MLME_QUEUE_ELEM *Elem);
---
> typedef VOID (*STATE_MACHINE_FUNC)(VOID *Adaptor, MLME_QUEUE_ELEM *Elem);
eee:/usr/src/modules/rt2860# make all install
bingo
P.S. i suspect more typos e.g. in
include/rtmp.h: typedef void (*IkanosWlanTxCbFuncP)(void *, void *);
Thanks a lot for all your work and have a nice day !
--
Richard Urban
81371 München Aberlestraße 26
Fixed line: ++49 89 491334
Mobile: ++49 179 9305957
mailto:richard.urban at gmx.de
http://richardurban.de/
More information about the Debian-eeepc-devel
mailing list