On Fedora 9, kernel 2.6.27.5-37.fc9.i686, acx/20080210/ioctl.c fails to compile with the following log.
The patch changes the scan function to use the new API.
make -C /lib/modules/`uname -r`/build M=`pwd`
make: Entering directory `/usr/src/kernels/2.6.27.5-37.fc9.i686'
LD /usr/src/acx-20080210/built-in.o
CC [M] /usr/src/acx-20080210/wlan.o
CC [M] /usr/src/acx-20080210/conv.o
CC [M] /usr/src/acx-20080210/ioctl.o
/usr/src/acx-20080210/ioctl.c: In function 'acx_s_scan_add_station':
/usr/src/acx-20080210/ioctl.c:506: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:506: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:506: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/usr/src/acx-20080210/ioctl.c:506: error: too few arguments to function 'iwe_stream_add_event'
/usr/src/acx-20080210/ioctl.c:513: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:513: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:513: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:513: error: too few arguments to function 'iwe_stream_add_point'
/usr/src/acx-20080210/ioctl.c:523: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:523: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:523: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/usr/src/acx-20080210/ioctl.c:523: error: too few arguments to function 'iwe_stream_add_event'
/usr/src/acx-20080210/ioctl.c:531: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:531: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:531: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/usr/src/acx-20080210/ioctl.c:531: error: too few arguments to function 'iwe_stream_add_event'
/usr/src/acx-20080210/ioctl.c:549: warning: passing argument 1 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:549: warning: passing argument 3 of 'iwe_stream_add_event' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:549: warning: passing argument 4 of 'iwe_stream_add_event' makes pointer from integer without a cast
/usr/src/acx-20080210/ioctl.c:549: error: too few arguments to function 'iwe_stream_add_event'
/usr/src/acx-20080210/ioctl.c:559: warning: passing argument 1 of 'iwe_stream_add_point' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:559: warning: passing argument 3 of 'iwe_stream_add_point' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:559: warning: passing argument 4 of 'iwe_stream_add_point' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:559: error: too few arguments to function 'iwe_stream_add_point'
/usr/src/acx-20080210/ioctl.c:574: warning: passing argument 1 of 'iwe_stream_add_value' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:574: warning: passing argument 4 of 'iwe_stream_add_value' from incompatible pointer type
/usr/src/acx-20080210/ioctl.c:574: warning: passing argument 5 of 'iwe_stream_add_value' makes pointer from integer without a cast
/usr/src/acx-20080210/ioctl.c:574: error: too few arguments to function 'iwe_stream_add_value'
make[1]: *** [/usr/src/acx-20080210/ioctl.o] Error 1
make: *** [_module_/usr/src/acx-20080210] Error 2
make: Leaving directory `/usr/src/kernels/2.6.27.5-37.fc9.i686'
Patch to ioctl.c
how to use this patch?
sorry i am a newbe
You will need to use the "patch" command to apply the patch that will fix this compilation error.
Although this is not an official page, it explains the diff/patch utilities well: http://www.network-theory.co.uk/articles/patchintro.html
Thanks for the patch!
H65ttT <a href="http://eezoxgclpzaj.com/">eezoxgclpzaj</a>, [url=http://yonuwnizxcqr.com/]yonuwnizxcqr[/url], [link=http://gmljcoibkbol.com/]gmljcoibkbol[/link], http://fwfofudrnjrx.com/
vlvo8E <a href="http://dztujphkhvkj.com/">dztujphkhvkj</a>, [url=http://bydwiplazdou.com/]bydwiplazdou[/url], [link=http://uiieztowdmww.com/]uiieztowdmww[/link], http://nlytzrejarnl.com/