www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - How to run library unittest

reply yidabu <yidabu.nospam gmail.com> writes:
I tried run:
dsss build dwin --test
cause error, what's the means :

..\tango\lib\tango-user-dmd.lib(Locale)  Offset 60F2EH Record Type
0091
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale6__i
nitZ
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 60F5FH Record Type
0091
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale7__C
lassZ
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 60F8FH Record Type
0091
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale6__v
tblZ
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 617F5H Record Type
0091
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale12__ModuleI
nfoZ
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 617F7H Record Type
00C3
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale5_ct
orMFC5tango4text6locale4Core14IFormatServiceZC5tango4text6locale6Locale6Locale
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 61D1CH Record Type
00C3
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale7unk
nownMFAaAaC8TypeInfoPvZAa
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 61DE9H Record Type
00C3
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale7int
egerMFAalAaaZAa
..\tango\lib\tango-user-dmd.lib(Locale)  Offset 61E24H Record Type
00C3
 Error 1: Previous Definition Different : _D5tango4text6locale6Locale6Locale7flo
aterMFAaeAaZAa
dfl.lib(event)  Offset FFB2EH Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event9EventArgs2_eC3dfl5event9E
ventArgs
dfl.lib(event)  Offset FFC05H Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event9EventArgs6__initZ
dfl.lib(event)  Offset FFC2AH Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event9EventArgs7__ClassZ
dfl.lib(event)  Offset FFC4EH Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event9EventArgs6__vtblZ
dfl.lib(event)  Offset FFC88H Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event24ThreadExceptionEventArgs
6__initZ
dfl.lib(event)  Offset FFCBDH Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event24ThreadExceptionEventArgs
7__ClassZ
dfl.lib(event)  Offset FE67BH Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event24ThreadExceptionEventArgs
6__vtblZ
dfl.lib(event)  Offset FE69CH Record Type 0091
 Error 1: Previous Definition Different : _D3dfl5event12__ModuleInfoZ
dfl.lib(event)  Offset FE6D6H Record Type 00C3
 Error 1: Previous Definition Different : _D3dfl5event9EventArgs5emptyFZC3dfl5ev
ent9EventArgs
dfl.lib(event)  Offset FE90CH Record Type 00C3
 Error 1: Previous Definition Different : _D3dfl5event24ThreadExceptionEventArgs
5_ctorMFC6ObjectZC3dfl5event24ThreadExceptionEventArgs
dfl.lib(event)  Offset FE925H Record Type 00C3
 Error 1: Previous Definition Different : _D3dfl5event24ThreadExceptionEventArgs
9exceptionMFZC6Object
dfl.lib(event)  Offset FFB84H Record Type 00C3
 Error 1: Previous Definition Different : __D3dfl5event9__modctorFZv
dfl.lib(event)  Offset FFBA4H Record Type 00C3
 Error 1: Previous Definition Different : _D3dfl5event8__assertFiZv
dfl.lib(event)  Offset FFBDBH Record Type 00C3
 Error 1: Previous Definition Different : _D3dfl5event7__arrayZ
D:\d\dm\bin\..\lib\freeimage.lib
 Error 43: Not a Valid Library File
--- errorlevel 23
Command rebuild.exe returned with code -1, aborting.
Error: Command failed, aborting.


-- 
yidabu <yidabu.nospam gmail.com>
D语言 中文支持(D Chinese Support)
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/
Mar 13 2008
next sibling parent yidabu <yidabu.nospam gmail.com> writes:
rebuild -w -d -g -L-ldl -L-lz -debug=UnitTest -debug -full -clean -unittest
-version=UnitTest D:\path\to\dwin\text\*.d -dc=dmd-win-tango

anybody help?

