|
发表于 2004-5-6 18:35:05
|
显示全部楼层
ygw_ycf, 帮我看一下那里出错了
以下是编译信息:
[code:1][root@Lovewilliam cxacru]# make
cd init && make clean
make[1]: Entering directory `/usr/src/cxacru/init'
rm -f cxload cxioctl cxloaddbg cxloaddbgt
make[1]: Leaving directory `/usr/src/cxacru/init'
cd module && make clean
make[1]: Entering directory `/usr/src/cxacru/module'
rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h
make[1]: Leaving directory `/usr/src/cxacru/module'
cd module2 && make clean
make[1]: Entering directory `/usr/src/cxacru/module2'
rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd
make[1]: Leaving directory `/usr/src/cxacru/module2'
cd sarlib && make clean
make[1]: Entering directory `/usr/src/cxacru/sarlib'
/bin/rm -f *.o
make[1]: Leaving directory `/usr/src/cxacru/sarlib'
cd panel && make clean
make[1]: Entering directory `/usr/src/cxacru/panel'
rm -f cxpanel *.bak
make[1]: Leaving directory `/usr/src/cxacru/panel'
cd bridged && make clean
make[1]: Entering directory `/usr/src/cxacru/bridged'
rm -f br2684ctl
make[1]: Leaving directory `/usr/src/cxacru/bridged'
cd init && make && make install
make[1]: Entering directory `/usr/src/cxacru/init'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxload.c -o cxload
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -lusb -lpthread cxioctl.c -o cxioctl
make[1]: Leaving directory `/usr/src/cxacru/init'
make[1]: Entering directory `/usr/src/cxacru/init'
install -c -m 755 -p cxload cxioctl /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/init'
cd firmware && make
make[1]: Entering directory `/usr/src/cxacru/firmware'
install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/firmware'
cd module && make && make install
make[1]: Entering directory `/usr/src/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 -D__SMP__ -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -c cxacru.c -o cxacrunormal.o
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from cxacru.c:58:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:900,
from cxacru.c:55:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
make -C ../sarlib/
make[2]: Entering directory `/usr/src/cxacru/sarlib'
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -D__SMP__ -DATM_VCC_OLD
-DATM_VCC_ALLOC_TX -I/lib/modules/2.4.20-8/build/include -c sarlib.c -o sarlib.oIn file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/wait.h:14,
from /lib/modules/2.4.20-8/build/include/linux/fs.h:12,
from /lib/modules/2.4.20-8/build/include/linux/capability.h:17, from /lib/modules/2.4.20-8/build/include/linux/binfmts.h:4,
from /lib/modules/2.4.20-8/build/include/linux/sched.h:10,
from /lib/modules/2.4.20-8/build/include/linux/mm.h:22,
from /lib/modules/2.4.20-8/build/include/linux/slab.h:14,
from /lib/modules/2.4.20-8/build/include/linux/proc_fs.h:5,
from sarlib.h:20,
from sarlib.c:13:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:900,
from sarlib.h:16,
from sarlib.c:13:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
cc -O2 -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -march=i686 -Wall -D__KERNEL__ -DLINUX -D__SMP__ -DATM_VCC_OLD
-DATM_VCC_ALLOC_TX -I/lib/modules/2.4.20-8/build/include -DDEBUG -c sarlib.c -o
sarlibdbg.o
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/wait.h:14,
from /lib/modules/2.4.20-8/build/include/linux/fs.h:12,
from /lib/modules/2.4.20-8/build/include/linux/capability.h:17, from /lib/modules/2.4.20-8/build/include/linux/binfmts.h:4,
from /lib/modules/2.4.20-8/build/include/linux/sched.h:10,
from /lib/modules/2.4.20-8/build/include/linux/mm.h:22,
from /lib/modules/2.4.20-8/build/include/linux/slab.h:14,
from /lib/modules/2.4.20-8/build/include/linux/proc_fs.h:5,
from sarlib.h:20,
from sarlib.c:13:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:900,
from sarlib.h:16,
from sarlib.c:13:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
make[2]: Leaving directory `/usr/src/cxacru/sarlib'
ld -r -o cxacru.o cxacrunormal.o ../sarlib/sarlib.o
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 -D__SMP__ -DATM_VCC_ALLOC_TX -DMODULE -I/lib/modules/2.4.20-8/build/include -I../sarlib/ -DDEBUG -DDEBUG_PACKET -c cxacru.c -o cxacrudebug.o
In file included from /lib/modules/2.4.20-8/build/include/linux/prefetch.h:13,
from /lib/modules/2.4.20-8/build/include/linux/list.h:6,
from /lib/modules/2.4.20-8/build/include/linux/module.h:12,
from cxacru.c:58:
/lib/modules/2.4.20-8/build/include/asm/processor.h:267:1: warning: "EISA_bus" redefined
In file included from /lib/modules/2.4.20-8/build/include/linux/modversions.h:900,
from cxacru.c:55:
/lib/modules/2.4.20-8/build/include/linux/modules/i386_ksyms.ver:92:1: warning:
this is the location of the previous definition
ld -r -o cxacrudbg.o cxacrudebug.o ../sarlib/sarlibdbg.o
make[1]: Leaving directory `/usr/src/cxacru/module'
make[1]: Entering directory `/usr/src/cxacru/module'
mkdir -p /lib/modules/2.4.20-8/kernel/drivers/usb
cp cxacru.o /lib/modules/2.4.20-8/kernel/drivers/usb
cp cxacrudbg.o /lib/modules/2.4.20-8/kernel/drivers/usb
/sbin/depmod -a
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-8/kernel/drivers/usb/cxacrudbg.o
make[1]: Leaving directory `/usr/src/cxacru/module'
cd scripts && make
make[1]: Entering directory `/usr/src/cxacru/scripts'
install -c -m 755 -p cxload.sh cxunload.sh cxstart.sh cxstop.sh /usr/sbin
install -c -m 755 -p service/cxacru /etc/cxacru.service
if [ ! -f /etc/cxacru ]; then \
install -c -m 644 -p config/cxacru /etc; \
fi
install -c -m 755 -p cxnetup.sh cxnetdown.sh /usr/sbin
install -c -m 755 -p cxnet2up.sh cxnet2down.sh /usr/sbin
install -c -m 755 -p cxnet3up.sh cxnet3down.sh /usr/sbin
install -c -m 755 -p cxnet4up.sh cxnet4down.sh /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/scripts'
cd bridged && make && make install
make[1]: Entering directory `/usr/src/cxacru/bridged'
gcc -O2 -Wstrict-prototypes -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I/lib/modules/2.4.20-8/build/include br2684ctl.c -o br2684ctl -latm
make[1]: Leaving directory `/usr/src/cxacru/bridged'
make[1]: Entering directory `/usr/src/cxacru/bridged'
install -c -m 755 -p br2684ctl /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/bridged'
cd panel && make && make install
make[1]: Entering directory `/usr/src/cxacru/panel'
gcc -O2 -fomit-frame-pointer -pipe -march=i686 -Wall -DLINUX -I../include -I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -lusb -L/usr/lib -lglade -L/usr/lib -lxml -lz -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm cxpanel.c -o cxpanel
make[1]: Leaving directory `/usr/src/cxacru/panel'
make[1]: Entering directory `/usr/src/cxacru/panel'
install -c -m 755 -p cxpanel /usr/sbin
install -c -m 644 -p cxpanel.glade /usr/sbin
install -c -m 644 -p cxacru-tux.xpm /usr/sbin
make[1]: Leaving directory `/usr/src/cxacru/panel'
[root@Lovewilliam cxacru]# make install
make: *** No rule to make target `install'. Stop.
[root@Lovewilliam cxacru]#
[/code:1]
以下是cxload信息
[code:1][root@Lovewilliam cxacru]# cxload.sh
>>> Inits Conexant AccessRunner <<<
>>> Loading firmware...
Conexant AccessRunner microcode upload program. 6/9/2003
Josep Comas <[email protected]>
See credits in documentation
I found ADSL modem with VendorID = 0572 & ProductID = cb00
Loading and sending /usr/sbin/cxfirm4.bin...
Firmware is sent!
Setting configuration...
Waiting ADSL line is up (until 90 seconds)...
.........
ADSL line is up (Downstream 512 Kbits/s, Upstream 128 Kbits/s)
>>> Loading driver...
Launching driver in normal mode...
/lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o: unresolved symbol kernel_flag_cacheline
/lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o: insmod /lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o failed
/lib/modules/2.4.20-8/kernel/drivers/usb/cxacru.o: insmod cxacru failed
[root@Lovewilliam cxacru]#
[/code:1]
make install 不能通过
加载驱动模块时出现错误 |
|