Another dwt-win / dmd / dsss build problem
dnewsgroup at billbaxter.com
Wed Feb 13 22:22:42 PST 2008
John Reimer wrote:
> Bill Baxter wrote:
>> I'm getting tons of warnings like this from the linker trying to
>> compile the controlexample:
>> Warning 148: USE16/USE32 Mismatch : _DATA
>> f:\usr\pkg\d\dsss\lib\\DD-dwt.lib(ImageLoaderEvent) Offset 1EA7CH
>> Record Type 0099
>> and some of these:
>> Error 42: Symbol Undefined __memset64
>> Error 42: Symbol Undefined
>> and then these:
>> Error 41: Unrecognized FIXUPP Type at Relative 001DDH from
>> Segment LOADER___SLRLOAD
>> FRAME = Frame of TARGET 00000H
>> TARGET = Segment LOADER___SLRLOAD 04000H
>> FIXUPP Type = 16-bit Offset
>> and then finally:
>> --- errorlevel 172
>> Command f:\usr\pkg\d\dsss\bin\rebuild.exe returned with code -1,
>> Error: Command failed, aborting.
>> Any idea what I'm doing wrong?
>> Here's the dsss.conf I made for the example:
>> debugflags +=-g -debug
>> buildflags +=-J.
>> buildflags +=-I../..
>> buildflags +=-S../../../dwt-win/lib
>> buildflags +=-L/SUBSYSTEM:windows:5
> I cannot reproduce this on my system. My Tango svn revision is 3157.
> Just out of curiosity, why do you activate the -J switch for dmd? It
> isn't necessary (unless you've customized something).
Why? Because ControlExample.d contains many of these:
cast(byte) import( "closedFolder.gif" ),
> At any rate, it does look like the age-old optlink is going berserk. It
> would be nice if we could get things working using an updated gdc (mingw).
I wouldn't use it unless it consistently tracked DMD features and bug
fixes with a lag of no more than 3 days.
More information about the Digitalmars-d-dwt