[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] ns-allinone-2.1b8 installation problem



Hi,
  I install ns-allinone-2.1b8a in Sun Solaris2.8. But when installing NAM,
there are some problems.  Do someone konw how to slove this problem?
  Thank you in advance!
Deyun Gao


   > ./configure
loading cache ./config.cache
checking how to run the C preprocessor... (cached) cc -E
checking for ANSI C header files... (cached) yes
No .configure file found in current directory
Continuing with default options...
checking host system type... sparc-sun-solaris2.8
checking target system type... sparc-sun-solaris2.8
checking build system type... sparc-sun-solaris2.8
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 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... yes
checking standard STL is available... yes
checking for zlib.h... -I../zlib-1.1.3
checking for libz1.1.3... -R../zlib-1.1.3 -L../zlib-1.1.3 -lz
checking for X11 header files
grep: can't open conftest.out
checking for X11 library archive
checking for XOpenDisplay in -lX11... (cached) no
checking for libXext.a
checking for tcl.h... -I../include
checking for libtcl8.3... -R../lib -L../lib -ltcl8.3
checking for init.tcl... ../lib/tcl8.3
checking for tclsh8.3.2... (cached) ../bin/tclsh8.3
checking for tk.h... -I../include
checking for libtk8.3... -R../lib -L../lib -ltk8.3
checking for tk.tcl... ../lib/tk8.3
checking for libtcldbg... no
checking for otcl.h... -I../otcl-1.0a7
checking for libotcl1.0a7... -R../otcl-1.0a7 -L../otcl-1.0a7 -lotcl
checking for tclcl.h... -I../tclcl-1.0b11
checking for libtclcl... -R../tclcl-1.0b11 -L../tclcl-1.0b11 -ltclcl
checking for tcl2c++... ../tclcl-1.0b11
checking return type of random... long
checking for int8_t... (cached) yes
checking for int16_t... (cached) yes
checking for int32_t... (cached) yes
checking for u_int8_t... (cached) yes
checking for u_int16_t... (cached) yes
checking for u_int32_t... (cached) yes
checking for strtoq... (cached) yes
checking for strtoll... (cached) yes
checking size of long... (cached) 4
checking for __int64_t... no
checking for long long... yes
checking for int64_t... (cached) yes
checking which kind of 64-bit int to use... int64_t
checking for snprintf... (cached) yes
No explicit static compilation flag; setting V_STATIC to ""
checking for main in -ldl... (cached) yes
checking for a BSD compatible install... (cached) /usr/bin/install -c
creating ./config.status
creating Makefile
creating autoconf.h
autoconf.h is unchanged
> make
rm -f nam
c++   -o nam \
        tkcompat.o tkUnixInit.o xwd.o netview.o netmodel.o edge.o packet.o
node.o main.o  trace.o queue.o drop.o animation.o agent.o feature.o  route.o
transform.o paint.o state.o monitor.o anetmodel.o  random.o rng.o view.o
graphview.o netgraph.o tracehook.o lan.o psview.o group.o editview.o tag.o
address.o animator.o  wnetmodel.o nam_stream.o enetmodel.o testview.o parser.o
 trafficsource.o gen/version.o gen/nam_tcl.o  -R../tclcl-1.0b11
-L/export/home/dygao/ns-allinone-2.1b8/tclcl-1.0b11 -ltclcl -R../otcl-1.0a7
-L/export/home/dygao/ns-allinone-2.1b8/otcl-1.0a7 -lotcl -R../lib
-L/export/home/dygao/ns-allinone-2.1b8/lib -ltk8.3 -R../lib
-L/export/home/dygao/ns-allinone-2.1b8/lib -ltcl8.3 -R../zlib-1.1.3
-L/export/home/dygao/ns-allinone-2.1b8/zlib-1.1.3 -lz  -R/usr/openwin/lib
-L/usr/openwin/lib -lXext -lX11  -lnsl -ldl -ldl -lm -ldl
ld: fatal: file tkcompat.o: wrong machine type
ld: fatal: File processing errors. No output written to nam
collect2: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `nam'





--http://www.eyou.com
--�ȶ��ɿ�����ѵ�������  �����ʼ�  �ƶ���ǩ  ��������  ����洢...����δ��