building ntdll on cygwin
Alexandre Julliard
julliard at winehq.com
Wed Oct 9 14:27:36 CDT 2002
Steven Edwards <Steven_Ed4153 at yahoo.com> writes:
> we get much futher now when building ntdll on cygwin. when linking I
> am getting the following error
>
> ntdll.exp(.edata+0xe4c):fake: undefined reference to `NTDLL_alloca_probe at 0'
> ntdll.exp(.edata+0xe5c):fake: undefined reference to `NTDLL_chkstk at 0'
>
> there are some other warnings but this is the only major thing with ntdll.
This should fix it:
Index: tools/winebuild/spec32.c
===================================================================
RCS file: /opt/cvs-commit/wine/tools/winebuild/spec32.c,v
retrieving revision 1.52
diff -u -r1.52 spec32.c
--- tools/winebuild/spec32.c 15 Aug 2002 23:21:03 -0000 1.52
+++ tools/winebuild/spec32.c 9 Oct 2002 19:19:04 -0000
@@ -863,7 +863,7 @@
ORDDEF *odp = EntryPoints[i];
if (!odp) continue;
- if (odp->flags & FLAG_NOIMPORT) continue;
+ if (odp->flags & (FLAG_NOIMPORT|FLAG_REGISTER)) continue;
if (odp->type == TYPE_STUB) continue;
if (odp->name) name = odp->name;
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list