when I try to emerge orinoco 0.15r2 I get warning: passing arg 1 of `readw' makes pointer from integer without a cast and then it fails to compile Reproducible: Always Steps to Reproduce: 1. 2. 3. static static # emerge orinoco Calculating dependencies ...done! >>> emerge (1 of 1) net-wireless/orinoco-0.15_rc2 to / >>> md5 src_uri ;-) orinoco-0.15rc2.tar.gz >>> Unpacking source... >>> Unpacking orinoco-0.15rc2.tar.gz to /var/tmp/portage/orinoco-0.15_rc2/work * /usr/src/linux is a symbolic link * Determining the real directory of the Linux kernel source code * Building for Linux 2.6.10-gentoo-r2 found in /usr/src/linux >>> Source unpacked. make -C //usr/src/linux/ M=/var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2 modules make[1]: Entering directory `/usr/src/linux-2.6.10-gentoo-r2' make[1]: Warning: File `.vmlinux.cmd' has modification time 2.6e+04 s in the future CC [M] /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.o CC [M] /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.o CC [M] /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_nortel.o In file included from /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:54: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_present': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_read_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_write_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_issue_cmd': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:105: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:109: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:115: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:116: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:117: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:118: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_init': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:150: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:151: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:160: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:168: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:177: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:178: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:186: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:191: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:194: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:211: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:213: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_docmd_wait': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:253: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:258: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:277: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:280: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:281: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:282: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:285: warning: passing arg 2 of `writew' makes pointer from integer without a cast In file included from /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:503: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_present': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_read_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_write_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_allocate': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:308: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:313: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:330: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:331: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_bap_seek': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:355: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:359: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:379: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:380: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:384: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:388: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_read_ltv': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:487: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:492: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c: In function `hermes_write_ltv': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:528: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.c:529: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `__orinoco_ev_alloc': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:994: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1003: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `__orinoco_ev_tx': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1015: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `__orinoco_ev_txexc': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1022: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1035: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `orinoco_tx_timeout': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1084: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1085: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1085: warning: passing arg 1 of `readw' makes pointer from integer without a cast In file included from /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_nortel.c:67: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_present': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_read_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_write_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `__orinoco_ev_rx': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1270: warning: passing arg 1 of `readw' makes pointer from integer without a cast CC [M] /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.o CC [M] /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.o /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `__orinoco_ev_info': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1556: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `__orinoco_down': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:1799: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `orinoco_reset': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:2338: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c: In function `orinoco_interrupt': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:2432: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:2476: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco.c:2478: warning: passing arg 1 of `readw' makes pointer from integer without a cast In file included from /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.c:142: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_present': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_read_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_write_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.c: In function `orinoco_plx_cor_reset': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.c:181: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_plx.c:184: warning: passing arg 1 of `readw' makes pointer from integer without a cast CC [M] /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.o In file included from /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:117: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_present': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_read_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_write_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_cor_reset': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:158: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:164: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:171: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:174: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_suspend': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:330: error: too many arguments to function `pci_save_state' /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_resume': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:347: error: too many arguments to function `pci_restore_state' make[2]: *** [/var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: *** Waiting for unfinished jobs.... In file included from /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.c:78: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_present': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:400: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_set_irqmask': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:406: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_read_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:447: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_write_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:467: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h: In function `hermes_clear_words': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/hermes.h:483: warning: passing arg 2 of `writew' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.c: In function `orinoco_tmd_cor_reset': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.c:110: warning: passing arg 1 of `readw' makes pointer from integer without a cast /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_tmd.c:113: warning: passing arg 1 of `readw' makes pointer from integer without a cast make[1]: *** [_module_/var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.10-gentoo-r2' make: *** [modules] Error 2 !!! ERROR: net-wireless/orinoco-0.15_rc2 failed. !!! Function src_compile, Line 88, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. static static # uname -a Linux static 2.6.10-gentoo-r2 #4 SMP Thu Jan 6 18:58:37 PST 2005 i686 Mobile Intel(R) Pentium(R) 4 CPU 3.20GHz GenuineIntel GNU/Linux static static #
It's actually this stuff that really makes it bomb: /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_suspend': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:330: error: too many arguments to function `pci_save_state' /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c: In function `orinoco_pci_resume': /var/tmp/portage/orinoco-0.15_rc2/work/orinoco-0.15rc2/orinoco_pci.c:347: error: too many arguments to function `pci_restore_state' due to the PCI API change in 2.6.10. Brix: did you have a fix for this yet?
yeah, I'll come up with a patch. Stay tuned.
Fixed warnings and compile failure with 2.6.10 in net-wireless/orinoco-0.15_rc2-r1.