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:[email protected]
http://richardurban.de/


_______________________________________________
Debian-eeepc-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/debian-eeepc-devel

Reply via email to