[Ecls-list] failed to compile thread example on vc8

SANO Masatoshi snmsts at gmail.com
Fri Apr 20 12:09:46 UTC 2007


I got unresolved external symbol.
I could compile when undef CreateThread ,but
It seems not apropriate solution.
Could you teach me how to solve it?



C:\tmp\ecl\ecl>"\Program Files\cvsnt\cvs.exe" up
C:\tmp\ecl\ecl>cd msvc
C:\tmp\ecl\ecl\msvc>nmake ECL_THREADS=1
C:\tmp\ecl\ecl\msvc>nmake flatinstall prefix=c:\lisp\ecl

##set path to c:\tmp\ecl
##set include to c:\tmp\ecl\ecl
##edit ecl-cc.bat to fit the path

C:\tmp\ecl\ecl\examples\threads\import_win32>nmake msvc

Microsoft (R) Program Maintenance Utility Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

        ecl-cc --compile -c import.c
import.c
        ecl-cc --link -Feimport-msvc.exe import.obj
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for 80x86
Copyright (C) Microsoft Corporation.  All rights reserved.

Microsoft (R) Incremental Linker Version 8.00.50727.42
Copyright (C) Microsoft Corporation.  All rights reserved.

/out:import-msvc.exe
/nodefaultlib:libcmt
/nodefaultlib:libcmtd
/nodefaultlib:libc
/nodefaultlib:libd
c:/lisp/ECL/ecl.lib
import.obj
import.obj : error LNK2019: unresolved external symbol _GC_CreateThread referenc
ed in function _main
import-msvc.exe : fatal error LNK1120: 1 unresolved externals
        del /q import.obj

-- 
SANO Masatoshi
snmsts at gmail.com




More information about the ecl-devel mailing list