Patched Orinoco Error
I just downloaded the orinoco driver from david gibson, version .13e, and patched them with the patch provided by the makers of airsnort. I then went to install the drivers via "make" and then "make install", but "make" gives the following errors:
[root@localhost corallis]# patch -p0 < orinoco-0.13e-dragorn-patch.diff
patching file orinoco-0.13e/hermes.c
patching file orinoco-0.13e/hermes.h
patching file orinoco-0.13e/orinoco.c
patching file orinoco-0.13e/orinoco.h
[root@localhost corallis]# cd orinoco-0.13e
[root@localhost orinoco-0.13e]# make
make -C /lib/modules/2.6.9-1.667/build SUBDIRS=/home/corallis/orinoco-0.13e modu les
make[1]: Entering directory `/lib/modules/2.6.9-1.667/build'
CC [M] /home/corallis/orinoco-0.13e/hermes.o
In file included from /home/corallis/orinoco-0.13e/hermes.c:53:
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_present':
/home/corallis/orinoco-0.13e/hermes.h:368: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_set_irqmask':
/home/corallis/orinoco-0.13e/hermes.h:374: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_read_words':
/home/corallis/orinoco-0.13e/hermes.h:417: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_write_words':
/home/corallis/orinoco-0.13e/hermes.h:437: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_clear_words':
/home/corallis/orinoco-0.13e/hermes.h:453: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_issue_cmd':
/home/corallis/orinoco-0.13e/hermes.c:105: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:109: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:115: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:116: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:117: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:118: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_init':
/home/corallis/orinoco-0.13e/hermes.c:150: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:151: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:160: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:168: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:177: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:178: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:190: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:195: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:198: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:215: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:217: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_docmd_wait':
/home/corallis/orinoco-0.13e/hermes.c:253: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:258: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:277: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:280: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:281: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:282: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:285: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_allocate':
/home/corallis/orinoco-0.13e/hermes.c:308: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:313: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:330: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:331: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_bap_seek':
/home/corallis/orinoco-0.13e/hermes.c:355: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:359: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:379: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:380: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:384: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:388: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_read_ltv':
/home/corallis/orinoco-0.13e/hermes.c:482: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:487: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c: In function `hermes_write_ltv':
/home/corallis/orinoco-0.13e/hermes.c:523: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.c:524: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
CC [M] /home/corallis/orinoco-0.13e/orinoco.o
In file included from /home/corallis/orinoco-0.13e/orinoco.c:438:
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_present':
/home/corallis/orinoco-0.13e/hermes.h:368: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_set_irqmask':
/home/corallis/orinoco-0.13e/hermes.h:374: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_read_words':
/home/corallis/orinoco-0.13e/hermes.h:417: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_write_words':
/home/corallis/orinoco-0.13e/hermes.h:437: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_clear_words':
/home/corallis/orinoco-0.13e/hermes.h:453: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `__orinoco_down':
/home/corallis/orinoco-0.13e/orinoco.c:649: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `orinoco_reset':
/home/corallis/orinoco-0.13e/orinoco.c:986: warning: passing arg 2 of `writew' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `orinoco_interrupt':
/home/corallis/orinoco-0.13e/orinoco.c:1454: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c:1498: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c:1500: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `__orinoco_ev_info':
/home/corallis/orinoco-0.13e/orinoco.c:1578: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `__orinoco_ev_rx':
/home/corallis/orinoco-0.13e/orinoco.c:1679: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `__orinoco_ev_txexc':
/home/corallis/orinoco-0.13e/orinoco.c:1847: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c:1866: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `__orinoco_ev_tx':
/home/corallis/orinoco-0.13e/orinoco.c:1876: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `__orinoco_ev_alloc':
/home/corallis/orinoco-0.13e/orinoco.c:1883: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c:1894: warning: passing arg 2 of `writew' makes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c: In function `orinoco_tx_timeout':
/home/corallis/orinoco-0.13e/orinoco.c:2504: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c:2505: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco.c:2505: warning: passing arg 1 of `readw' m akes pointer from integer without a cast
CC [M] /home/corallis/orinoco-0.13e/orinoco_cs.o
In file included from /home/corallis/orinoco-0.13e/orinoco.h:15,
from /home/corallis/orinoco-0.13e/orinoco_cs.c:42:
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_present':
/home/corallis/orinoco-0.13e/hermes.h:368: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_set_irqmask':
/home/corallis/orinoco-0.13e/hermes.h:374: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_read_words':
/home/corallis/orinoco-0.13e/hermes.h:417: warning: passing arg 1 of `readw' mak es pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_write_words':
/home/corallis/orinoco-0.13e/hermes.h:437: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/hermes.h: In function `hermes_clear_words':
/home/corallis/orinoco-0.13e/hermes.h:453: warning: passing arg 2 of `writew' ma kes pointer from integer without a cast
/home/corallis/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_hard_reset':
/home/corallis/orinoco-0.13e/orinoco_cs.c:134: warning: implicit declaration of function `CardServices'
/home/corallis/orinoco-0.13e/orinoco_cs.c: In function `orinoco_cs_attach':
/home/corallis/orinoco-0.13e/orinoco_cs.c:206: error: structure has no member na med `release'
/home/corallis/orinoco-0.13e/orinoco_cs.c:207: error: structure has no member na med `release'
/home/corallis/orinoco-0.13e/orinoco_cs.c:208: error: structure has no member na med `release'
/home/corallis/orinoco-0.13e/orinoco_cs.c: In function `init_orinoco_cs':
/home/corallis/orinoco-0.13e/orinoco_cs.c:688: warning: implicit declaration of function `register_pccard_driver'
/home/corallis/orinoco-0.13e/orinoco_cs.c: In function `exit_orinoco_cs':
/home/corallis/orinoco-0.13e/orinoco_cs.c:696: warning: implicit declaration of function `unregister_pccard_driver'
make[2]: *** [/home/corallis/orinoco-0.13e/orinoco_cs.o] Error 1
make[1]: *** [_module_/home/corallis/orinoco-0.13e] Error 2
make[1]: Leaving directory `/lib/modules/2.6.9-1.667/build'
make: *** [modules] Error 2
|