18 messages in net.java.dev.jna.usersRe: [jna-users] Example not working o...
FromSent OnAttachments
Jain, Anant (GE Heathcare)Sep 4, 2007 1:19 am 
Timothy WallSep 4, 2007 4:33 am 
Timothy WallSep 4, 2007 5:06 am 
Wayne MeissnerSep 4, 2007 6:26 am 
Jain, Anant (GE Heathcare)Sep 4, 2007 10:50 pm 
Jain, Anant (GE Heathcare)Sep 4, 2007 10:51 pm 
Wayne MeissnerSep 4, 2007 11:38 pm 
Jain, Anant (GE Heathcare)Sep 6, 2007 2:49 am 
Timothy WallSep 6, 2007 11:16 am 
Jain, Anant (GE Heathcare)Sep 6, 2007 9:53 pm.txt
Timothy WallSep 7, 2007 3:50 am 
Jain, Anant (GE Heathcare)Sep 7, 2007 4:51 am 
Timothy WallSep 7, 2007 5:44 am 
Jain, Anant (GE Heathcare)Sep 10, 2007 1:29 am 
Wayne MeissnerSep 10, 2007 1:57 am 
Jain, Anant (GE Heathcare)Sep 10, 2007 5:03 am 
Jain, Anant (GE Heathcare)Sep 11, 2007 4:23 am 
Timothy WallSep 11, 2007 4:44 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 working on LinuxActions...
From:Timothy Wall (twal@dev.java.net)
Date:Sep 7, 2007 5:44:27 am
List:net.java.dev.jna.users

The libtool you posted has embedded CR characters, which can often make a unix shell program unhappy.

If you manually strip the CRs from the libtool file, it should run properly. Not sure how they got there in the first place, though; it's not likely an SVN issue since several other people have checked out and built on linux without any issues.

Was this checked out on windows onto a shared file system, or copied from a windows system?

On Sep 7, 2007, at 7:51 AM, Jain, Anant (GE Heathcare) wrote:

It's bash.. Ver: 3.00.16

The system is based on a customised version of Fedora Core (Not sure which one of 3 or 4)

Which shell should it be?

-----Original Message----- From: Timothy Wall [mailto:twal@dev.java.net] Sent: Friday, September 07, 2007 4:20 PM To: use@jna.dev.java.net Subject: Re: [jna-users] Example not working on Linux

what shell are you using, i.e. what shell is installed as /bin/sh? the error looks like the shell does not recognize "elif".

do /bin/sh --version

On Sep 7, 2007, at 12:53 AM, Jain, Anant (GE Heathcare) wrote:

-----Original Message----- From: Timothy Wall [mailto:twal@dev.java.net] Sent: Thursday, September 06, 2007 11:47 PM To: use@jna.dev.java.net Subject: Re: [jna-users] Example not working on Linux

This is not normal. Try a clean rebuild; it looks like the generated ./libtool script has been corrupted. If it happens again, post the generated ./libtool script.

== Tried again. Get the same error. Am attaching the libtool (present in the jnalib/build/native/libffi folder) with this email. I'm not sure why this is happening.

AJ <libtool.txt>