[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Re: Compiling otcl on Irix
After editing install script for gmake,
stucked at ns2 compilation :
Explicitly disabling static compilation
no dynamic load lib
checking for a BSD compatible install... ./install-sh -c
creating ./config.status
creating Makefile
creating tcl/lib/ns-autoconf.tcl
creating tcl/lib/ns-stl.tcl
creating indep-utils/webtrace-conv/ucb/Makefile
creating indep-utils/webtrace-conv/dec/Makefile
creating indep-utils/webtrace-conv/nlanr/Makefile
creating indep-utils/webtrace-conv/epa/Makefile
creating indep-utils/cmu-scen-gen/setdest/Makefile
creating autoconf.h
autoconf.h is unchanged
c++ -c -O2 -DTCP_DELAY_BIND_ALL -DNO_TK -DTCLCL_CLASSINSTVAR -DNDEBUG
-DIRIX6 -D_BSD_SIGNALS -DUSE_SHM -DHAVE_LIBTCLCL -DHAVE_TCLCL_H
-DHAVE_LIBOTCL1_0A6 -DHAVE_OTCL_H -DHAVE_LIBTK8_3 -DHAVE_TK_H
-DHAVE_LIBTCL8_3 -DHAVE_TCL_H -DHAVE_CONFIG_H -I.
-I/usr/ns-allinone-2.1b7a/tclcl-1.0b10 -I/usr/ns-allinone-2.1b7a/otcl-1.0a6
-I/usr/ns-allinone-2.1b7a/include -I/usr/ns-allinone-2.1b7a/include -o
linkstate/ls.o linkstate/ls.cc
In file included from config.h:283,
from scheduler.h:40,
from timer-handler.h:26,
from linkstate/ls.h:47,
from linkstate/ls.cc:39:
/usr/include/math.h:931: redefinition of `class exception'
/usr/freeware/lib/gcc-lib/mips-sgi-irix6.2/2.95.2/include/exception:18:
previous definition here
/usr/include/math.h:937: confused by earlier errors, bailing out
gmake: *** [linkstate/ls.o] Error 1
Ns make failed!
These points bother me alot :
Is it a conflict of c++ with gcc? Why does it call c++ instead of gcc.
I used Irix6.3, but it called Irix6.2 lib(?).
STATUS OF /usr/local/lib/gcc-lib
drwxr-xr-x 21 root sys 4096 Feb 26 20:34 ../
lrwxr-xr-x 1 root sys 35 Mar 21 1997 SYSCALLS.c.X ->
mips-sgi-irix5.3/2.6.3/SYSCALLS.c.X
lrwxr-xr-x 1 root sys 26 Mar 21 1997 cc1 ->
mips-sgi-irix5.3/2.6.3/cc1
lrwxr-xr-x 1 root sys 29 Mar 21 1997 cc1obj ->
mips-sgi-irix5.3/2.6.3/cc1obj
lrwxr-xr-x 1 root sys 30 Mar 21 1997 cc1plus ->
mips-sgi-irix5.3/2.6.3/cc1plus
lrwxr-xr-x 1 root sys 26 Mar 21 1997 cpp ->
mips-sgi-irix5.3/2.6.3/cpp
lrwxr-xr-x 1 root sys 30 Mar 21 1997 include ->
mips-sgi-irix5.3/2.6.3/include
lrwxr-xr-x 1 root sys 25 Mar 21 1997 ld ->
mips-sgi-irix5.3/2.6.3/ld
lrwxr-xr-x 1 root sys 31 Mar 21 1997 libgcc.a ->
mips-sgi-irix5.3/2.6.3/libgcc.a
lrwxr-xr-x 1 root sys 32 Mar 21 1997 libobjc.a ->
mips-sgi-irix5.3/2.6.3/libobjc.a
drwxr-xr-x 3 root sys 24 Feb 26 18:54 mips-sgi-irix6.2/
lrwxr-xr-x 1 root sys 16 Mar 31 1997 mips-sgi-irix6.3 ->
mips-sgi-irix5.3
lrwxr-xr-x 1 root sys 28 Mar 21 1997 specs ->
mips-sgi-irix5.3/2.6.3/specs
netmon 35# pwd
/usr/local/lib/gcc-lib
Thanks,
Lebong.
CSENet.
>From: Haobo Yu <haoboy@packetdesign.com>
>
>Makefile.in is used to generate Makefile so you wouldn't expect there is a
>setting of make in that file.
>
>you can (1) edit the install script to use gmake, or in your shell set an
>alias from gmake to make.
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.