here it is ...Thank you very much.
>
> BUILD_NSE =
>
> all: $(NS) $(BUILD_NSE) $(NSTK) all-recursive Makefile
>
>
> all-recursive:
>         for i in $(SUBDIRS); do ( cd $$i; $(MAKE) all; ) done  (line 391)
>
>
>
>
> On Fri, Feb 12, 2010 at 10:04 PM, Sidney Doria <ssdo...@gmail.com> wrote:
>
>> I use NS on Linux, even in Windows I use a Virtualbox with Ubuntu.
>> This can be useful for you in the future, but being pragmatic,
>>
>> Is this make a gnu make?
>> What is in the "Makefile, line 391"?
>>
>> Sidney Doria
>> UFCG / BRAZIL
>>
>> 2010/2/12 Mohamed Ayed <mha...@gmail.com>:
>> >
>> > Please note that I am using Solaris 10.
>> >
>> > On Fri, Feb 12, 2010 at 1:41 AM, Mohamed Ayed <mha...@gmail.com> wrote:
>> >
>> >> Thank you for your quick reply.I am still getting the same error.
>> >>
>> >> 2010/2/11 archer.ling <archer.l...@163.com>
>> >>
>> >>
>> >>>
>> >>> 在2010-02-12 08:35:03,"Mohamed Ayed" <mha...@gmail.com> 写道:
>> >>> >
>> >>> >Hi All,
>> >>> >>
>> >>> >> I have ran the ./configure file and when try to build ns-2.34 using
>> the
>> >>> >> make I get "unexpected end of line " error message . I have checked
>> the
>> >>> >> problems web site and it pointed to "
>> >>> >> http://www-mash.cs.berkeley.edu/ns/ns-problems.html"; as a source
>> of
>> >>> >> solution but it is not responding. I would really appreciate it if
>> someone
>> >>> >> can help.
>> >>> >>
>> >>> >> Thanks
>> >>> >> Mohamed
>> >>> >>
>> >>> >> mohamedsun# ./configure
>> >>> >> checking for gcc... gcc
>> >>> >> checking for C compiler default output file name... a.out
>> >>> >> checking whether the C compiler works... yes
>> >>> >> checking whether we are cross compiling... no
>> >>> >> checking for suffix of executables...
>> >>> >> checking for suffix of object files... o
>> >>> >> checking whether we are using the GNU C compiler... yes
>> >>> >> checking whether gcc accepts -g... yes
>> >>> >> checking for gcc option to accept ISO C89... none needed
>> >>> >> checking how to run the C preprocessor... gcc -E
>> >>> >> checking for grep that handles long lines and -e...
>> /usr/sfw/bin/ggrep
>> >>> >> checking for egrep... /usr/sfw/bin/ggrep -E
>> >>> >> checking for ANSI C header files... yes
>> >>> >> checking for sys/types.h... yes
>> >>> >> checking for sys/stat.h... yes
>> >>> >> checking for stdlib.h... yes
>> >>> >> checking for string.h... yes
>> >>> >> checking for memory.h... yes
>> >>> >> checking for strings.h... yes
>> >>> >> checking for inttypes.h... yes
>> >>> >> checking for stdint.h... yes
>> >>> >> checking for unistd.h... yes
>> >>> >> checking minix/config.h usability... no
>> >>> >> checking minix/config.h presence... no
>> >>> >> checking for minix/config.h... no
>> >>> >> checking whether it is safe to define __EXTENSIONS__... yes
>> >>> >> No .configure file found in current directory
>> >>> >> Continuing with default options...
>> >>> >> checking build system type... sparc-sun-solaris2.10
>> >>> >> checking host system type... sparc-sun-solaris2.10
>> >>> >> checking target system type... sparc-sun-solaris2.10
>> >>> >> checking for gcc... (cached) gcc
>> >>> >> checking whether we are using the GNU C compiler... (cached) yes
>> >>> >> checking whether gcc accepts -g... (cached) yes
>> >>> >> checking for gcc option to accept ISO C89... (cached) none needed
>> >>> >> checking for g++... g++
>> >>> >> checking whether we are using the GNU C++ compiler... yes
>> >>> >> checking whether g++ accepts -g... yes
>> >>> >> checking for ANSI C header files... (cached) yes
>> >>> >> checking for string.h... (cached) yes
>> >>> >> checking for main in -lXbsd... no
>> >>> >> checking for socket in -lsocket... yes
>> >>> >> checking for gethostbyname in -lnsl... yes
>> >>> >> checking for dcgettext in -lintl... yes
>> >>> >> checking for getnodebyname in -ldnet_stub... no
>> >>> >> checking that g++ can handle -O2... no
>> >>> >> checking if C++ libraries work without any namespace... no
>> >>> >> checking if C++ libraries work with namespace std... yes
>> >>> >> checking if STL works without any namespace... no
>> >>> >> checking if STL works with namespace std... yes
>> >>> >> checking should use STL... yes
>> >>> >> checking for tcl.h... -I../include
>> >>> >> checking for tclInt.h... -I../include
>> >>> >> checking for libtcl8.4... -R../lib -L../lib -ltcl8.4
>> >>> >> checking for init.tcl... ../lib/tcl8.4
>> >>> >> checking for http.tcl... ../lib/tcl8.4/http1.0
>> >>> >> checking Tcl http.tcl library... yes
>> >>> >> checking for tclsh8.4.18... no
>> >>> >> checking for tclsh8.4... ../bin/tclsh8.4
>> >>> >> checking for tk.h... -I../include
>> >>> >> checking for libtk8.4... -R../lib -L../lib -ltk8.4
>> >>> >> checking for tk.tcl... ../lib/tk8.4
>> >>> >> checking for otcl.h... -I../otcl-1.13
>> >>> >> checking for libotcl1.13... -R../otcl-1.13 -L../otcl-1.13 -lotcl
>> >>> >> checking for tclcl.h... -I../tclcl-1.19
>> >>> >> checking for libtclcl... -R../tclcl-1.19 -L../tclcl-1.19 -ltclcl
>> >>> >> checking for tcl2c++... ../tclcl-1.19
>> >>> >> checking for X11 header files
>> >>> >> checking for X11 library archive
>> >>> >> checking for XOpenDisplay in -lX11... yes
>> >>> >> checking for XShmAttach in -lXext... yes
>> >>> >> checking for libtcldbg... no
>> >>> >> checking dmalloc... not requested with --with-dmalloc
>> >>> >> checking for perl... /usr/bin
>> >>> >> checking for ANSI C header files... (cached) yes
>> >>> >> checking arpa/inet.h usability... yes
>> >>> >> checking arpa/inet.h presence... yes
>> >>> >> checking for arpa/inet.h... yes
>> >>> >> checking fenv.h usability... yes
>> >>> >> checking fenv.h presence... yes
>> >>> >> checking for fenv.h... yes
>> >>> >> checking netinet/in.h usability... yes
>> >>> >> checking netinet/in.h presence... yes
>> >>> >> checking for netinet/in.h... yes
>> >>> >> checking for string.h... (cached) yes
>> >>> >> checking for strings.h... (cached) yes
>> >>> >> checking time.h usability... yes
>> >>> >> checking time.h presence... yes
>> >>> >> checking for time.h... yes
>> >>> >> checking for unistd.h... (cached) yes
>> >>> >> checking net/ethernet.h usability... no
>> >>> >> checking net/ethernet.h presence... no
>> >>> >> checking for net/ethernet.h... no
>> >>> >> checking for main in -lm... yes
>> >>> >> checking for bcopy... yes
>> >>> >> checking for bzero... yes
>> >>> >> checking for fesetprecision... no
>> >>> >> checking for feenableexcept... no
>> >>> >> checking for getrusage... yes
>> >>> >> checking for sbrk... yes
>> >>> >> checking for snprintf... yes
>> >>> >> checking return type of random... long
>> >>> >> checking for int8_t... yes
>> >>> >> checking for int16_t... yes
>> >>> >> checking for int32_t... yes
>> >>> >> checking for u_int8_t... no
>> >>> >> checking for u_int16_t... no
>> >>> >> checking for u_int32_t... no
>> >>> >> checking for u_char... yes
>> >>> >> checking for u_int... yes
>> >>> >> checking for strtoq... no
>> >>> >> checking for strtoll... yes
>> >>> >> checking size of long... 4
>> >>> >> checking for __int64_t... no
>> >>> >> checking for long long... yes
>> >>> >> checking for int64_t... yes
>> >>> >> checking which kind of 64-bit int to use... int64_t
>> >>> >> checking system version (for dynamic loading)... SunOS-5.10
>> >>> >> checking for dlopen in -ldl... yes
>> >>> >> checking dlfcn.h usability... yes
>> >>> >> checking dlfcn.h presence... yes
>> >>> >> checking for dlfcn.h... yes
>> >>> >> checking for ns library name... libns.so
>> >>> >> checking for struct ether_header... not found
>> >>> >> checking for struct ether_addr... not found
>> >>> >> checking for addr2ascii... no
>> >>> >> checking for Linux compliant tcphdr... not found
>> >>> >> checking for BSD compliant tcphdr... not found
>> >>> >> checking for socklen_t... yes
>> >>> >> checking for main in -lpcap... no
>> >>> >> checking to make nse... no
>> >>> >> Explicitly disabling static compilation
>> >>> >> checking for main in -ldl... yes
>> >>> >> checking for a BSD-compatible install... ./install-sh -c
>> >>> >> configure: creating ./config.status
>> >>> >> config.status: creating Makefile
>> >>> >> config.status: creating tcl/lib/ns-autoconf.tcl
>> >>> >> config.status: creating indep-utils/webtrace-conv/ucb/Makefile
>> >>> >> config.status: creating indep-utils/webtrace-conv/dec/Makefile
>> >>> >> config.status: creating indep-utils/webtrace-conv/nlanr/Makefile
>> >>> >> config.status: creating indep-utils/webtrace-conv/epa/Makefile
>> >>> >> config.status: creating indep-utils/cmu-scen-gen/setdest/Makefile
>> >>> >> config.status: creating autoconf.h
>> >>> >> config.status: autoconf.h is unchanged
>> >>> >> mohamedsun# ./make
>> >>> >> ./make: Command not found
>> >>> >> mohamedsun# make
>> >>> >> make: Fatal error in reader: Makefile, line 391: Unexpected end of
>> line
>> >>> >> seen
>> >>> >>
>> >>> YOU CAN TRY IT AT THE FOLLOWING SEQUENCE:
>> >>>
>> >>> ./configure
>> >>>
>> >>> make clean
>> >>>
>> >>> ./configure
>> >>>
>> >>> make
>> >>>
>> >>>
>> >>>
>> >>>
>> >>
>> >
>>
>>
>>
>> --
>> Sidney Doria
>> Redes ad hoc móveis
>> Doutorado em Computação
>> UFCG
>> Brasil
>>
>> "Nessa jornada, o conhecimento será o seu escudo..."
>> (Mestre dos Magos no episódio do grimoire de ouro)
>>
>
>

Reply via email to