legendren 发表于 2003-11-24 17:55:25

[讨论]ADSL驱动xxx.src.tgz文件编译错误的原因

运行cxacru出现的错误:
# cd cxacru
# make
cd init && make clean make: Entering directory `/root/cxacru/init' rm -f cxload cxioctl cxloaddbg cxloaddbgt make: Leaving directory `/root/cxacru/init' cd module && make clean make: Entering directory `/root/cxacru/module' rm -f cxacrunormal.o sarlib.o sartest cxacru.o cxacrudebug.o cxacrudbg.o version.h make: Leaving directory `/root/cxacru/module' cd module2 && make clean make: Entering directory `/root/cxacru/module2' rm -f *.o .*.flags *.ko *.mod.* .*.o.cmd .*.ko.cmd make: Leaving directory `/root/cxacru/module2' cd sarlib && make clean make: Entering directory `/root/cxacru/sarlib' /bin/rm -f *.o make: Leaving directory `/root/cxacru/sarlib' cd panel && make clean make: Entering directory `/root/cxacru/panel' rm -f cxpanel *.bak make: Leaving directory `/root/cxacru/panel' cd bridged && make clean make: Entering directory `/root/cxacru/bridged' rm -f br2684ctl make: Leaving directory `/root/cxacru/bridged' cd init && make && make install make: Entering directory `/root/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: Leaving directory `/root/cxacru/init' make: Entering directory `/root/cxacru/init' install -c -m 755 -p cxload cxioctl /usr/sbin make: Leaving directory `/root/cxacru/init' cd firmware && make make: Entering directory `/root/cxacru/firmware' install -c -m 644 -p cxfirm1.bin cxfirm2.bin cxfirm3.bin cxfirm4.bin cxfirm5.bin /usr/sbin make: Leaving directory `/root/cxacru/firmware' cd module && make && make install make: Entering directory `/root/cxacru/module' Makefile:15: /lib/modules/2.4.18-14/build/.config: No such file or directory make: *** No rule to make target `/lib/modules/2.4.18-14/build/.config'. Stop. make: Leaving directory `/root/cxacru/module' make: *** Error 2
我对后来出现的ERROR 2不得其解:
因为终端提示: /lib/modules/2.4.18-14/build/.config: No such file or directory make这个./configure为何物?
对于一个linux世界的新手,这未免也太残酷了吧?!
请大侠看看症结在何处?不胜感激!!!
页: [1]
查看完整版本: [讨论]ADSL驱动xxx.src.tgz文件编译错误的原因