.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D10TypeInfo_a6__initZ
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D11TypeInfo_Aa6__initZ
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __aaGetRvalue
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __adEq
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __d_array_bounds
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __d_assert
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __d_newclass
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D9ClassInfo6__vtblZ
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D6Object7__ClassZ
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D6object6Object8toStringMFZAa
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D6object6Object6toHashMFZk
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D6object6Object5opCmpMFC6ObjectZi
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D6object6Object8opEqualsMFC6ObjectZi
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __aaGet
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __adDupT
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __d_arraycatT
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __d_arrayappendT
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D9invariant12_d_invariantFC6ObjectZv
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D15TypeInfo_Struct6__vtblZ
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined __d_assert_msg
.\dwin-text-Properties.obj(dwin-text-Properties)
 Error 42: Symbol Undefined _D10ModuleInfo6__vtblZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined __d_throw 4
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined __d_arraycatnT
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D13TypeInfo_Enum6__vtblZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D14TypeInfo_Class6__vtblZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D14TypeInfo_Array6__vtblZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined __d_arrayappendcT
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D10TypeInfo_C6__initZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined __aaIn
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D14TypeInfo_Tuple6__vtblZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined __d_arraysetlengthT
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined __d_arraycopy
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D11TypeInfo_Ak6__initZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D10TypeInfo_k6__initZ
.\dwin-text-Regex.obj(dwin-text-Regex)
 Error 42: Symbol Undefined _D10TypeInfo_i6__initZ
.\dwin-text-Unicode.obj(dwin-text-Unicode)
 Error 42: Symbol Undefined _D20TypeInfo_StaticArray6__vtblZ
.\dwin-text-Unicode.obj(dwin-text-Unicode)
 Error 42: Symbol Undefined _D10TypeInfo_u6__initZ
.\dwin-text-Unicode.obj(dwin-text-Unicode)
 Error 42: Symbol Undefined _D10TypeInfo_w6__initZ
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined __d_arrayliteralT
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined __aaApply2
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined _D25TypeInfo_AssociativeArray6__vtblZ
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined __d_assocarrayliteralT
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined _D11TypeInfo_Au6__initZ
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined __d_arraysetlengthiT
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined __aaLen
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined _D5tango4core9Exception24IllegalArgumentException7__
ClassZ
.\dwin-text-Util.obj(dwin-text-Util)
 Error 42: Symbol Undefined _D5tango4core9Exception24IllegalArgumentException5_c
torMFAaZC5tango4core9Exception24IllegalArgumentException
.\tango-io-Buffer.obj(tango-io-Buffer)
 Error 42: Symbol Undefined _D11TypeInfo_Ah6__initZ
.\tango-io-Buffer.obj(tango-io-Buffer)
 Error 42: Symbol Undefined __d_newarrayT
.\tango-io-Buffer.obj(tango-io-Buffer)
 Error 42: Symbol Undefined _D5tango4core9Exception11IOException7__ClassZ
.\tango-io-Buffer.obj(tango-io-Buffer)
 Error 42: Symbol Undefined _D5tango4core9Exception11IOException5_ctorMFAaZC5tan
go4core9Exception11IOException
.\tango-io-Buffer.obj(tango-io-Buffer)
 Error 42: Symbol Undefined __d_interface_cast
.\tango-io-model-IConduit.obj(tango-io-model-IConduit)
 Error 42: Symbol Undefined _D16TypeInfo_Typedef6__vtblZ
.\tango-io-FilePath.obj(tango-io-FilePath)
 Error 42: Symbol Undefined __d_delclass
.\tango-io-FilePath.obj(tango-io-FilePath)
 Error 42: Symbol Undefined __d_framehandler
.\tango-time-Time.obj(tango-time-Time)
 Error 42: Symbol Undefined _D10TypeInfo_l6__initZ
.\tango-io-FileConduit.obj(tango-io-FileConduit)
 Error 42: Symbol Undefined _D10TypeInfo_h6__initZ
.\tango-io-Conduit.obj(tango-io-Conduit)
 Error 42: Symbol Undefined _D11TypeInfo_Ag6__initZ
.\tango-io-Conduit.obj(tango-io-Conduit)
 Error 42: Symbol Undefined __d_delarray
.\tango-text-convert-Utf.obj(tango-text-convert-Utf)
 Error 42: Symbol Undefined _D11TypeInfo_Aw6__initZ
.\tango-text-convert-Utf.obj(tango-text-convert-Utf)
 Error 42: Symbol Undefined _onUnicodeError
.\tango-io-GrowBuffer.obj(tango-io-GrowBuffer)
 Error 42: Symbol Undefined _D11TypeInfo_Av6__initZ
.\tango-text-convert-Integer.obj(tango-text-convert-Integer)
 Error 42: Symbol Undefined __memset16
.\tango-text-convert-Integer.obj(tango-text-convert-Integer)
 Error 42: Symbol Undefined __memset32
.\tango-util-Convert.obj(tango-util-Convert)
 Error 42: Symbol Undefined _D6object9Exception5_ctorMFAaC9ExceptionZC9Exception

