Another dwt-win / dmd / dsss build problem

John Reimer terminal.node at gmail.com
Wed Feb 13 22:17:23 PST 2008


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
> f:\usr\pkg\d\dsss\lib\\DD-dwt.lib(LEDataInputStream)
>  Error 42: Symbol Undefined 
> _D5tango4core9Exception20ArrayBoundsException7__ClassZ
> ---
> and then these:
> ---
> ...
> (NAPPLOAD)
>  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, aborting.
> Error: Command failed, aborting.
> ---
> 
> Any idea what I'm doing wrong?
> 
> Here's the dsss.conf I made for the example:
> 
> ---
> [ControlExample.d]
> debugflags +=-g -debug
> buildflags +=-J.
> buildflags +=-I../..
> buildflags +=-S../../../dwt-win/lib
> buildflags +=-L/SUBSYSTEM:windows:5
> ---
> 
> 
> --bb


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).

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).

-JJR


More information about the Digitalmars-d-dwt mailing list