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

[help] Urgent! Please help me...



Thank you for reading this message in advance.

I have a problem installing ns2.0b17 on my workstation.
First I tried to install Otcl. But I've found the
following error messages.

---------------------------------------------------------------------------

rm -f libotcl.so
gcc -o otclsh  -g -O -I. -I/user/rjh/ng/tcl7.6/generic
-I/usr/local/include -I/usr/X11R5/include otclAppInit.c \
-L. -lotcl -L/usr/local/lib -ltcl -ldl -lm
rm -f libotcl.so otcl.o so_locations
gcc -c -g -O -fpic -I. -I/user/rjh/ng/tcl7.6/generic
-I/usr/local/include -I/usr/X11R5/include otcl.c
In file included from
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_KL/2.7.2/include/limits.h:112,

                 from
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_KL/2.7.2/include/syslimits.h:7,

                 from
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_KL/2.7.2/include/limits.h:11,

                 from /user/rjh/ng/tcl7.6/generic/tclInt.h:41,
                 from otcl.c:21:
/usr/include/limits.h:21: warning: `MB_LEN_MAX' redefined
/usr/local/lib/gcc-lib/sparc-sun-sunos4.1.3_KL/2.7.2/include/stdlib.h:22:
warning: this is the location of the previous definition
/usr/local/sparc-sun-sunos4.1.3_KL/bin/as: unrecognized option `-k'
*** Error code 1
make: Fatal error: Command failed for target `libotcl.so'
----------------------------------------------------------------------------

If you may think the reason oh this fatal errors, please let me know the
solution.




P.S. For my computer congifuration, please confer the following.

-----------------------------------------------------------------------------

hanla:/user/rjh/ng/ns2.0b17/temp/otcl-0.96> configure
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for a BSD compatible install... (cached) /usr/bin/install -c
\nWhat directory is tclInt.h in?
/user/rjh/ng/tcl7.6/generic
\nWhat directory is the corresponding libtcl.a in?
/usr/local/lib
\nWhat directory is a compatible tk.h in?
/usr/local/include
\nWhat directory is the corresponding libtk.a in?
/usr/local/lib
checking how to run the C preprocessor... (cached) gcc -E
checking for X... (cached) libraries /usr/X11R5/lib, headers
/usr/X11R5/include
checking for sin... (cached) no
checking for -lieee... (cached) no
checking for -lXbsd... (cached) no
checking for connect... (cached) yes
checking for gethostbyname... (cached) yes
checking system version (for dynamic loading)... SunOS-4.1.3
creating ./config.status
creating Makefile
-----------------------------------------------------------------------------