More Cygwin breakage

Dmitry Timoshkov dmitry at baikal.ru
Thu Feb 19 01:20:31 CST 2004


"Steven Edwards" <steven_ed4153 at yahoo.com> wrote:

> comctl32.exp(.edata+0x6ac):fake: undefined reference to `f1'
> comctl32.exp(.edata+0x6b0):fake: undefined reference to `f2'
> comctl32.exp(.edata+0x6b4):fake: undefined reference to `f3'
> comctl32.exp(.edata+0x6b8):fake: undefined reference to `f4'
> comctl32.exp(.edata+0x6bc):fake: undefined reference to `f5'
> comctl32.exp(.edata+0x6c0):fake: undefined reference to `f6'
> comctl32.exp(.edata+0x6c4):fake: undefined reference to `f7'
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make: *** [comctl32.dll] Error 1

Apparently it's a bug in dlltool (or ld) which can't handle forwards
with NONAME modifier like this one:

DrawTextWrap at 20=user32.DrawTextW @415 NONAME

A workaround is to create a thunk in the code like it was done
before the following patch:

http://cvs.winehq.org/patch.py?id=11142

-- 
Dmitry.




More information about the wine-devel mailing list