Do you have the developer package installed (/Developer/SDKs/
MacOSX10.4u.sdk)? If not, the build might have to be tweaked to do a
non-universal build (I run from a ppc 10.4 to do universal builds).
Also try doing 'ant clean native', in case a previous configure was
interrupted. Since 10.5 is new, it's also possible Apple changed
something in the headers which now makes autoconf croak.
On Nov 26, 2007, at 7:00 PM, Tore Halset wrote:
Hello.
I am trying to build trunk on a Core Duo iMac with OS X 10.5.1 and
get the following error:
[exec] configure: error: C compiler cannot create executables
[exec] See `config.log' for more details.
[exec] checking for C compiler default output file name...
[exec] make: *** [/Users/halset/projects/ext/jna/svn/trunk/
jnalib/build/native/libffi/.libs/libffi_convenience.a] Error 77
configure:7234: gcc -c -g -O2 conftest.c >&5
conftest.c: In function 'main':
conftest.c:39: error: 'not' undeclared (first use in this function)
conftest.c:39: error: (Each undeclared identifier is reported only
once
conftest.c:39: error: for each function it appears in.)
conftest.c:39: error: syntax error before 'big'
.....
| int
| main ()
| {
| #if BYTE_ORDER != BIG_ENDIAN
| not big endian
| #endif
|
| ;
| return 0;
| }
Anyone know where to go from here?
Regards,
- Tore.