Im trying to build the jna from svn and i get the error:
Buildfile: C:\java\workspace\jna\build.xml
-dynamic-properties:
[echo] Java version: 1.6.0_05, compatibility: 1.4
[echo] JNA version 3.0.3, native API version 3.0.4
-setup:
compile:
javah:
-native-api-check:
:rsrc:
rsrc:
native:
[exec] Configuring libffi (x86)
[exec] checking build system type... i686-pc-cygwin
[exec] checking host system type... i686-pc-cygwin
[exec] checking target system type... i686-pc-cygwin
[exec] checking for a BSD-compatible install... /usr/bin/install -c
[exec] checking whether build environment is sane... yes
[exec] checking for gawk... gawk
[exec] checking whether make sets $(MAKE)... yes
[exec] checking for gcc... gcc -mno-cygwin
[exec] configure: error: C compiler cannot create executables
[exec] See `config.log' for more details.
[exec] make: ***
[../build/native/libffi/.libs/libffi_convenience.a] Error 77
[exec] checking for C compiler default output file name...
BUILD FAILED
C:\java\workspace\jna\build.xml:321: exec returned: 2
Total time: 25 seconds
Im using the current version from svn and a complete install of cygwin.