Make fails with `Incompatible pointer type`?

"Jago Pearce" <[email protected]>
Newsgroups gmane.linux.drivers.ipw2100.devel
Message-ID <[email protected]>
Make fails with `Incompatible pointer type`?

Is this a combination of kernel headers and ieee80211?
I'm no programmer but I need injection support via patch.

output::

j@r40:~/wep/ipw2200-1.1.4$ sudo make
IEEE80211_INC=/usr/src/modules/ieee80211/driver

Password:
mkdir -p /home/j/wep/ipw2200-1.1.4/tmp/.tmp_versions
cp /usr/src/modules/ieee80211/driver/.tmp_versions/*.mod
/home/j/wep/ipw2200-1.1.4/tmp/.tmp_versions
cp: cannot stat `/usr/src/modules/ieee80211/driver/.tmp_versions/*.mod': No
such file or directory
make: [modules] Error 1 (ignored)
cp /usr/src/modules/ieee80211/driver/.tmp_versions/../Modules.symvers
/home/j/wep/ipw2200-1.1.4
cp: cannot stat
`/usr/src/modules/ieee80211/driver/.tmp_versions/../Modules.symvers': No
such file or directory
make: [modules] Error 1 (ignored)
make -C /lib/modules/2.6.20-15-386/build
M=/home/j/wep/ipw2200-1.1.4MODVERDIR=/home/j/wep/ipw2200-
1.1.4/tmp/.tmp_versions modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.20-15-386 '
  CC [M]  /home/j/wep/ipw2200-1.1.4/ipw2200.o
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_led_link_on':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:866: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_led_link_off':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:909: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c: In function '__ipw_led_activity_on':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:947: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:949: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:952: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:954: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_led_shutdown':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:1143: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:1144: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:1145: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_radio_kill_sw':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:1827: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:1835: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:1837: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_irq_tasklet':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:2046: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:2048: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_gather_stats':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:4303: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_rx_notification':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:4430: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:4694: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:4733: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_adhoc_check':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:6044: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c: In function 'ipw_request_scan_helper':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:6392: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_associate':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:7581: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_rf_kill':
/home/j/wep/ipw2200-1.1.4 /ipw2200.c:10646: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_link_up':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10689: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10698: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_link_down':
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:10717: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10718: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10719: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10749:56: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_setup_deferred_work':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10749: error: 'INIT_WORK' undeclared
(first use in this function)
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10749: error: (Each undeclared
identifier is reported only once
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10749: error: for each function it
appears in.)
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10750:52: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:10751:58: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10752:57: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10753:64: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10754:64: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10755:48: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10756:56: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10757:60: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10759:45: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10761:53: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10763:48: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10764:72: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10765:42: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10766:54: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10767:66: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10768:70: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10770:9: error: macro "INIT_WORK" passed
3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10772:9: error: macro "INIT_WORK" passed
3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10774:9: error: macro "INIT_WORK" passed
3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10776:52: error: macro "INIT_WORK"
passed 3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c:10780:9: error: macro "INIT_WORK" passed
3 arguments, but takes just 2
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_up':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11302: warning: passing argument 2 of
'queue_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_pci_probe':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11612: error: 'debug' undeclared (first
use in this function)
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11667: warning: passing argument 2 of
'request_irq' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c: In function 'ipw_pci_remove':
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11801: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200- 1.1.4/ipw2200.c:11802: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11803: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11804: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
/home/j/wep/ipw2200-1.1.4/ipw2200.c:11805: warning: passing argument 1 of
'cancel_delayed_work' from incompatible pointer type
make[2]: *** [/home/j/wep/ipw2200-1.1.4/ipw2200.o] Error 1
make[1]: *** [_module_/home/j/wep/ipw2200-1.1.4] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.20-15-386'
make: *** [modules] Error 2
j@r40:~/wep/ipw2200-1.1.4$

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

_______________________________________________
ipw2100-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipw2100-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.