[MS XP SP2] Tcl 8.4.12 Build Problems using VC++ Express Edition
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.tcl archive

[MS XP SP2] Tcl 8.4.12 Build Problems using VC++ Express Edition

From: Markus Meng <meng.engineering@bluewin.ch>
Date: Sun Mar 26 2006 - 13:20:16 CEST

Hi all,

I just tried to build Tcl 8.4.12 on XP with the following steps :

1.) Installed VC++ Express Edition (free) Compiler from Microsoft
2.) The Microsoft PSDK Image for the WIN32 API Support

3.) Did some adaptions in order to Compile for WIN32 API and not for
.NET

4.) Loaded the VC++ V6 Project File from the ./win Subdirectory
and tried to build Tcl.

However I get the many errors. Any hint would be appreciated,
or maybe it is not possible to build Tcl with the free Toolset?

Markus

Tcl Build Log from XP SP2 using VC++ Express Edtion etc ...

------ Build started: Project: tcl, Configuration: Debug Static Win32 ------
Performing Makefile project actions
===============================================================================
cl : Command line warning D9002 : ignoring unknown option '-Op'
nul
*** Compiler has 'Optimizations'
cl : Command line warning D9002 : ignoring unknown option '-QI0f'
nul
*** Compiler has 'Pentium 0x0f fix'
LINK : warning LNK4001: no object files specified; libraries used
LINK : warning LNK4068: /MACHINE not specified; defaulting to X86
LINK : fatal error LNK1561: entry point must be defined
*** Linker has 'Win98 alignment problem'
*** Doing static
*** Doing symbols
*** Intermediate directory will be '.\Debug\tcl_Static'
*** Output directory will be '.\Debug'
*** Suffix for binaries will be 'sg'
*** Optional defines are ' -DSTATIC_BUILD'
*** Dependency rules are not being used.
  cl -nologo -c -W3 -YX -Fp.\Debug\tcl_Static\ -QI0f -Z7 -WX -Od -MTd
-I"..\win" -I"..\generic" -DTCL_PIPE_DLL=\"tclpip84sg.dll\"
-DSTATIC_BUILD -Fo.\Debug\tcl_Static\tclAppInit.obj ..\win\tclAppInit.c
cl : Command line warning D9002 : ignoring unknown option '-YX'
cl : Command line warning D9002 : ignoring unknown option '-QI0f'
tclAppInit.c
  rc -fo .\Debug\tcl_Static\tclsh.res -r -i "..\generic" -D__WIN32__ -d
DEBUG -d STATIC_BUILD ..\win\tclsh.rc
  cl -Z7 -WX -Od -nologo -c -W3 -YX -Fp.\Debug\tcl_Static\ -QI0f -Zl
-DSTATIC_BUILD -I"..\win" -I"..\generic"
-Fo.\Debug\tcl_Static\tclStubLib.obj ..\generic\tclStubLib.c
cl : Command line warning D9002 : ignoring unknown option '-YX'
cl : Command line warning D9002 : ignoring unknown option '-QI0f'
tclStubLib.c
  cl -nologo -c -W3 -YX -Fp.\Debug\tcl_Static\ -QI0f -Z7 -WX -Od -MTd
-I"..\win" -I"..\generic" -DTCL_PIPE_DLL=\"tclpip84sg.dll\"
-DSTATIC_BUILD -DBUILD_tcl -Fo.\Debug\tcl_Static\
@C:\DOKUME~1\MARKUS~1\LOKALE~1\Temp\nm3A9.tmp
cl : Command line warning D9002 : ignoring unknown option '-YX'
cl : Command line warning D9002 : ignoring unknown option '-QI0f'
regcomp.c
..\generic\regcomp.c(2169) : error C2220: warning treated as error - no
'object' file generated
..\generic\regcomp.c(2169) : warning C4996: 'sprintf' was declared
deprecated
         C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345)
: see declaration of 'sprintf'
         Message: 'This function or variable may be unsafe. Consider
using sprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
..\generic\regcomp.c(2171) : warning C4996: 'sprintf' was declared
deprecated
         C:\Programme\Microsoft Visual Studio 8\VC\include\stdio.h(345)
: see declaration of 'sprintf'
         Message: 'This function or variable may be unsafe. Consider
using sprintf_s instead. To disable deprecation, use
_CRT_SECURE_NO_DEPRECATE. See online help for details.'
regerror.c
..\generic\regerror.c(53) : error C2220: warning treated as error - no
'object' file generated
..\generic\regerror.c(53) : warning C4996: 'errcode' was declared deprecated
         C:\Programme\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
         Message: 'This name was supported during some Whidbey
pre-releases. Instead, use the standard name errno_t.'
..\generic\regerror.c(53) : error C2081: 'preg' : name in formal
parameter list illegal
..\generic\regerror.c(53) : error C2081: 'errbuf' : name in formal
parameter list illegal
..\generic\regerror.c(53) : error C2081: 'errbuf_size' : name in formal
parameter list illegal
..\generic\regerror.c(54) : warning C4028: formal parameter 2 different
from declaration
..\generic\regerror.c(54) : warning C4028: formal parameter 3 different
from declaration
..\generic\regerror.c(54) : warning C4028: formal parameter 4 different
from declaration
..\generic\regerror.c(54) : error C2055: expected formal parameter list,
not a type list
..\generic\regerror.c(54) : error C2082: redefinition of formal
parameter 'errcode'
..\generic\regerror.c(65) : warning C4996: 'errcode' was declared deprecated
         C:\Programme\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
         Message: 'This name was supported during some Whidbey
pre-releases. Instead, use the standard name errno_t.'
..\generic\regerror.c(65) : error C2059: syntax error : 'type'
..\generic\regerror.c(67) : warning C4552: '>=' : operator has no
effect; expected operator with side-effect
..\generic\regerror.c(67) : error C2143: syntax error : missing ';'
before ')'
..\generic\regerror.c(72) : error C2043: illegal break
..\generic\regerror.c(73) : error C2046: illegal case
..\generic\regerror.c(84) : error C2043: illegal break
..\generic\regerror.c(85) : error C2047: illegal default
..\generic\regerror.c(87) : error C2275: 'errcode' : illegal use of this
type as an expression
         C:\Programme\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
..\generic\regerror.c(92) : error C2275: 'errcode' : illegal use of this
type as an expression
         C:\Programme\Microsoft Visual Studio
8\VC\include\crtdefs.h(506) : see declaration of 'errcode'
..\generic\regerror.c(95) : error C2043: illegal break
..\generic\regerror.c(98) : error C2065: 'msg' : undeclared identifier
..\generic\regerror.c(98) : warning C4047: 'function' : 'const char *'
differs in levels of indirection from 'int'
..\generic\regerror.c(98) : warning C4024: 'strlen' : different types
for formal and actual parameter 1
..\generic\regerror.c(98) : error C2099: initializer is not a constant
..\generic\regerror.c(99) : error C2059: syntax error : 'if'
..\generic\regerror.c(108) : error C2059: syntax error : 'return'
..\generic\regerror.c(109) : error C2059: syntax error : '}'
Received on Sun Apr 30 02:49:04 2006