need stir4200 driver!
Hi!
I need the whole stir4200 package (stir4200.h + stir4200.c + Makefile). I tried to download the driver from the internet but the Makefile wasn't available. I am using linux 2.4 mandrake 10..If anyone could guide me through the installation ..I need the step by step commands. I'm sooo very new to linux! thanks |
|
i did a make -f Makefile
and I got this error (so no stir4200.o): [root@localhost src]# make -f Makefile cc -I/lib/modules/2.4.25-2mdk/build/include -I../include -Wall -Wcast-align -Wstrict-prototypes -O2 -DLINUX -D__KERNEL__ -DMODULE -DMODVERSIONS -fomit-frame-pointer -fno-common -pipe -mpreferred-stack-boundary=2 -include /lib/modules/2.4.25-2mdk/build/include/linux/modversions.h -DKBUILD_BASENAME=stir4200 -o stir4200.o -c stir4200.c <command line>:138829621:24440: /lib/modules/2.4.25-2mdk/build/include/linux/modversions.h: No such file or directory In file included from /usr/include/linux/cpumask.h:8, from /usr/include/linux/sched.h:14, from /usr/include/linux/module.h:9, from stir4200.c:39: /usr/include/linux/bitmap.h: In function `bitmap_shift_right': /usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use in this function) /usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is reported only once /usr/include/linux/bitmap.h:85: error: for each function it appears in.) /usr/include/linux/bitmap.h: In function `bitmap_shift_left': /usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use in this function) In file included from /usr/include/linux/sched.h:14, from /usr/include/linux/module.h:9, from stir4200.c:39: /usr/include/linux/cpumask.h:10:5: missing binary operator before token "(" /usr/include/linux/cpumask.h:34:5: missing binary operator before token "(" In file included from /usr/include/asm/siginfo.h:4, from /usr/include/linux/signal.h:7, from /usr/include/linux/sched.h:24, from /usr/include/linux/module.h:9, from stir4200.c:39: /usr/include/asm-generic/siginfo.h: At top level: /usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is too large In file included from /usr/include/linux/gfp.h:4, from /usr/include/linux/slab.h:15, from /usr/include/linux/percpu.h:4, from /usr/include/linux/sched.h:30, from /usr/include/linux/module.h:9, from stir4200.c:39: /usr/include/linux/mmzone.h:333: error: parse error before '(' token /usr/include/linux/mmzone.h:334: error: parse error before numeric constant In file included from /usr/include/linux/module.h:20, from stir4200.c:39: /usr/include/asm/module.h:54:2: #error unknown processor family In file included from /usr/include/linux/mm.h:206, from /usr/include/linux/skbuff.h:26, from stir4200.c:45: /usr/include/linux/page-flags.h:119: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/page-flags.h:119: error: requested alignment is not a constant In file included from /usr/include/linux/irq.h:20, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/netdevice.h:490, from stir4200.c:46: /usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory In file included from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/netdevice.h:490, from stir4200.c:46: /usr/include/linux/irq.h:68: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/linux/irq.h:68: error: requested alignment is not a constant /usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/irq.h:72, from /usr/include/asm/hardirq.h:6, from /usr/include/linux/interrupt.h:11, from /usr/include/linux/netdevice.h:490, from stir4200.c:46: /usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here (not in a function) /usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a function) In file included from /usr/include/linux/interrupt.h:11, from /usr/include/linux/netdevice.h:490, from stir4200.c:46: /usr/include/asm/hardirq.h:13: error: `CONFIG_X86_L1_CACHE_SHIFT' undeclared here (not in a function) /usr/include/asm/hardirq.h:13: error: requested alignment is not a constant stir4200.c:50:27: net/irda/irda.h: No such file or directory stir4200.c:51:28: net/irda/irlap.h: No such file or directory stir4200.c:52:34: net/irda/irda_device.h: No such file or directory stir4200.c:53:30: net/irda/wrapper.h: No such file or directory stir4200.c:54:26: net/irda/crc.h: No such file or directory stir4200.c:60:41: missing binary operator before token "(" In file included from stir4200.c:87: stir4200.h:132: error: field `qos' has incomplete type stir4200.h:142: error: parse error before "iobuff_t" stir4200.h:142: warning: no semicolon at end of struct or union stir4200.h:143: warning: type defaults to `int' in declaration of `rx_buff' stir4200.h:143: warning: data definition has no type or storage class stir4200.h:154: error: parse error before '}' token stir4200.c: In function `stir_write_reg': stir4200.c:131: error: dereferencing pointer to incomplete type stir4200.c:135: warning: implicit declaration of function `ERROR' stir4200.c:142: error: dereferencing pointer to incomplete type stir4200.c:143: warning: implicit declaration of function `MSECS_TO_JIFFIES' stir4200.c: At top level: stir4200.c:185: error: parse error before '*' token stir4200.c:186: warning: function declaration isn't a prototype stir4200.c: In function `stir_irda_init_iobuf': stir4200.c:187: error: `io' undeclared (first use in this function) stir4200.c:187: error: `size' undeclared (first use in this function) stir4200.c:190: error: `FALSE' undeclared (first use in this function) stir4200.c:191: error: `OUTSIDE_FRAME' undeclared (first use in this function) stir4200.c: In function `stir_change_speed': stir4200.c:253: warning: implicit declaration of function `IRDA_DEBUG' stir4200.c:259: error: dereferencing pointer to incomplete type stir4200.c: At top level: stir4200.c:275: error: parse error before "iobuff_t" stir4200.c:275: warning: function declaration isn't a prototype stir4200.c: In function `stir_wrap_sir_skb': stir4200.c:279: error: `buf' undeclared (first use in this function) stir4200.c:283: warning: implicit declaration of function `async_wrap_skb' stir4200.c:283: error: `skb' undeclared (first use in this function) stir4200.c: At top level: stir4200.c:319: error: parse error before "iobuff_t" stir4200.c:319: warning: function declaration isn't a prototype stir4200.c: In function `stir_wrap_fir_skb': stir4200.c:322: error: `skb' undeclared (first use in this function) stir4200.c:329: error: `buf' undeclared (first use in this function) stir4200.c: In function `stir_tx_submit': stir4200.c:385: error: dereferencing pointer to incomplete type stir4200.c:389: warning: implicit declaration of function `WARNING' stir4200.c:393: error: dereferencing pointer to incomplete type stir4200.c:394: error: dereferencing pointer to incomplete type stir4200.c:396: error: dereferencing pointer to incomplete type stir4200.c:401: warning: implicit declaration of function `FILL_BULK_URB' stir4200.c:401: error: dereferencing pointer to incomplete type stir4200.c:402: error: dereferencing pointer to incomplete type stir4200.c:402: error: dereferencing pointer to incomplete type stir4200.c:403: error: dereferencing pointer to incomplete type stir4200.c:409: error: `USB_QUEUE_BULK' undeclared (first use in this function) stir4200.c:409: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) stir4200.c:426: warning: implicit declaration of function `irda_get_mtt' stir4200.c:430: error: dereferencing pointer to incomplete type stir4200.c:431: error: dereferencing pointer to incomplete type stir4200.c:431: error: dereferencing pointer to incomplete type stir4200.c:443: error: dereferencing pointer to incomplete type stir4200.c:443: error: dereferencing pointer to incomplete type stir4200.c:454: error: too few arguments to function `usb_submit_urb' stir4200.c:456: error: dereferencing pointer to incomplete type stir4200.c:461: error: dereferencing pointer to incomplete type stir4200.c:462: error: dereferencing pointer to incomplete type stir4200.c:483:41: missing binary operator before token "(" stir4200.c: In function `stir_change_speed_async': stir4200.c:486: error: `devrequest' undeclared (first use in this function) stir4200.c:486: error: `dr' undeclared (first use in this function) stir4200.c:499: error: dereferencing pointer to incomplete type stir4200.c:503: error: dereferencing pointer to incomplete type stir4200.c:505: error: `USB_ST_NOERROR' undeclared (first use in this function) stir4200.c:517: warning: implicit declaration of function `FILL_CONTROL_URB' stir4200.c:517: error: dereferencing pointer to incomplete type stir4200.c:517: error: dereferencing pointer to incomplete type stir4200.c:523: error: dereferencing pointer to incomplete type stir4200.c:537: error: dereferencing pointer to incomplete type stir4200.c:538: error: dereferencing pointer to incomplete type stir4200.c:544: error: dereferencing pointer to incomplete type stir4200.c:544: error: too few arguments to function `usb_submit_urb' stir4200.c:545: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_change_speed_callback': stir4200.c:565: error: dereferencing pointer to incomplete type stir4200.c:565: error: dereferencing pointer to incomplete type stir4200.c:571: error: dereferencing pointer to incomplete type stir4200.c:571: error: dereferencing pointer to incomplete type stir4200.c:579: error: dereferencing pointer to incomplete type stir4200.c:581: error: dereferencing pointer to incomplete type stir4200.c:581: error: too few arguments to function `usb_submit_urb' stir4200.c:586: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_update_speed_callback': stir4200.c:602: warning: implicit declaration of function `ASSERT' stir4200.c:602: error: parse error before "return" stir4200.c:604: error: dereferencing pointer to incomplete type stir4200.c:607: error: dereferencing pointer to incomplete type stir4200.c:607: error: dereferencing pointer to incomplete type stir4200.c:615: error: dereferencing pointer to incomplete type stir4200.c:617: error: dereferencing pointer to incomplete type stir4200.c:618: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_hard_xmit': stir4200.c:635: error: dereferencing pointer to incomplete type stir4200.c:640: error: dereferencing pointer to incomplete type stir4200.c:642: error: dereferencing pointer to incomplete type stir4200.c:647: warning: implicit declaration of function `irda_get_next_speed' stir4200.c:648: error: dereferencing pointer to incomplete type stir4200.c:652: error: dereferencing pointer to incomplete type stir4200.c:662: error: dereferencing pointer to incomplete type stir4200.c:672: error: dereferencing pointer to incomplete type stir4200.c:678: error: dereferencing pointer to incomplete type stir4200.c:685: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_write_bulk_callback': stir4200.c:724: error: dereferencing pointer to incomplete type stir4200.c:727: error: dereferencing pointer to incomplete type stir4200.c:727: error: dereferencing pointer to incomplete type stir4200.c:729: error: dereferencing pointer to incomplete type stir4200.c:733: error: dereferencing pointer to incomplete type stir4200.c:744: error: dereferencing pointer to incomplete type stir4200.c:747: error: dereferencing pointer to incomplete type stir4200.c:753: error: dereferencing pointer to incomplete type stir4200.c:763: error: dereferencing pointer to incomplete type stir4200.c:766: error: dereferencing pointer to incomplete type stir4200.c:769: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_check_urb': stir4200.c:782: error: dereferencing pointer to incomplete type stir4200.c:786: error: dereferencing pointer to incomplete type stir4200.c:789: error: `USB_ST_URB_PENDING' undeclared (first use in this function) stir4200.c:805: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_net_timeout': stir4200.c:831: error: dereferencing pointer to incomplete type stir4200.c:833: error: dereferencing pointer to incomplete type stir4200.c:836: error: dereferencing pointer to incomplete type stir4200.c:841: error: dereferencing pointer to incomplete type stir4200.c:842: error: dereferencing pointer to incomplete type stir4200.c:843: error: dereferencing pointer to incomplete type stir4200.c:845: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_rx_submit': stir4200.c:930: error: dereferencing pointer to incomplete type stir4200.c:931: error: dereferencing pointer to incomplete type stir4200.c:931: error: dereferencing pointer to incomplete type stir4200.c:932: error: dereferencing pointer to incomplete type stir4200.c:935: error: `USB_QUEUE_BULK' undeclared (first use in this function) stir4200.c:937: error: structure has no member named `next' stir4200.c:939: error: too few arguments to function `usb_submit_urb' stir4200.c: In function `stir_delayed_rx_submit': stir4200.c:962: error: parse error before "return" stir4200.c:964: error: dereferencing pointer to incomplete type stir4200.c:967: error: dereferencing pointer to incomplete type stir4200.c:967: error: dereferencing pointer to incomplete type stir4200.c:973: error: dereferencing pointer to incomplete type stir4200.c:973: error: dereferencing pointer to incomplete type stir4200.c:974: error: dereferencing pointer to incomplete type stir4200.c:977: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_setup_receive_timer': stir4200.c:995: error: dereferencing pointer to incomplete type stir4200.c:997: error: dereferencing pointer to incomplete type stir4200.c:1005: error: dereferencing pointer to incomplete type stir4200.c:1006: error: dereferencing pointer to incomplete type stir4200.c:1009: error: dereferencing pointer to incomplete type stir4200.c:1010: error: dereferencing pointer to incomplete type stir4200.c:1014: error: dereferencing pointer to incomplete type stir4200.c:1018: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_receive': stir4200.c:1036: error: parse error before "return" stir4200.c:1039: error: dereferencing pointer to incomplete type stir4200.c:1039: error: dereferencing pointer to incomplete type stir4200.c:1076: error: dereferencing pointer to incomplete type stir4200.c:1083: error: dereferencing pointer to incomplete type stir4200.c:1086: warning: implicit declaration of function `async_unwrap_char' stir4200.c:1086: error: dereferencing pointer to incomplete type stir4200.c:1086: error: dereferencing pointer to incomplete type stir4200.c:1087: error: dereferencing pointer to incomplete type stir4200.c:1087: error: dereferencing pointer to incomplete type stir4200.c:1102: error: dereferencing pointer to incomplete type stir4200.c:1106: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_net_init': stir4200.c:1153: warning: implicit declaration of function `irda_device_setup' stir4200.c: In function `stir_net_open': stir4200.c:1176: error: parse error before "return" stir4200.c:1178: error: parse error before "return" stir4200.c:1181: error: dereferencing pointer to incomplete type stir4200.c:1187: error: dereferencing pointer to incomplete type stir4200.c:1191: error: dereferencing pointer to incomplete type stir4200.c:1198: error: dereferencing pointer to incomplete type stir4200.c:1199: error: dereferencing pointer to incomplete type stir4200.c:1199: warning: implicit declaration of function `irlap_open' stir4200.c:1199: error: dereferencing pointer to incomplete type stir4200.c:1200: error: dereferencing pointer to incomplete type stir4200.c:1200: error: parse error before "return" stir4200.c:1209: error: dereferencing pointer to incomplete type stir4200.c:1209: error: dereferencing pointer to incomplete type stir4200.c:1210: error: dereferencing pointer to incomplete type stir4200.c:1215: error: dereferencing pointer to incomplete type stir4200.c:1218: warning: `MOD_INC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:495) stir4200.c: In function `stir_net_close': stir4200.c:1236: error: parse error before "return" stir4200.c:1238: error: parse error before "return" stir4200.c:1242: error: dereferencing pointer to incomplete type stir4200.c:1249: error: dereferencing pointer to incomplete type stir4200.c:1254: error: dereferencing pointer to incomplete type stir4200.c:1254: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) stir4200.c:1255: error: dereferencing pointer to incomplete type stir4200.c:1256: error: dereferencing pointer to incomplete type stir4200.c:1257: error: dereferencing pointer to incomplete type stir4200.c:1258: error: dereferencing pointer to incomplete type stir4200.c:1259: error: dereferencing pointer to incomplete type stir4200.c:1262: error: dereferencing pointer to incomplete type stir4200.c:1263: warning: implicit declaration of function `irlap_close' stir4200.c:1263: error: dereferencing pointer to incomplete type stir4200.c:1264: error: dereferencing pointer to incomplete type stir4200.c:1266: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at /usr/include/linux/module.h:507) stir4200.c: In function `stir_net_ioctl': stir4200.c:1282: error: parse error before "return" stir4200.c:1284: error: parse error before "return" stir4200.c:1289: error: `SIOCSBANDWIDTH' undeclared (first use in this function) stir4200.c:1293: error: dereferencing pointer to incomplete type stir4200.c:1295: error: dereferencing pointer to incomplete type stir4200.c:1297: error: dereferencing pointer to incomplete type stir4200.c:1299: error: dereferencing pointer to incomplete type stir4200.c:1301: error: `SIOCSMEDIABUSY' undeclared (first use in this function) stir4200.c:1305: error: dereferencing pointer to incomplete type stir4200.c:1306: warning: implicit declaration of function `irda_device_set_media_busy' stir4200.c:1306: error: dereferencing pointer to incomplete type stir4200.c:1306: error: `TRUE' undeclared (first use in this function) stir4200.c:1308: error: `SIOCGRECEIVING' undeclared (first use in this function) stir4200.c:1309: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_net_get_stats': stir4200.c:1325: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_init_qos': stir4200.c:1344: warning: implicit declaration of function `irda_init_max_qos_capabilies' stir4200.c:1344: error: dereferencing pointer to incomplete type stir4200.c:1346: error: dereferencing pointer to incomplete type stir4200.c:1346: error: `IR_2400' undeclared (first use in this function) stir4200.c:1346: error: `IR_9600' undeclared (first use in this function) stir4200.c:1346: error: `IR_19200' undeclared (first use in this function) stir4200.c:1347: error: `IR_38400' undeclared (first use in this function) stir4200.c:1347: error: `IR_57600' undeclared (first use in this function) stir4200.c:1347: error: `IR_115200' undeclared (first use in this function) stir4200.c:1348: error: `IR_4000000' undeclared (first use in this function) stir4200.c:1349: error: dereferencing pointer to incomplete type stir4200.c:1350: error: dereferencing pointer to incomplete type stir4200.c:1351: error: dereferencing pointer to incomplete type stir4200.c:1352: error: dereferencing pointer to incomplete type stir4200.c:1355: error: dereferencing pointer to incomplete type stir4200.c:1360: warning: implicit declaration of function `irda_qos_bits_to_value' stir4200.c:1360: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_open': stir4200.c:1375: error: dereferencing pointer to incomplete type stir4200.c:1379: error: dereferencing pointer to incomplete type stir4200.c:1380: error: dereferencing pointer to incomplete type stir4200.c:1387: error: dereferencing pointer to incomplete type stir4200.c:1388: error: dereferencing pointer to incomplete type stir4200.c:1391: error: dereferencing pointer to incomplete type stir4200.c:1396: error: dereferencing pointer to incomplete type stir4200.c:1397: error: dereferencing pointer to incomplete type stir4200.c:1398: error: dereferencing pointer to incomplete type stir4200.c:1401: error: dereferencing pointer to incomplete type stir4200.c:1402: error: dereferencing pointer to incomplete type stir4200.c:1407: error: dereferencing pointer to incomplete type stir4200.c:1408: error: dereferencing pointer to incomplete type stir4200.c:1409: error: dereferencing pointer to incomplete type stir4200.c:1412: error: dereferencing pointer to incomplete type stir4200.c:1413: error: dereferencing pointer to incomplete type stir4200.c:1414: error: dereferencing pointer to incomplete type stir4200.c:1426: error: dereferencing pointer to incomplete type stir4200.c:1427: error: dereferencing pointer to incomplete type stir4200.c:1428: error: dereferencing pointer to incomplete type stir4200.c:1431: warning: `dev_alloc' is deprecated (declared at /usr/include/linux/netdevice.h:518) stir4200.c:1435: error: dereferencing pointer to incomplete type stir4200.c:1455: warning: implicit declaration of function `MESSAGE' stir4200.c: In function `stir_close': stir4200.c:1468: error: parse error before "return" stir4200.c:1471: error: dereferencing pointer to incomplete type stir4200.c:1473: error: dereferencing pointer to incomplete type stir4200.c:1474: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_parse_endpoints': stir4200.c:1505: error: dereferencing pointer to incomplete type [...] stir4200.c:1544: error: parse error before ';' token stir4200.c:1546: error: dereferencing pointer to incomplete type stir4200.c:1546: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_probe': stir4200.c:1585: error: invalid use of undefined type `struct stir_cb' stir4200.c:1586: error: dereferencing pointer to incomplete type [...] stir4200.c:1598: error: invalid use of undefined type `struct stir_cb' stir4200.c:1599: error: invalid use of undefined type `struct stir_cb' stir4200.c:1610: error: dereferencing pointer to incomplete type stir4200.c:1611: error: dereferencing pointer to incomplete type stir4200.c:1614: error: request for member `altsetting' in something not a structure or union stir4200.c:1615: error: structure has no member named `endpoint' stir4200.c:1621: error: dereferencing pointer to incomplete type stir4200.c:1622: error: dereferencing pointer to incomplete type stir4200.c:1623: error: dereferencing pointer to incomplete type stir4200.c: In function `stir_disconnect': stir4200.c:1652: error: dereferencing pointer to incomplete type [...] stir4200.c:1672: error: `USB_ASYNC_UNLINK' undeclared (first use in this function) stir4200.c:1673: error: dereferencing pointer to incomplete type stir4200.c:1674: error: dereferencing pointer to incomplete type [...] stir4200.c: At top level: stir4200.c:1693: warning: initialization from incompatible pointer type stir4200.c:1694: warning: initialization from incompatible pointer type stir4200.c: In function `stir_init': stir4200.c:1710: error: invalid application of `sizeof' to an incomplete type stir4200.c:1710: error: invalid application of `sizeof' to an incomplete type [...] stir4200.c: In function `stir_cleanup': stir4200.c:1732: error: invalid use of undefined type `struct stir_cb' .c:1734: error: dereferencing pointer to incomplete type [...] stir4200.c: At top level: stir4200.c:97: error: storage size of `stir_instance' isn't known make: *** [stir4200.o] Error 1 what do I do now?? what does this mean?? please anyone! |
Hi everyone!
I have the same problem while trying to use "Makefile" under Suse 9.0 Anyone any ideas?? Pls let us know :.) |
could you MSG me if you get this resolved diane? thanks!
|
All times are GMT -5. The time now is 01:14 AM. |