Download Reference Manual
The Developer's Library for D
About Wiki Forums Source Search Contact

Building tango: "Fatal error: Unable to execute 'wlib'"

Moderators: kris

Posted: 02/18/08 23:19:18

Hi all,

When I trie to compile Tango on his SVN version, DSSS give me this error (I'm on Windows Vista) :

C:\Users\Florent\Desktop\D\Tango_SVN>dsss build
Creating imports for DD-tango-core

Creating imports for DD-tango-io

Creating imports for DD-tango-math

Creating imports for DD-tango-net

Creating imports for DD-tango-stdc

Creating imports for DD-tango-sys

Creating imports for DD-tango-text

Creating imports for DD-tango-text-locale

Creating imports for DD-tango-util

Creating imports for DD-tango-time

Creating imports for DD-tango-group

tango\core => DD-tango-core
Command: C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -expl
icit lib/common/tango/core/BitManip.d -Hftango/core/BitManip.di
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -explicit li
b/common/tango/core/BitManip.d -Hftango/core/BitManip.di
Command: C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -expl
icit lib/common/tango/core/Exception.d -Hftango/core/Exception.di
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -explicit li
b/common/tango/core/Exception.d -Hftango/core/Exception.di
Command: C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -expl
icit lib/common/tango/core/Memory.d -Hftango/core/Memory.di
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -explicit li
b/common/tango/core/Memory.d -Hftango/core/Memory.di
Command: C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -expl
icit lib/common/tango/core/Runtime.d -Hftango/core/Runtime.di
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -explicit li
b/common/tango/core/Runtime.d -Hftango/core/Runtime.di
Command: C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -expl
icit lib/common/tango/core/Thread.d -Hftango/core/Thread.di
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -obj -explicit li
b/common/tango/core/Thread.d -Hftango/core/Thread.di
Command:
+
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -Idsss_imports\ -
I. -S.\ -IC:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\include\d -SC:\Users\Flor
ent\Desktop\D\dsss-0.75-dmd-win\lib\  -IC:\Users\Florent\Desktop\D\dsss-0.75-dmd
-win\include\d -SC:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\lib  -oqdsss_objs\
D  -explicit -lib tango\core\Array.d tango\core\Atomic.d tango\core\BitArray.d t
ango\core\ByteSwap.d tango\core\Signal.d tango\core\sync\Barrier.d tango\core\sy
nc\Condition.d tango\core\sync\Config.d tango\core\sync\Mutex.d tango\core\sync\
ReadWriteMutex.d tango\core\sync\Semaphore.d tango\core\Traits.d tango\core\Tupl
e.d tango\core\Vararg.d tango\core\Variant.d tango\core\Version.d -ofDD-tango-co
re.lib
Open Watcom C/C++ LIB Clone for 386  Version 1.6
Portions Copyright (c) 1995-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
Warning: Ignoring invalid option 'c'
Warning: Ignoring invalid option 'p512'
DD-tango-core.lib

tango\io => DD-tango-io
+ C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe -Idsss_imports\ -
I. -S.\ -IC:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\include\d -SC:\Users\Flor
ent\Desktop\D\dsss-0.75-dmd-win\lib\  -IC:\Users\Florent\Desktop\D\dsss-0.75-dmd
-win\include\d -SC:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\lib  -oqdsss_objs\
D  -explicit -lib tango\io\archive\Zip.d tango\io\Buffer.d tango\io\compress\Bzi
pStream.d tango\io\compress\c\bzlib.d tango\io\compress\c\zlib.d tango\io\compre
ss\ZlibStream.d tango\io\Conduit.d tango\io\Console.d tango\io\DeviceConduit.d t
ango\io\digest\Crc32.d tango\io\digest\Digest.d tango\io\digest\Md2.d tango\io\d
igest\Md4.d tango\io\digest\Md5.d tango\io\digest\MerkleDamgard.d tango\io\diges
t\Sha0.d tango\io\digest\Sha01.d tango\io\digest\Sha1.d tango\io\digest\Sha256.d
 tango\io\digest\Sha512.d tango\io\digest\Tiger.d tango\io\File.d tango\io\FileC
onduit.d tango\io\FileConst.d tango\io\FilePath.d tango\io\FileRoots.d tango\io\
FileScan.d tango\io\FileSystem.d tango\io\GrowBuffer.d tango\io\MappedBuffer.d t
ango\io\model\IBuffer.d tango\io\model\IConduit.d tango\io\model\IListener.d tan
go\io\Print.d tango\io\protocol\Allocator.d tango\io\protocol\EndianProtocol.d t
ango\io\protocol\model\IProtocol.d tango\io\protocol\model\IReader.d tango\io\pr
otocol\model\IWriter.d tango\io\protocol\NativeProtocol.d tango\io\protocol\Pick
leProtocol.d tango\io\protocol\Reader.d tango\io\protocol\Writer.d tango\io\sele
ctor\AbstractSelector.d tango\io\selector\EpollSelector.d tango\io\selector\mode
l\ISelector.d tango\io\selector\PollSelector.d tango\io\selector\Selector.d tang
o\io\selector\SelectorException.d tango\io\selector\SelectSelector.d tango\io\St
dout.d tango\io\stream\BufferStream.d tango\io\stream\DataFileStream.d tango\io\
stream\DataStream.d tango\io\stream\DigestStream.d tango\io\stream\EndianStream.
d tango\io\stream\FileStream.d tango\io\stream\FormatStream.d tango\io\stream\Gr
eedyStream.d tango\io\stream\LineStream.d tango\io\stream\MapStream.d tango\io\s
tream\SnoopStream.d tango\io\stream\TextFileStream.d tango\io\stream\TypedStream
.d tango\io\stream\UtfStream.d tango\io\TempFile.d tango\io\UnicodeFile.d tango\
io\vfs\FileFolder.d tango\io\vfs\LinkedFolder.d tango\io\vfs\model\Vfs.d tango\i
o\vfs\VirtualFolder.d tango\io\vfs\ZipFolder.d -ofDD-tango-io.lib
Open Watcom C/C++ LIB Clone for 386  Version 1.6
Portions Copyright (c) 1995-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.
See http://www.openwatcom.org/ for details.
Warning: Ignoring invalid option 'c'
Warning: Ignoring invalid option 'p512'
The instruction at 0x6a00b36c referenced memory at 0x0026ffff.
The memory could not be read.
Exception fielded by 0x004042d0
EAX=0xffff31e8 EBX=0x322f320f ECX=0x33bdf341 EDX=0x00289c30
ESI=0x00270000 EDI=0x00014381 EBP=0x002c0038 ESP=0x0006fc64
EIP=0x6a00b36c EFL=0x00010216 CS =0x0000001b SS =0x00000023
DS =0x00000023 ES =0x00000023 FS =0x0000003b GS =0x00000000
Stack dump (SS:ESP)
0x322f320f 0x322f0000 0x322f322f 0x0000010d 0x0027ce18 0x00000000
0x00000066 0x00000063 0x00000000 0x322f320f 0x0002dfd6 0x6a004120
0x0000010d 0x6a027475 0x0027ce08 0x6a00b658 0x00000161 0x002c0038
0x00293610 0x002c0038 0x0000010d 0x002c0038 0x0000010d 0x6a00b725
0x00271d80 0x00021a00 0x0006fe78 0x00000000 0x00000000 0x00000000
0x00078c00 0x0006fd30 0x6a001d68 0x002b5801 0x00277538 0x6a0023c7
0x002b5838 0x00277538 0x0006fd04 0x6a003a97 0x696c775f 0x39393262
0x2424242e 0x00161e00 0x00000000 0x00000000 0x00000000 0x000002ef
0x00000000 0x00000000 0x00000000 0x00000000 0x00172bc0 0x00000000
0x0017f870 0x001600c4 0xc0000034 0x00000000 0x0017f870 0x0006fd84
0x7784523f 0x77845244 0x00060a2c 0x0017f870 0x00000000 0xc0000034
0x0006fd5c 0x0017f870 0x0006ff8c 0x777e8bf2 0x0017f870 0x00000002
Fatal error: Unable to execute 'wlib'
Command C:\Users\Florent\Desktop\D\dsss-0.75-dmd-win\bin\rebuild.exe returned wi
th code -1, aborting.
Error: Command failed, aborting.


TIA, TSalm

Author Message

Posted: 02/19/08 00:07:44

the D compiler is apparently incompatible with the OpenWatcom? librarian

Posted: 02/19/08 00:44:12

Oh, worth noting that Tango has pre-built binary bundles for Win32, including the dmd compiler and various config files (such as sc.ini) all ready to go. You simply unzip the package and set the PATH variable appropriately. Makes it much easier than trying to build everything, and might be of some value to you?

Posted: 02/19/08 08:12:49

Open Watcom ? Oups... I've just removed the env path of OpenWatcom? and now it's ok. Great!

Thanks!