Hello,
I am trying to compile LibVNCServer sources inside MSYS. I have Dev-C++ with Mingw inside, and use it with MSYS to compile. I run the configure script, and then tried to run make to compile it, but appeared several errors:
 
# make
chmod a+x libvncserver-config
make  all-recursive
make[1]: Entering directory `/d/vnc/lvncs'
Making all in .
make[2]: Entering directory `/d/vnc/lvncs'
source='main.c' object='main.o' libtool=no \
depfile='.deps/main.Po' tmpdepfile='.deps/main.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I.     -g -Wall -c `test -f main.c || echo './'`main.c
make[2]: Leaving directory `/d/vnc/lvncs'
make[1]: Leaving directory `/d/vnc/lvncs'
In file included from rfb/rfb.h:38
                     from main.c:13:
rfb/rfbproto.h:84: parse error before "rfbKeySym"
rfb/rfbproto.h:84: warning: type defaults to 'int' in declaration of 'rfbKeySym'
....
make: *** [all] Error 2
 
I suppose that I have to use Cygwin instead of MSYS (in the configure script says that it needs some utils). The creator of LibVNCServer said that he successfully compiled with Cyg... if anyone did it with MSYS I would gladly appreciate his help (i have to download complete Cyg pack, and i have slow connection... :(
 
Thx