LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 879|回复: 0

安装USb ADSL modem编译时出错,各位兄弟过来帮帮忙啊

[复制链接]
发表于 2006-5-26 14:25:29 | 显示全部楼层 |阅读模式
cxacru.c: At top level:
cxacru.c:331: warning: initialization from incompatible pointer type
cxacru.c:354: warning: initialization from incompatible pointer type
cxacru.c:355: warning: initialization from incompatible pointer type
cxacru.c:356: warning: initialization from incompatible pointer type
cxacru.c: In function ‘udsl_atm_startdevice’:
cxacru.c:371: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:371: error: (Each undeclared identifier is reported only once
cxacru.c:371: error: for each function it appears in.)
cxacru.c: In function ‘udsl_atm_stopdevice’:
cxacru.c:407: error: ‘struct atm_dev’ has no member named ‘vccs’
cxacru.c:408: warning: implicit declaration of function ‘shutdown_atm_dev’
cxacru.c:410: error: ‘struct atm_vcc’ has no member named ‘next’
cxacru.c:411: error: ‘struct atm_vcc’ has no member named ‘sleep’
cxacru.c:414: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_atm_processqueue_thread’:
cxacru.c:573: error: too few arguments to function ‘daemonize’
cxacru.c: In function ‘udsl_atm_open’:
cxacru.c:634: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:653: error: ‘struct atm_vcc’ has no member named ‘alloc_tx’
cxacru.c: In function ‘udsl_atm_close’:
cxacru.c:683: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_usb_send_data_complete’:
cxacru.c:745: warning: implicit declaration of function ‘FILL_BULK_URB’
cxacru.c:753: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:755: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_send_data’:
cxacru.c:840: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:842: error: too few arguments to function ‘usb_submit_urb’
cxacru.c:845: error: too few arguments to function ‘skb_unlink’
cxacru.c: In function ‘udsl_usb_data_receive’:
cxacru.c:921: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:923: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_data_init’:
cxacru.c:954: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:971: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:977: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_send_bulk’:
cxacru.c:1066: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:1081: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:1083: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_read_bulk’:
cxacru.c:1146: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:1163: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:1165: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_probe’:
cxacru.c:1842: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:1850: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:1964: warning: pointer targets in passing argument 2 of ‘udsl_atm_set_mac’ differ in signedness
cxacru.c: In function ‘udsl_usb_disconnect’:
cxacru.c:1999: error: ‘MOD_IN_USE’ undeclared (first use in this function)
cxacru.c:2007: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: At top level:
cxacru.c:2050: error: conflicting types for ‘cleanup_module’
/usr/src/linux/include/linux/module.h:67: error: previous declaration of ‘cleanup_module’ was here
cxacru.c: In function ‘remove_control_cells’:
cxacru.c:2225: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:2241: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:2246: error: too few arguments to function ‘usb_submit_urb’
make[1]: *** [cxacrunormal.o] 错误 1
make[1]: Leaving directory `/usr/cxacru/module'
make: *** [CX_MODULE] 错误 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表