Kismet Wireless

Kismet Forums

 

Posted by:zimbor
Subject:Problems with Orinoco (Hermes 1) and 2.6.17.4 kernel
Date:14:03:26 14/07/2006

Hello.

I have 2.6.17.4 kernel and I want to use Orinoco (Hermes 1) pcmcia card.
When I try to compile 0.15 or 0.13-26 standalone drivers, I get many error messages:

make -C /usr/src/linux-2.6.17.4 M=/tmp/or/orinoco-0.13-26 modules
make[1]: Entering directory `/usr/src/linux-2.6.17.4'
CC [M] /tmp/or/orinoco-0.13-26/orinoco.o
In file included from /tmp/or/orinoco-0.13-26/orinoco.c:448:
/tmp/or/orinoco-0.13-26/hermes.h: In function 'hermes_present':
/tmp/or/orinoco-0.13-26/hermes.h:450: warning: passing argument 1 of 'readw' makes pointer from
integer without a cast
/tmp/or/orinoco-0.13-26/hermes.h: In function 'hermes_set_irqmask':
/tmp/or/orinoco-0.13-26/hermes.h:456: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.13-26/hermes.h: In function 'hermes_read_words':
/tmp/or/orinoco-0.13-26/hermes.h:499: warning: passing argument 1 of 'readw' makes pointer from
integer without a cast
/tmp/or/orinoco-0.13-26/hermes.h: In function 'hermes_write_words':
/tmp/or/orinoco-0.13-26/hermes.h:519: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.13-26/hermes.h: In function 'hermes_clear_words':
/tmp/or/orinoco-0.13-26/hermes.h:535: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.13-26/orinoco.c: At top level:
/tmp/or/orinoco-0.13-26/orinoco.c:470: error: syntax error before string constant
/tmp/or/orinoco-0.13-26/orinoco.c:470: warning: type defaults to 'int' in declaration of 'MODULE
_PARM'
/tmp/or/orinoco-0.13-26/orinoco.c:470: warning: function declaration isn't a prototype
/tmp/or/orinoco-0.13-26/orinoco.c:470: warning: data definition has no type or storage class
/tmp/or/orinoco-0.13-26/orinoco.c: In function '__orinoco_ev_alloc':

.... many warnings ...

make[2]: *** [/tmp/or/orinoco-0.13-26/orinoco.o] Error 1
make[1]: *** [_module_/tmp/or/orinoco-0.13-26] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.4'
make: *** [modules] Error 2



And for 0.15:

make -C /usr/src/linux-2.6.17.4 M=/tmp/or/orinoco-0.15rc2 modules
make[1]: Entering directory `/usr/src/linux-2.6.17.4'
CC [M] /tmp/or/orinoco-0.15rc2/orinoco_nortel.o
In file included from /tmp/or/orinoco-0.15rc2/orinoco_nortel.c:67:
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_present':
/tmp/or/orinoco-0.15rc2/hermes.h:400: warning: passing argument 1 of 'readw' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_set_irqmask':
/tmp/or/orinoco-0.15rc2/hermes.h:406: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_read_words':
/tmp/or/orinoco-0.15rc2/hermes.h:447: warning: passing argument 1 of 'readw' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_write_words':
/tmp/or/orinoco-0.15rc2/hermes.h:467: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_clear_words':
/tmp/or/orinoco-0.15rc2/hermes.h:483: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
CC [M] /tmp/or/orinoco-0.15rc2/orinoco_pci.o
In file included from /tmp/or/orinoco-0.15rc2/orinoco_pci.c:117:
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_present':
/tmp/or/orinoco-0.15rc2/hermes.h:400: warning: passing argument 1 of 'readw' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_set_irqmask':
/tmp/or/orinoco-0.15rc2/hermes.h:406: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_read_words':
/tmp/or/orinoco-0.15rc2/hermes.h:447: warning: passing argument 1 of 'readw' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_write_words':
/tmp/or/orinoco-0.15rc2/hermes.h:467: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/hermes.h: In function 'hermes_clear_words':
/tmp/or/orinoco-0.15rc2/hermes.h:483: warning: passing argument 2 of 'writew' makes pointer from
integer without a cast
/tmp/or/orinoco-0.15rc2/orinoco_pci.c: In function 'orinoco_pci_cor_reset':
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:158: warning: passing argument 2 of 'writew' makes pointer
from integer without a cast
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:164: warning: passing argument 2 of 'writew' makes pointer
from integer without a cast
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:171: warning: passing argument 1 of 'readw' makes pointer
from integer without a cast
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:174: warning: passing argument 1 of 'readw' makes pointer
from integer without a cast
/tmp/or/orinoco-0.15rc2/orinoco_pci.c: In function 'orinoco_pci_suspend':
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:330: error: too many arguments to function 'pci_save_state
'
/tmp/or/orinoco-0.15rc2/orinoco_pci.c: In function 'orinoco_pci_resume':
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:347: error: too many arguments to function 'pci_restore_st
ate'
/tmp/or/orinoco-0.15rc2/orinoco_pci.c: At top level:
/tmp/or/orinoco-0.15rc2/orinoco_pci.c:391: warning: initialization from incompatible pointer typ
e
make[2]: *** [/tmp/or/orinoco-0.15rc2/orinoco_pci.o] Error 1
make[1]: *** [_module_/tmp/or/orinoco-0.15rc2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.17.4'
make: *** [modules] Error 2


Any idea what can I do to make those drivers compile correctly?

best regards,
zimbor.


Reply to this message