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

[ns] Error compiling ns-2.1b8a



Hi,

After having compiled static versions of Tcl/Tk (80p2), otcl-1.0a7 and
tclcl-1.0b11 successfully in Windows 2000, I experienced the following error
compiling ns-2.1b8a:





    cl -c -Ox -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_
WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -DSTATIC_
LIB
-Ox -Zm1000 -DNO_TK -Ic:\ns-allinone-2.1b8a\tk80p2\win -Ic:\ns-allinone-2.1b
8a\t
k80p2\generic -Ic:\ns-allinone-2.1b8a\tcl80p2\win -Ic:\ns-allinone-2.1b8a\tc
l80p
2\generic  -Ic:\ns-allinone-2.1b8a\otcl-1.0a7 -Ic:\ns-allinone-2.1b8a\tclcl-
1.0b
11  -Ic:\ns-allinone-2.1b8a\tk80p2\xlib  -I. -Id:\progra~1\micros~3\VC98\inc
lude
 -Fochannel.o -Tp channel.cc
channel.cc
wireless-phy.h(75) : error C2555: 'WirelessPhy::node' : overriding virtual
funct
ion differs from 'Phy::node' only by return type or calling convention
        phy.h(71) : see declaration of 'Phy'
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.

Have anyone else experienced the same error, or can someone give me a
suggestion to how I can overcome this error?

regards
Helge Gundersen
For the time being working with an NS2 project at The Hong Kong Polytechnic
University