|
发表于 2003-4-6 12:16:08
|
显示全部楼层
无法编译br2684ctl
dragonnapalm兄说:
“安装linux-atm后,一定要安装1483 bridge usespace ,一般是br2684ctl.c或者br011220.c,注意这个小程序只能在2.4.19以上的内核下自动可以编译,在以前的内核下必须先补丁内核。否则可能会出现一些错误。反正我在2.4.18下编了好久没成功。”
但是,我的始终编译不成功,我的内核是2.4.20-8(rh9),应该可以啊,在cc -o br2684ctl brctl-010226.c -latm的时候,不成功啊,错误信息如下:
brctl-010226.c:10:29: linux/atmbr2684.h:没有那个文件或目录brctl-010226.c: In function `create_br':
brctl-010226.c:59: storage size of `ni' isn't known
brctl-010226.c:60: `ATM_BACKEND_BR2684' undeclared (first use in this function)
brctl-010226.c:60: (Each undeclared identifier is reported only once
brctl-010226.c:60: for each function it appears in.)
brctl-010226.c:61: `BR2684_MEDIA_ETHERNET' undeclared (first use in this function)
brctl-010226.c:64: `ATM_NEWBACKENDIF' undeclared (first use in this function)
brctl-010226.c: In function `assign_vcc':
brctl-010226.c:87: storage size of `be' isn't known
brctl-010226.c:129: `ATM_BACKEND_BR2684' undeclared (first use in this function)brctl-010226.c:130: `BR2684_FIND_BYIFNAME' undeclared (first use in this function)
brctl-010226.c:132: `BR2684_FCSIN_NO' undeclared (first use in this function)
brctl-010226.c:133: `BR2684_FCSOUT_NO' undeclared (first use in this function)
brctl-010226.c:135: `BR2684_ENCAPS_VC' undeclared (first use in this function)
brctl-010226.c:135: `BR2684_ENCAPS_LLC' undeclared (first use in this function)
好像,都是atmbr2684.h函数里面的问题,但是,这个文件确实存在啊。
现在我的猫,link灯已经亮了,在网络设备里面可以看到ppp0,但是也是无法激活!
各位兄台,帮忙! |
|