Cannot compile Fox toolkit on cygwin

Here is the info about the enviroment:
cygwin version 2.427
window 98
Fox-1.4.6

I did:
./configure --disable-shared
make

then I got:

FXApp.cpp:3293: warning: unused variable const FXchar*d' fxpriv.h: In functionFX::FXString FX::translateKeyEvent(unsigned int,
unsigned int, long int)’:
fxpriv.h:101: error: FX::ToUnicodeEx' is not a function, /usr/include/w32api/winuser.h:3737: error: conflict withint
ToUnicodeEx(unsigned int, unsigned int, BYTE*, WCHAR*, int, unsigned
int,
HKL__)’
FXApp.cpp:3737: error: in call to ToUnicodeEx' FXApp.cpp: In member functionvirtual long int
FX::FXApp::dispatchEvent(void
,
unsigned int, unsigned int, long int)’:
FXApp.cpp:4190: warning: int format, FXID arg (arg 3)
FXApp.cpp:4203: warning: int format, FXID arg (arg 3)

Somebody has some clues to deal with it?
Thanks in advance.

uncutstone

I change to Fox-1.2.16, and finish compilation and installation of Fox.
Then I start to compile FXRuby-1.2.6 on cygwin.
After uncompressed FXRuby-1.2.6.tar.gz, I run “ruby install.rb config”,
then I got some errors like this:

install.rb: entering config phase…
—> lib
—> lib/fox12
<— lib/fox12
<— lib
—> ext
—> ext/fox12
/usr/bin/ruby /home/software/FXRuby-1.2.6/ext/fox12/extconf.rb
D:\CYGWIN\BIN\RUBY.EXE (474495): *** couldn’t allocate memory
0x10000(4128768) for ‘D:\CYGWIN\BIN\CYGSSL-0.9.7.DLL’ alignment, Win32
error 8

769 [main] ruby 386639 sync_with_child: child 474495(0xF4) died 

before initialization with status code 0x1
826 [main] ruby 386639 sync_with_child: *** child state child
loading dlls
D:\CYGWIN\BIN\RUBY.EXE (467779): *** couldn’t allocate memory
0x10000(4128768) for ‘D:\CYGWIN\BIN\CYGSSL-0.9.7.DLL’ alignment, Win32
error 8

Somebody can give me some clues to deal with this?

Thanks in advance

uncutstone