I finally had a chance to track this problem down. It turns out that the
definition for LOCALE_RETURN_NUMBER is missing from winnls.h in the
Cygwin/MinGW w32api package. I've submitted a patch to mingw-patches that will
hopefully be accepted.
Stephen, I noticed your patch to src/syswindows.h from a couple of days to
correct this problem. I don't believe that this is the best solution because of
what I discovered above, but should probably be left in place until the problem
in winnls.h gets resolved.
I now have a functional 21.4.9 build for Cygwin, but I haven't spent much time
with it yet. I do know that it still exhibits the "freeze" problem when
switching virtual desktops that was discussed a few weeks ago, but this is
expected. I simply have not had the chance to research that yet, and I have no
particular reason to believe that I'll find anything Adrian didn't, but who
knows. Sometimes a different pair of eyes...
--Rick
--- Rick Rankin <rick_rankin(a)yahoo.com> wrote:
OK, next cygwin problem. Make fails with:
device-msw.c: In function `mswindows_handle_page_setup_dialog_box':
device-msw.c:872: `LOCALE_RETURN_NUMBER' undeclared (first use in this
function)
device-msw.c:872: (Each undeclared identifier is reported only once
device-msw.c:872: for each function it appears in.)
make[1]: *** [device-msw.o] Error 1
make[1]: Leaving directory `/pub/src/xemacs-21.4.9/src'
make: *** [src] Error 2
I didn't have much time to look at it, but it's related to NLS support. For
LOCALE_RETURN_NUMBER to be #defined in winnls.h (included from windows.h),
WINVER has to be #defined to a value >= 0x0400, meaning you have to be
running
NT 4.0 or greater. I'm trying to compile on Windows 2000, so that's not an
issue.
I hope to have more time to look at it tomorrow. If anyone already knows the
answer though...
Rick
--- "Stephen J. Turnbull" <stephen(a)xemacs.org> wrote:
> Sorry about the noise on -design, follow-ups set to xemacs-beta.
>
> >>>>> "Rick" == Rick Rankin <rick_rankin(a)yahoo.com>
writes:
>
> Rick> Well, for Cygwin there seems to be a file called
> Rick> lib-src/winclient.c missing from CVS.
>
> Yup. Thanks for the report!
>
> There's no ChangeLog for it, so I missed adding it to my branch.
>
> Rick> cvs co -r r21-4-9rc1 -d xemacs-21.4.9 xemacs
>
> You're right, I was wrong. Try it again, now.
>
>
>
> --
> Institute of Policy and Planning Sciences
>
http://turnbull.sk.tsukuba.ac.jp
> University of Tsukuba Tennodai 1-1-1 Tsukuba 305-8573
> JAPAN
> My nostalgia for Icon makes me forget about any of the bad things. I
don't
> have much nostalgia for Perl, so its faults I remember. Scott Gilbert
c.l.py
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com
__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com