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

help!



Hi:

I am trying to compile tclcl-1.0a3 under win95.  (I have the binary version of ns-2.1b4, but i require node mobility for my simulations. So my understandin is I need to recompile ns source with the mobility feature.)

when i compiled tclcl-1.0a3, i got the following errors, can someone please help

	cl -c -Ox -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -Ox -Zm400  -Ic:\progra~1\devstudio\vc\include -I..\tk8.0\win -I..\tk8.0\generic -I..\tcl8.0\win -I..\tcl8.0\generic  -I..\otcl -I..\tclcl  -I..\tk8.0\xlib  -I./jpeg -I./p64 -I. -Fotcl2c++.o tcl2c++.c
tcl2c++.c
tcl2c++.c(137) : warning C4013: 'exit' undefined; assuming extern returning int
tcl2c++.c(147) : warning C4013: '_stricmp' undefined; assuming extern returning int
	erase ..\tclcl\tcl2c++.exe
	link  -LIBPATH:c:\progra~1\devstudio\vc\lib /NODEFAULTLIB /INCREMENTAL:NO /PDB:NONE /RELEASE /NOLOGO msvcrt.lib oldnames.lib kernel32.lib  wsock32.lib advapi32.lib -out:..\tclcl\tcl2c++.exe tcl2c++.o
	cl -c -Ox -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -D_DLL -MD -Ox -Zm400  -Ic:\progra~1\devstudio\vc\include -I..\tk8.0\win -I..\tk8.0\generic -I..\tcl8.0\win -I..\tcl8.0\generic  -I..\otcl -I..\tclcl  -I..\tk8.0\xlib  -I./jpeg -I./p64 -I. -FoTcl.o -Tp Tcl.cc
Tcl.cc
Tcl.cc(348) : error C2065: 'snprintf' : undeclared identifier
Tcl.cc(883) : warning C4003: not enough actual parameters for macro 'TOB'
Tcl.cc(884) : warning C4003: not enough actual parameters for macro 'TOB'
Tcl.cc(885) : warning C4003: not enough actual parameters for macro 'TOB'
Tcl.cc(886) : warning C4003: not enough actual parameters for macro 'TOB'
Tcl.cc(887) : warning C4003: not enough actual parameters for macro 'TOB'

Sid