[Bug 34586] wine complains that it can't find "%1.dll"

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Sep 24 17:40:52 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=34586

--- Comment #4 from Robert Dodier <robert.dodier at gmail.com> 2013-09-24 17:40:52 CDT ---
Patch referenced in the other bug report (namely
http://bugs.winehq.org/attachment.cgi?id=36637&action=diff) leads to compiler
error:

gcc -c -I. -I. -I../../include -I../../include  -D__WINESRC__ -D_NTSYSTEM_
-D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing
-Wdeclaration-after-statement -Wempty-body -Wignored-qualifiers
-Wstrict-prototypes -Wtype-limits -Wunused-but-set-parameter -Wwrite-strings
-Wpointer-arith -Wlogical-op -gdwarf-2 -gstrict-dwarf -fno-omit-frame-pointer 
-g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0  -o loader.o loader.c
loader.c: In function ‘LdrInitializeThunk’:
loader.c:2745:9: error: ‘nt’ undeclared (first use in this function)
loader.c:2745:9: note: each undeclared identifier is reported only once for
each function it appears in
make[1]: *** [loader.o] Error 1
make[1]: Leaving directory `/home/robert/tmp/wine-git/dlls/ntdll'
make: *** [dlls/ntdll] Error 2

There is no variable named 'nt' in LdrInitializeThunk, and I didn't see an
obvious way to allocate one. 

The patch doesn't apply cleanly -- I had to do some stuff by hand to apply it.
However, I didn't change anything about the stuff added/subtracted from
loader.c.

For the record I am working with wine-1.7.2 as retrieved from Git. The patch is
pretty old -- maybe someone has already merged it into Git somewhere? If so can
someone named the branch or commit in which it appears?

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list