sean@Noodle:~/Desktop/orinoco-usb-0.2.2$ sudo make make -C driver make[1]: Entering directory `/home/sean/Desktop/orinoco-usb-0.2.2/driver' mkdir -p .tmp_versions cp /lib/modules/2.6.20-14-generic/build/.tmp_versions/*.mod /home/sean/Desktop/orinoco-usb-0.2.2/driver/.tmp_versions cp: cannot stat `/lib/modules/2.6.20-14-generic/build/.tmp_versions/*.mod': No such file or directory make[1]: [modules] Error 1 (ignored) make -C /lib/modules/2.6.20-14-generic/build SUBDIRS=/home/sean/Desktop/orinoco-usb-0.2.2/driver MODVERDIR=/home/sean/Desktop/orinoco-usb-0.2.2/driver/.tmp_versions modules make[2]: Entering directory `/usr/src/linux-headers-2.6.20-14-generic' CC [M] /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.o In file included from /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:54: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_present’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:379: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_set_irqmask’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:385: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_read_words’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:426: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_write_words’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:446: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_clear_words’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:462: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_issue_cmd’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:122: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:126: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:132: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:133: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:134: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:135: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_init_direct’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:175: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:176: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:185: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:193: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:202: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:203: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:211: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:216: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:219: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:236: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:238: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_docmd_wait_direct’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:274: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:279: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:298: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:301: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:302: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:303: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:306: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_allocate_direct’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:329: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:334: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:351: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:352: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_bap_seek’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:376: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:380: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:400: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:401: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:405: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:409: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_read_ltv_direct’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:504: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:509: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c: In function ‘hermes_write_ltv_direct’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:545: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.c:546: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast CC [M] /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.o /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:425:26: error: linux/config.h: No such file or directory In file included from /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:444: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_present’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:379: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_set_irqmask’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:385: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_read_words’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:426: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_write_words’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:446: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h: In function ‘hermes_clear_words’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/hermes.h:462: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: At top level: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:462: error: expected ‘)’ before string constant /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:467: error: expected ‘)’ before string constant /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘__orinoco_down’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:631: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘orinoco_reset’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:972: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘orinoco_interrupt’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1440: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1484: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1486: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘__orinoco_ev_info’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1564: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘__orinoco_ev_rx’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1664: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘__orinoco_ev_txexc’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1806: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1825: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘__orinoco_ev_tx’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1835: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘__orinoco_ev_alloc’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1842: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:1853: warning: passing argument 2 of ‘writew’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘orinoco_tx_timeout’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:2443: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:2444: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:2444: warning: passing argument 1 of ‘readw’ makes pointer from integer without a cast /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘orinoco_ioctl_getiwrange’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:2552: warning: implicit declaration of function ‘verify_area’ /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c: In function ‘alloc_orinoco_netdev’: /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:4134: error: ‘struct net_device’ has no member named ‘get_wireless_stats’ /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:4150:67: error: macro "INIT_WORK" passed 3 arguments, but takes just 2 /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:4150: error: ‘INIT_WORK’ undeclared (first use in this function) /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:4150: error: (Each undeclared identifier is reported only once /home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.c:4150: error: for each function it appears in.) make[3]: *** [/home/sean/Desktop/orinoco-usb-0.2.2/driver/orinoco.o] Error 1 make[2]: *** [_module_/home/sean/Desktop/orinoco-usb-0.2.2/driver] Error 2 make[2]: Leaving directory `/usr/src/linux-headers-2.6.20-14-generic' make[1]: *** [modules] Error 2 make[1]: Leaving directory `/home/sean/Desktop/orinoco-usb-0.2.2/driver' make: *** [all] Error 2