Steven Edwards <Steven_Ed4153(a)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(a)0' ntdll.exp(.edata+0xe5c):fake: undefined reference to `NTDLL_chkstk(a)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(a)winehq.com