LinuxSir.cn,穿越时空的Linuxsir!

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

请教 make Conexant usb adsl驱动时的问题

[复制链接]
发表于 2005-3-5 22:03:57 | 显示全部楼层 |阅读模式
make[1]: Entering directory `/usr/src/linux-2.6.11/cxacru/bridged'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I/lib/modules/2.6.11/build/include  br2684ctl.c -o br2684ctl -latm
br2684ctl.c:8:17: atm.h: 没有那个文件或目录
In file included from /lib/modules/2.6.11/build/include/linux/atmdev.h:12,
                from br2684ctl.c:9:
/lib/modules/2.6.11/build/include/linux/atm.h:215: error: syntax error before "uint32_t"
/lib/modules/2.6.11/build/include/linux/atm.h:215: warning: no semicolon at end of struct or union
/lib/modules/2.6.11/build/include/linux/atm.h:215: warning: no semicolon at end of struct or union
/lib/modules/2.6.11/build/include/linux/atm.h:216: warning: type defaults to `int' in declaration of `sas_addr'
/lib/modules/2.6.11/build/include/linux/atm.h:216: warning: data definition has no type or storage class
/lib/modules/2.6.11/build/include/linux/atm.h:217: error: syntax error before '}' token
/lib/modules/2.6.11/build/include/linux/atm.h:221: error: parameter `addr' has incomplete type
In file included from /lib/modules/2.6.11/build/include/linux/atmbr2684.h:5,
                from br2684ctl.c:10:
/lib/modules/2.6.11/build/include/linux/if.h:139: error: field `ifru_addr' has incomplete type
/lib/modules/2.6.11/build/include/linux/if.h:140: error: field `ifru_dstaddr' has incomplete type
/lib/modules/2.6.11/build/include/linux/if.h:141: error: field `ifru_broadaddr' has incomplete type
/lib/modules/2.6.11/build/include/linux/if.h:142: error: field `ifru_netmask' has incomplete type
/lib/modules/2.6.11/build/include/linux/if.h:143: error: field `ifru_hwaddr' has incomplete type
br2684ctl.c: In function `create_br':
br2684ctl.c:59: warning: implicit declaration of function `socket'
br2684ctl.c:59: error: `PF_ATMPVC' undeclared (first use in this function)
br2684ctl.c:59: error: (Each undeclared identifier is reported only once
br2684ctl.c:59: error: for each function it appears in.)
br2684ctl.c:59: error: `SOCK_DGRAM' undeclared (first use in this function)
br2684ctl.c: In function `assign_vcc':
br2684ctl.c:98: warning: implicit declaration of function `text2atm'
br2684ctl.c:98: warning: type-punning to incomplete type might break strict-aliasing rules
br2684ctl.c:98: error: `T2A_PVC' undeclared (first use in this function)
br2684ctl.c:113: error: `PF_ATMPVC' undeclared (first use in this function)
br2684ctl.c:113: error: `SOCK_DGRAM' undeclared (first use in this function)
br2684ctl.c:124: warning: implicit declaration of function `setsockopt'
br2684ctl.c:124: error: `SOL_SOCKET' undeclared (first use in this function)
br2684ctl.c:124: error: `SO_SNDBUF' undeclared (first use in this function)
br2684ctl.c:127: error: `SOL_ATM' undeclared (first use in this function)
br2684ctl.c:130: warning: implicit declaration of function `connect'
br2684ctl.c:130: warning: type-punning to incomplete type might break strict-aliasing rules
make[1]: *** [br2684ctl] 错误 1
make[1]: Leaving directory `/usr/src/linux-2.6.11/cxacru/bridged'
make: *** [BRIDGED] 错误 2
[root@localhost cxacru]#
谢谢大家
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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