Menu

#12 acx-20080210/ioctl.c fails to compile on 2.6.27.5-37

closed
nobody
None
7
2013-02-17
2008-11-17
nhira
No

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'

Discussion

  • nhira

    nhira - 2008-11-17

    Patch to ioctl.c

     
  • nhira

    nhira - 2008-11-17
    • priority: 5 --> 7
     
  • Nobody/Anonymous

    how to use this patch?

    sorry i am a newbe

     
  • Nobody/Anonymous

    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

     
  • Nobody/Anonymous

    Thanks for the patch!

     
  • Nobody/Anonymous

    H65ttT <a href="http://eezoxgclpzaj.com/">eezoxgclpzaj</a>, [url=http://yonuwnizxcqr.com/]yonuwnizxcqr[/url], [link=http://gmljcoibkbol.com/]gmljcoibkbol[/link], http://fwfofudrnjrx.com/

     
  • Nobody/Anonymous

    vlvo8E <a href="http://dztujphkhvkj.com/">dztujphkhvkj</a>, [url=http://bydwiplazdou.com/]bydwiplazdou[/url], [link=http://uiieztowdmww.com/]uiieztowdmww[/link], http://nlytzrejarnl.com/

     
  • Oliver Winker

    Oliver Winker - 2013-02-17
    • Status: open --> closed