Strange DSSS/Tango compile error
Robert Kosek
robert.kosek at thewickedflea.com
Wed Oct 15 08:11:13 PDT 2008
Hi all,
I'm writing a very simplistic RPG in D to learn the language, and my
Dice structure seems to have some kind of problem. All it does it wraps
dice rolls into a reusable wrapper.
Only, the compile is completely botched! Here's what happens:
> g> dsss build dice.d rpg.d
> dice.d => dice
> + C:\utils\dmd\dsss\bin\rebuild.exe -Idsss_imports\ -I. -S.\ -IC:\utils\dmd\dsss
> \include\d -SC:\utils\dmd\dsss\lib\ -IC:\utils\dmd\dsss\include\d -SC:\utils\dm
> d\dsss\lib -oqdsss_objs\D dice.d -ofdice
> OPTLINK (R) for Win32 Release 8.00.1
> Copyright (C) Digital Mars 1989-2004 All rights reserved.
> dsss_objs\D\rpg-dice.obj(rpg-dice)
> Error 42: Symbol Undefined _D10ModuleInfo6__vtblZ
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D9invariant12_d_invariantFC6ObjectZv
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined __d_newclass
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZi
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D6object6Object6toHashMFZk
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D6object6Object8toStringMFZAa
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D6Object7__ClassZ
> dsss_objs\D\tango-math-Random.obj(tango-math-Random)
> Error 42: Symbol Undefined _D9ClassInfo6__vtblZ
> OPTLINK : Warning 134: No Start Address
> --- errorlevel 9
> Command C:\utils\dmd\dsss\bin\rebuild.exe returned with code -1, aborting.
> Error: Command failed, aborting.
I get these errors whether I include tango.math.Rand or tango.math.Random.
I am using the latest copy of Easy D
(http://www.fsdev.net/versions/show/1) with DMD 1.030 and Tango 0.99.7;
I haven't used the other parts yet.
I've included the source so you can check it out yourself, just in case
I made an error. It's nothing special, and I'm getting no other errors
any longer.
Thanks in advance for any help you might have.
Robert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rpg.zip
Type: application/x-zip-compressed
Size: 711 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20081015/d898d483/attachment.bin>
More information about the Digitalmars-d-learn
mailing list