On 11/29/11 10:03 AM, Ben Short wrote: > Hi, > > I'm trying to compile TigerVNC revision 4819 on windows xp. > > Here is my cmake command: > > cmake -G "MinGW Makefiles" -DUSE_INCLUDED_ZLIB=1 -DENABLE_GNUTLS=OFF > -DJPEG_INCLUDE_DIR=c:\libjpeg-turbo-gcc\include > -DJPEG_LIBRARY=c:\libjpeg-turbo-gcc\lib\libjpeg.a > -DGNUTLS_INCLUDE_DIR=c:\gnutls\include > -DGNUTLS_LIBRARY="c:\gnutls\lib\libgnutls.a;c:\gnutls\lib\libgcrypt.a;c:\gnutls\lib\libtasn1.a;c:\gnutls\lib\libgpg-error.a" > c:\Development\nalps\tigervnc_trunk_export > > Which executes fine. When I execute make I get the following error: > > Scanning dependencies of target wm_hooks > [ 96%] Building CXX object > win/winvnc/CMakeFiles/wm_hooks.dir/__/wm_hooks/wm_hooks.cxx.obj > [ 96%] Building RC object > win/winvnc/CMakeFiles/wm_hooks.dir/__/wm_hooks/wm_hooks.rc.obj > Linking CXX shared library wm_hooks.dll > c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe: > c:\Development\nalps\tigervnc_trunk_export\win\wm_hooks\wm_hooks.def:4: > syntax error > c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe:c:\Development\nalps\tigervnc_trunk_export\win\wm_hooks\wm_hooks.def: > file format not recognized; treating as linker script > c:/mingw/bin/../lib/gcc/mingw32/4.6.1/../../../../mingw32/bin/ld.exe:c:\Development\nalps\tigervnc_trunk_export\win\wm_hooks\wm_hooks.def:1: > syntax error > collect2: ld returned 1 exit status > mingw32-make[2]: *** [win/winvnc/wm_hooks.dll] Error 1 > mingw32-make[1]: *** [win/winvnc/CMakeFiles/wm_hooks.dir/all] Error 2 > mingw32-make: *** [all] Error 2 > > Can anyone help me get this working please?
Hmmm... I've never seen that. Are you installing MinGW using mingw-get-inst? Also, which distribution of CMake are you using? ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d _______________________________________________ Tigervnc-users mailing list Tigervnc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tigervnc-users