[Vm-dev] Re: About new Cog update

Igor Stasenko siguctua at gmail.com
Sat Mar 19 00:26:04 UTC 2011


okay, im back on windoze and have a bit more progress with MT-enabled
build.. Almost there.. :)

Linking C executable results/Cog.exe
Creating library file: results/libCog.dll.a
Warning: resolving _Sleep by linking to _Sleep at 4
Use --enable-stdcall-fixup to disable these warnings
Use --disable-stdcall-fixup to disable these fixups
Warning: resolving _TlsGetValue by linking to _TlsGetValue at 4
Warning: resolving _TlsSetValue by linking to _TlsSetValue at 8
CMakeFiles/Cog.dir/objects.a(gcc3x-cointerpmt.c.obj): In function
`ownVMFromUnidentifiedThread':
c:/projects/cog/sig-cog/src/vm/gcc3x-cointerpmt.c:23058: undefined
reference to `ioMilliSleep'
CMakeFiles/Cog.dir/objects.a(sqWin32Intel.c.obj): In function
`printCrashDebugInformation':
c:/projects/cog/sig-cog/platforms/win32/vm/sqWin32Intel.c:958:
undefined reference to `ifValidWriteBackStackPointers'
collect2: ld returned 1 exit status
make[2]: *** [results/Cog.exe] Error 1
make[1]: *** [CMakeFiles/Cog.dir/all] Error 2
make: *** [all] Error 2


The ifValidWriteBackStackPointers already fixed (need to fetch your
latest SVN commit)

But not ioMilliSleep.. the only definition of it i found in Mac
OS/vm/sqPlatformSpecific.h:

#  define ioMilliSleep(ms) usleep((ms) * 1000)

but nowhere for win32 platform.


-- 
Best regards,
Igor Stasenko AKA sig.


More information about the Vm-dev mailing list