[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] how to patch wfq? thanks
hi,dear experts:
i had download wfq-patches-1.1a1 and decompress it ,
after i install it by "./patch.sh /work/ns-allinone-2.1b6/ns-2.1b6", it seems well.
i know i should make the ns to make it work,
but when i typed "make",it shows:
kefile.in is newer than Makefile.
You need to re-run configure.
false
make: *** [Makefile] Error 1
but when i typed "configure", it shows:
loading cache ./config.cache
No .configure file found in current directory
Continuing with default options...
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for c++... (cached) c++
checking whether the C++ compiler (c++ ) works... yes
checking whether the C++ compiler (c++ ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for ANSI C header files... (cached) yes
checking for string.h... (cached) yes
checking for main in -lXbsd... (cached) no
checking for socket in -lsocket... (cached) no
checking for gethostbyname in -lnsl... (cached) yes
checking for dcgettext in -lintl... (cached) no
checking for getnodebyname in -ldnet_stub... (cached) no
checking that c++ can handle -O2... no
checking for tcl.h... -I../tcl8.0.4/generic
checking for libtcl8.0... -L../tcl8.0.4/unix -ltcl8.0
checking for init.tcl... /work/ns-allinone-2.1b6/ns-2.1b6/../tcl8.0.4/library
d is
checking for tclsh8.0.4... (cached) ../tclbox/bin/tclsh8.0
checking for tk.h... configure: error: NONE is not a directory
then i retyped "make",it still shows like before:
Makefile.in is newer than Makefile.
You need to re-run configure.
false
make: *** [Makefile] Error 1
how can i make the wfq patch work?
thanks for u warm heart.
Regard
JIN xiaohui