[Ecls-list] build problem with MSVC++ 6.0

Konovalov, Vadim (Vadim)** CTR ** vadim.konovalov at alcatel-lucent.com
Wed Mar 10 11:26:58 UTC 2010


Hi,

I've read build instructions for visual C and got into build problem when following it:

C++ compiler flags: /EHsc /DGC_DLL /DGC_BUILD /nologo /D_CRT_SECURE_NO_DEPRECATE /DNDEBUG /MD /O2
C++ linker flags: /link /incremental:no /nologo /nodefaultlib:libcmt /nodefaultlib:libcmtd /nodefaultlib:libc /nodefaultlib:libcd /nodefaultlib:msvcrtd.lib
ECL Modules:  cmp asdf sockets rt defsystem profile
ECL Features: (cons :wants-profile (cons :wants-defsystem (cons :wants-rt (cons :wants-sockets (cons :wants-asdf (cons :wants-cmp (cons :wants-dlopen *features*)))))))
	cd gc
	NMAKE nodebug=1 ECL_THREADS=1 "CFLAGS_CONFIG=/DNDEBUG /MD /O2" gc.lib
	cl -Ox -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -D_X86_=1 -D_WINNT -D_WIN32_WINNT=0x0400 -D_WIN32_IE=0x0300 -DWINVER=0x0400 -DWIN32  -D_WIN32 -D_MT -MT /DNDEBUG /MD /O2 -Iinclude -I..\..\src\gc/libatomic_ops-1.2/src -D_CRT_SECURE_NO_WARNINGS -DGC_DLL -DGC_BUILD -DGC_WIN32_THREADS -DTHREAD_LOCAL_ALLOC -DLARGE_CONFIG -I..\..\src\gc\include ..\..\src\gc\msvc_dbg.c /Fomsvc_dbg.obj
msvc_dbg.c
..\..\src\gc\msvc_dbg.c(71) : error C2065: 'ULONG_PTR' : undeclared identifier
..\..\src\gc\msvc_dbg.c(71) : error C2146: syntax error : missing ')' before identifier 'dwAddress'
..\..\src\gc\msvc_dbg.c(71) : error C2198: 'VirtualQueryEx' : too few actual parameters
..\..\src\gc\msvc_dbg.c(73) : error C2143: syntax error : missing ';' before 'type'
..\..\src\gc\msvc_dbg.c(74) : error C2143: syntax error : missing ';' before 'type'
..\..\src\gc\msvc_dbg.c(75) : error C2275: 'DWORD' : illegal use of this type as an expression
        D:\MSVStudio\VC98\INCLUDE\windef.h(141) : see declaration of 'DWORD'
..\..\src\gc\msvc_dbg.c(75) : error C2146: syntax error : missing ';' before identifier 'size'
..\..\src\gc\msvc_dbg.c(75) : error C2065: 'size' : undeclared identifier
..\..\src\gc\msvc_dbg.c(75) : error C2065: 'filePath' : undeclared identifier
..\..\src\gc\msvc_dbg.c(75) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(75) : warning C4024: 'GetModuleFileNameA' : different types for formal and actual parameter 2
..\..\src\gc\msvc_dbg.c(78) : error C2065: 'curDir' : undeclared identifier
..\..\src\gc\msvc_dbg.c(78) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(78) : warning C4024: 'GetCurrentDirectoryA' : different types for formal and actual parameter 2
..\..\src\gc\msvc_dbg.c(79) : error C2065: 'exePath' : undeclared identifier
..\..\src\gc\msvc_dbg.c(79) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(79) : warning C4024: 'GetModuleFileNameA' : different types for formal and actual parameter 2
..\..\src\gc\msvc_dbg.c(82) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(82) : warning C4024: 'strcat' : different types for formal and actual parameter 1
..\..\src\gc\msvc_dbg.c(86) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(86) : warning C4024: 'SetCurrentDirectoryA' : different types for formal and actual parameter 1
..\..\src\gc\msvc_dbg.c(90) : warning C4047: ':' : 'int ' differs in levels of indirection from 'void *'
..\..\src\gc\msvc_dbg.c(90) : warning C4047: 'function' : 'char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(90) : warning C4024: 'SymLoadModule' : different types for formal and actual parameter 3
..\..\src\gc\msvc_dbg.c(90) : error C2146: syntax error : missing ')' before identifier 'memoryInfo'
..\..\src\gc\msvc_dbg.c(90) : error C2198: 'SymLoadModule' : too few actual parameters
..\..\src\gc\msvc_dbg.c(90) : error C2059: syntax error : ')'
..\..\src\gc\msvc_dbg.c(91) : warning C4047: 'function' : 'const char *' differs in levels of indirection from 'int '
..\..\src\gc\msvc_dbg.c(91) : warning C4024: 'SetCurrentDirectoryA' : different types for formal and actual parameter 1
..\..\src\gc\msvc_dbg.c(93) : error C2059: syntax error : 'return'
..\..\src\gc\msvc_dbg.c(94) : error C2059: syntax error : '}'
..\..\src\gc\msvc_dbg.c(158) : error C2146: syntax error : missing ';' before identifier 'stackFrame'
..\..\src\gc\msvc_dbg.c(170) : warning C4013: 'CheckAddress' undefined; assuming extern returning int
..\..\src\gc\msvc_dbg.c(251) : error C2146: syntax error : missing ';' before identifier 'dwOffset'
..\..\src\gc\msvc_dbg.c(251) : error C2065: 'dwOffset' : undeclared identifier



Best regards,
Vadim.



More information about the ecl-devel mailing list