LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-17-2004, 11:59 PM   #1
Eklipz
Member
 
Registered: Sep 2004
Posts: 85

Rep: Reputation: 15
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
 
Old 05-03-2005, 12:07 AM   #2
vec
LQ Newbie
 
Registered: Apr 2005
Location: SC
Posts: 3

Rep: Reputation: 0
If you get the answer please share.
 
Old 05-26-2005, 02:55 PM   #3
crizzam
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
Angry Orinoco 0.15.rc2 with Fedora 2.6.11-1.27_FC3

I get the same set of errors : brief snippet:

/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c:158: warning: passing arg 2 o f `writew' makes pointer from integer without a cast
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c:164: warning: passing arg 2 o f `writew' makes pointer from integer without a cast
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c:171: warning: passing arg 1 o f `readw' makes pointer from integer without a cast
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c:174: warning: passing arg 1 o f `readw' makes pointer from integer without a cast
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c: In function `orinoco_pci_sus pend':
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c:330: error: too many argument s to function `pci_save_state'
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c: In function `orinoco_pci_res ume':
/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.c:347: error: too many argument s to function `pci_restore_state'
make[2]: *** [/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless/orinoco_pci.o] Error 1
make[1]: *** [_module_/usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11/drivers/net/wireless] Error 2
make[1]: Leaving directory `/lib/modules/2.6.11-1.27_FC3/build'
make: *** [modules] Error 2

I can make patched 0.13c modules just fine using Dragorns diff file, but I was hoping to go to the most recent version. Any help on this would be appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
I get an error every time I try to make orinoco drivers vec Linux - Wireless Networking 3 05-04-2005 07:57 AM
Help with recompiling Kernel with Orinoco Patched Mointor Mode Drivers. Please Help bigbadbaugh Linux - Newbie 3 08-30-2004 07:48 PM
Fedora Core 2 + Orinoco Patched Drivers jbalreira Linux - Wireless Networking 0 07-09-2004 09:05 AM
Problems with kismet, kernel 2.4.22, orinoco classic gold (with patched drivers) cyber256 Linux - Wireless Networking 0 06-10-2004 03:43 PM
orinoco-0.13e driver error when attempting to 'make' Linubix Linux - Wireless Networking 1 01-24-2004 04:34 AM


All times are GMT -5. The time now is 02:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration