12 messages in net.java.dev.jna.usersRe: [jna-users] Example not running o...
FromSent OnAttachments
Steve RamageMay 13, 2008 4:24 pm 
Timothy WallMay 13, 2008 5:05 pm 
Steve RamageMay 14, 2008 10:28 am 
Steve RamageMay 14, 2008 10:36 am 
Timothy WallMay 14, 2008 10:47 am 
Timothy WallMay 14, 2008 10:56 am 
Steve RamageMay 14, 2008 11:35 am 
Timothy WallMay 14, 2008 12:00 pm 
Steve RamageMay 14, 2008 1:51 pm 
Steve RamageMay 14, 2008 3:53 pm 
Steve RamageMay 14, 2008 6:03 pm 
Timothy WallMay 19, 2008 7:43 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] Example not running on Solaris 9 x86.Actions...
From:Timothy Wall (twal@dev.java.net)
Date:May 19, 2008 7:43:44 am
List:net.java.dev.jna.users

Hi Steve,

On May 14, 2008, at 9:03 PM, Steve Ramage wrote:

Hmmmm I seem to have gotten around the problem by temporarily switching out my ld and as for there gnu counterparts.

It seems that ‘make’ completes fine but when I try to run jna_src$../ ant/apache-ant-1.7.0/bin/ant dist test Buildfile: build.xml

-dynamic-properties: [echo] Java version: 1.5.0_15, compatibility: 1.4 [echo] JNA version 3.0, native API version 3.0

-setup:

compile:

javah: [apply] Result: 2

-native-api-check: [echo] Invalidating native code, new checksum is 2f77debd937e77ed38b31671529a755a

Nominally this is caused by changes to the JNI interface, but since you didn't make any, it's more likely that the generation of the checksum is failing, probably due to invalid GNU grep invocation. Sun grep takes different arguments, so "ggrep" is called instead on Sun, and it might be missing on your box. Look at the contents of the checksum file; it may be empty or contain the command error.