.\tango-util-Convert.obj(tango-util-Convert)
 Error 42: Symbol Undefined _D6object9Exception8toStringMFZAa
.\tango-util-Convert.obj(tango-util-Convert)
 Error 42: Symbol Undefined _D9Exception7__ClassZ
.\tango-math-Math.obj(tango-math-Math)
 Error 42: Symbol Undefined __d_local_unwind2
.\tango-math-IEEE.obj(tango-math-IEEE)
 Error 42: Symbol Undefined _D10TypeInfo_s6__initZ
.\dwin-core-Array.obj(dwin-core-Array)
 Error 42: Symbol Undefined _D11TypeInfo_Ai6__initZ
.\dwin-core-Array.obj(dwin-core-Array)
 Error 42: Symbol Undefined __aaKeys
.\dwin-core-Array.obj(dwin-core-Array)
 Error 42: Symbol Undefined __aaValues
.\dwin-core-Exception.obj(dwin-core-Exception)
 Error 42: Symbol Undefined _D5tango4core9Exception13TextException5_ctorMFAaZC5t
ango4core9Exception13TextException
.\dwin-core-Exception.obj(dwin-core-Exception)
 Error 42: Symbol Undefined _D5tango4core9Exception13TextException7__ClassZ
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined __d_newarrayiT
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined __adSort
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined __d_dynamic_cast
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined __aaApply
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined __d_callfinalizer
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined _D11TypeInfo_Ab6__initZ
.\tango-text-Regex.obj(tango-text-Regex)
 Error 42: Symbol Undefined __d_arraycast
.\tango-io-Stdout.obj(tango-io-Stdout)
 Error 42: Symbol Undefined _D20TypeInfo_StaticArray7__ClassZ
.\tango-io-Stdout.obj(tango-io-Stdout)
 Error 42: Symbol Undefined _D25TypeInfo_AssociativeArray7__ClassZ
.\tango-io-Stdout.obj(tango-io-Stdout)
 Error 42: Symbol Undefined _D15TypeInfo_Struct7__ClassZ
.\tango-io-Stdout.obj(tango-io-Stdout)
 Error 42: Symbol Undefined _D13TypeInfo_Enum7__ClassZ
.\tango-io-Stdout.obj(tango-io-Stdout)
 Error 42: Symbol Undefined _D16TypeInfo_Typedef7__ClassZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D10TypeInfo_d6__initZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D10TypeInfo_b6__initZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D10TypeInfo_t6__initZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D11TypeInfo_At6__initZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D10TypeInfo_e6__initZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D10TypeInfo_m6__initZ
.\tango-text-convert-Layout.obj(tango-text-convert-Layout)
 Error 42: Symbol Undefined _D10TypeInfo_g6__initZ
.\tango-io-Console.obj(tango-io-Console)
 Error 42: Symbol Undefined __d_monitorenter
.\tango-io-Console.obj(tango-io-Console)
 Error 42: Symbol Undefined __d_monitorexit
.\tango-text-Unicode.obj(tango-text-Unicode)
 Error 42: Symbol Undefined __aApplywd1
.\tango-text-Unicode.obj(tango-text-Unicode)
 Error 42: Symbol Undefined __aApplycd1
.\tango-text-UnicodeData.obj(tango-text-UnicodeData)
 Error 42: Symbol Undefined __aaRehash
.\dwin-bridge-php-String.obj(dwin-bridge-php-String)
 Error 42: Symbol Undefined __d_switch_error
OPTLINK : Warning 134: No Start Address
--- errorlevel 99
Mar 14 2008
prev sibling next sibling parent lutger <lutger.blijdestijn gmail.com> writes:
Do these link errors only happen when running dsss with --test? Can you
build the library fine?
Mar 14 2008
prev sibling parent yidabu <yidabu.nospam gmail.com> writes:
On Fri, 14 Mar 2008 13:36:52 +0100
lutger <lutger.blijdestijn gmail.com> wrote:

 Do these link errors only happen when running dsss with --test? Can you
 build the library fine?
 

-- yidabu <yidabu.nospam gmail.com> D语言 中文支持(D Chinese Support) http://www.d-programming-language-china.org/ http://bbs.d-programming-language-china.org/ http://dwin.d-programming-language-china.org/ http://scite4d.d-programming-language-china.org/
Mar 14 2008