4 messages in net.java.dev.jna.usersRe: [jna-users] building trunk on a mac
FromSent OnAttachments
Tore HalsetNov 26, 2007 3:59 pm 
Timothy WallNov 26, 2007 4:39 pm 
Wayne MeissnerNov 26, 2007 8:02 pm 
Timothy WallNov 27, 2007 6:11 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: [jna-users] building trunk on a macActions...
From:Timothy Wall (twal@dev.java.net)
Date:Nov 27, 2007 6:11:27 am
List:net.java.dev.jna.users

I get the same thing if I do

ant clean compile-tests -DSDKROOT=

I'll clean it up so it'll work properly non-universal.

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.