QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 892|回复: 0

安装Conexant ADSL modem驱动时出错

[复制链接]
发表于 2006-5-28 21:36:17 | 显示全部楼层 |阅读模式
cd init && make && make install
make[1]: Entering directory `/root/.Trash/cxacru/init'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/.Trash/cxacru/init'
make[1]: Entering directory `/root/.Trash/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/root/.Trash/cxacru/init'
cd firmware && make
make[1]: Entering directory `/root/.Trash/cxacru/firmware'
install -c -m 644 -p cxinit.bin /usr/sbin
make[1]: Leaving directory `/root/.Trash/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/root/.Trash/cxacru/module'
gcc -O2 -Wstrict-prototypes -Wno-trigraphs -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-common -mpreferred-stack-boundary=2 -march=i686 -Wall -D__KERNEL__ -DLINUX -DMODULE -I/lib/modules/2.6.16.13-4-default/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
In file included from /usr/include/asm/percpu.h:4,
from /usr/include/asm/processor.h:24,
from /usr/include/asm/thread_info.h:17,
from /usr/include/linux/thread_info.h:21,
from /usr/include/linux/preempt.h:10,
from /usr/include/linux/spinlock.h:52,
from /usr/include/linux/capability.h:45,
from /usr/include/linux/sched.h:7,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/asm-generic/percpu.h:8: error: ‘CONFIG_NR_CPUS’ undeclared here (not in a function)
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/linux/jiffies.h:33:3: error: #error You lose.
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:204:31: error: division by zero in #if
/usr/include/linux/jiffies.h:248:46: error: division by zero in #if
In file included from /usr/include/linux/sched.h:12,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/linux/jiffies.h: In function ‘jiffies_to_msecs’:
/usr/include/linux/jiffies.h:253: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:253: error: (Each undeclared identifier is reported only once
/usr/include/linux/jiffies.h:253: error: for each function it appears in.)
/usr/include/linux/jiffies.h:259:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_to_usecs’:
/usr/include/linux/jiffies.h:264: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:272:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘msecs_to_jiffies’:
/usr/include/linux/jiffies.h:277: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:285:46: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘usecs_to_jiffies’:
/usr/include/linux/jiffies.h:290: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘timespec_to_jiffies’:
/usr/include/linux/jiffies.h:309: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:315: error: ‘SHIFT_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘jiffies_to_timespec’:
/usr/include/linux/jiffies.h:328: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘timeval_to_jiffies’:
/usr/include/linux/jiffies.h:350: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:354: error: ‘SHIFT_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘jiffies_to_timeval’:
/usr/include/linux/jiffies.h:366: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h:379:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_to_clock_t’:
/usr/include/linux/jiffies.h:380: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h: In function ‘clock_t_to_jiffies’:
/usr/include/linux/jiffies.h:391: error: ‘CONFIG_HZ’ undeclared (first use in this function)
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h:410:6: error: division by zero in #if
/usr/include/linux/jiffies.h: In function ‘jiffies_64_to_clock_t’:
/usr/include/linux/jiffies.h:411: error: ‘CONFIG_HZ’ undeclared (first use in this function)
In file included from /usr/include/linux/list.h:7,
from /usr/include/linux/wait.h:23,
from /usr/include/asm/semaphore.h:41,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/linux/prefetch.h: In function ‘prefetch_range’:
/usr/include/linux/prefetch.h:64: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared (first use in this function)
In file included from /usr/include/linux/rwsem.h:27,
from /usr/include/asm/semaphore.h:42,
from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/asm/rwsem.h: In function ‘__down_read’:
/usr/include/asm/rwsem.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__down_write’:
/usr/include/asm/rwsem.h:157: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__up_read’:
/usr/include/asm/rwsem.h:194: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__up_write’:
/usr/include/asm/rwsem.h:220: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/rwsem.h: In function ‘__downgrade_write’:
/usr/include/asm/rwsem.h:245: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /usr/include/linux/sched.h:20,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/asm/semaphore.h: In function ‘down’:
/usr/include/asm/semaphore.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/semaphore.h: In function ‘down_interruptible’:
/usr/include/asm/semaphore.h:130: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/semaphore.h: In function ‘down_trylock’:
/usr/include/asm/semaphore.h:155: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/include/asm/semaphore.h: In function ‘up’:
/usr/include/asm/semaphore.h:179: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /usr/include/linux/gfp.h:4,
from /usr/include/linux/slab.h:15,
from /usr/include/linux/percpu.h:5,
from /usr/include/linux/sched.h:34,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/linux/mmzone.h: At top level:
/usr/include/linux/mmzone.h:41: error: ‘CONFIG_X86_L1_CACHE_SHIFT’ undeclared here (not in a function)
/usr/include/linux/mmzone.h:41: error: requested alignment is not a constant
/usr/include/linux/mmzone.h:64: error: requested alignment is not a constant
/usr/include/linux/mmzone.h:249: error: requested alignment is not a constant
In file included from /usr/include/linux/sched.h:37,
from /usr/include/linux/module.h:10,
from cxacru.c:35:
/usr/include/linux/rcupdate.h:69: error: requested alignment is not a constant
/usr/include/linux/rcupdate.h:72: error: requested alignment is not a constant
In file included from /usr/include/linux/module.h:23,
from cxacru.c:35:
/usr/include/asm/module.h:62:2: error: #error unknown processor family
In file included from /usr/include/linux/irq.h:22,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:16,
from cxacru.c:45:
/usr/include/asm/irq.h:16:25: error: irq_vectors.h: 没有那个文件或目录
In file included from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:16,
from cxacru.c:45:
/usr/include/linux/irq.h:83: error: requested alignment is not a constant
/usr/include/linux/irq.h:85: error: ‘NR_IRQS’ undeclared here (not in a function)
In file included from /usr/include/linux/irq.h:94,
from /usr/include/asm/hardirq.h:6,
from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:16,
from cxacru.c:45:
/usr/include/asm/hw_irq.h:30: error: ‘NR_IRQ_VECTORS’ undeclared here (not in a function)
In file included from /usr/include/linux/hardirq.h:7,
from /usr/include/linux/interrupt.h:11,
from /usr/include/linux/usb.h:16,
from cxacru.c:45:
/usr/include/asm/hardirq.h:13: error: requested alignment is not a constant
In file included from /usr/include/asm/fixmap.h:27,
from /usr/include/asm/pgtable.h:17,
from /usr/include/linux/mm.h:38,
from /usr/include/linux/skbuff.h:26,
from /usr/include/linux/atmdev.h:216,
from cxacru.c:56:
/usr/include/asm/acpi.h:31:28: error: acpi/pdc_intel.h: 没有那个文件或目录
In file included from /usr/include/linux/skbuff.h:26,
from /usr/include/linux/atmdev.h:216,
from cxacru.c:56:
/usr/include/linux/mm.h: In function ‘lowmem_page_address’:
/usr/include/linux/mm.h:517: error: ‘CONFIG_PAGE_OFFSET’ undeclared (first use in this function)
In file included from /usr/include/linux/atmdev.h:216,
from cxacru.c:56:
/usr/include/linux/skbuff.h:31:26: error: net/checksum.h: 没有那个文件或目录
In file included from cxacru.c:56:
/usr/include/linux/atmdev.h:218:22: error: net/sock.h: 没有那个文件或目录
In file included from cxacru.c:56:
/usr/include/linux/atmdev.h: At top level:
/usr/include/linux/atmdev.h:289: error: field ‘sk’ has incomplete type
/usr/include/linux/atmdev.h: In function ‘atm_force_charge’:
/usr/include/linux/atmdev.h:434: error: dereferencing pointer to incomplete type
/usr/include/linux/atmdev.h: In function ‘atm_return’:
/usr/include/linux/atmdev.h:440: error: dereferencing pointer to incomplete type
/usr/include/linux/atmdev.h: In function ‘atm_may_send’:
/usr/include/linux/atmdev.h:446: error: dereferencing pointer to incomplete type
/usr/include/linux/atmdev.h:447: error: dereferencing pointer to incomplete type
cxacru.c: At top level:
cxacru.c:311: warning: initialization from incompatible pointer type
cxacru.c:334: warning: initialization from incompatible pointer type
cxacru.c:335: warning: initialization from incompatible pointer type
cxacru.c:336: warning: initialization from incompatible pointer type
cxacru.c: In function ‘udsl_atm_startdevice’:
cxacru.c:351: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_atm_stopdevice’:
cxacru.c:387: error: ‘struct atm_dev’ has no member named ‘vccs’
cxacru.c:388: warning: implicit declaration of function ‘shutdown_atm_dev’
cxacru.c:390: error: ‘struct atm_vcc’ has no member named ‘next’
cxacru.c:391: error: ‘struct atm_vcc’ has no member named ‘sleep’
cxacru.c:394: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_atm_processqueue_thread’:
cxacru.c:553: error: too few arguments to function ‘daemonize’
cxacru.c: In function ‘udsl_atm_open’:
cxacru.c:614: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:633: error: ‘struct atm_vcc’ has no member named ‘alloc_tx’
cxacru.c: In function ‘udsl_atm_close’:
cxacru.c:663: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_usb_send_data_complete’:
cxacru.c:723: warning: implicit declaration of function ‘FILL_BULK_URB’
cxacru.c:731: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:733: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_send_data’:
cxacru.c:818: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:820: error: too few arguments to function ‘usb_submit_urb’
cxacru.c:823: error: too few arguments to function ‘skb_unlink’
cxacru.c: In function ‘udsl_usb_data_receive’:
cxacru.c:897: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:899: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_data_init’:
cxacru.c:930: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:947: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:953: error: too few arguments to function ‘usb_submit_urb’
cxacru.c: In function ‘udsl_usb_send_bulk’:
cxacru.c:1042: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:1057: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:1059: error: too few arguments to function ‘usb_submit_urb’
cxacru.c:1065: error: ‘CONFIG_HZ’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_usb_read_bulk’:
cxacru.c:1122: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:1139: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:1141: error: too few arguments to function ‘usb_submit_urb’
cxacru.c:1148: error: ‘CONFIG_HZ’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_usb_wait_response’:
cxacru.c:1596: error: ‘CONFIG_HZ’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_usb_monitorize_thread’:
cxacru.c:1608: error: too few arguments to function ‘daemonize’
cxacru.c:1623: error: ‘CONFIG_HZ’ undeclared (first use in this function)
cxacru.c: In function ‘udsl_usb_probe’:
cxacru.c:1755: error: ‘MOD_INC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:1763: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c:1884: warning: pointer targets in passing argument 2 of ‘udsl_atm_set_mac’ differ in signedness
cxacru.c: In function ‘udsl_usb_disconnect’:
cxacru.c:1916: error: ‘MOD_IN_USE’ undeclared (first use in this function)
cxacru.c:1924: error: ‘MOD_DEC_USE_COUNT’ undeclared (first use in this function)
cxacru.c: At top level:
cxacru.c:1967: error: conflicting types for ‘cleanup_module’
/usr/include/linux/module.h:67: error: previous declaration of ‘cleanup_module’ was here
cxacru.c: In function ‘remove_control_cells’:
cxacru.c:2148: error: too few arguments to function ‘usb_alloc_urb’
cxacru.c:2164: error: ‘USB_QUEUE_BULK’ undeclared (first use in this function)
cxacru.c:2169: error: too few arguments to function ‘usb_submit_urb’
make[1]: *** [cxacrunormal.o] 错误 1
make[1]: Leaving directory `/root/.Trash/cxacru/module'
make: *** [CX_MODULE] 错误 2
您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-16 14:27 , Processed in 0.034580 second(s), 16 queries .

© 2021 Powered by Discuz! X3.5.

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