

![]() | Start a set with this search |
![]() | Include this search in one of my sets |
![]() | Exclude this search from one of my sets |
![]() | Permalink to these results Paste this link in email or IM: |
| Atom feed for tracking future search results Paste this URL into your reader: |
18 messages in net.java.dev.jna.usersRE: [jna-users] Example not working o...| From | Sent On | Attachments |
|---|---|---|
| Jain, Anant (GE Heathcare) | Sep 4, 2007 1:19 am | |
| Timothy Wall | Sep 4, 2007 4:33 am | |
| Timothy Wall | Sep 4, 2007 5:06 am | |
| Wayne Meissner | Sep 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 Meissner | Sep 4, 2007 11:38 pm | |
| Jain, Anant (GE Heathcare) | Sep 6, 2007 2:49 am | |
| Timothy Wall | Sep 6, 2007 11:16 am | |
| Jain, Anant (GE Heathcare) | Sep 6, 2007 9:53 pm | .txt |
| Timothy Wall | Sep 7, 2007 3:50 am | |
| Jain, Anant (GE Heathcare) | Sep 7, 2007 4:51 am | |
| Timothy Wall | Sep 7, 2007 5:44 am | |
| Jain, Anant (GE Heathcare) | Sep 10, 2007 1:29 am | |
| Wayne Meissner | Sep 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 Wall | Sep 11, 2007 4:44 am |

![]() | Permalink for this message Paste this link in email or IM: |
![]() | Permalink for this thread 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 Linux | Actions... |
|---|---|---|
| From: | Jain, Anant (GE Heathcare) (anan...@ge.com) | |
| Date: | Sep 6, 2007 2:49:23 am | |
| List: | net.java.dev.jna.users | |
-----Original Message----- From: Wayne Meissner [mailto:wmei...@gmail.com] Sent: Wednesday, September 05, 2007 12:09 PM To: use...@jna.dev.java.net Subject: Re: [jna-users] Example not working on Linux
Jain, Anant (GE Heathcare) wrote:
What version of glibc does your distro use?
2.3.6-x
Did you rebuild JNA, or just use the jar files in dist/ ?
I am using the jar files in the dist..
If it has an older version like glibc-2.3 then you may need to rebuild jna (run "ant dist") so it runs on your system.
I am assuming that I have to get the source from the svn/version control? Or is there a stable source repo?
Yep, just follow the instructions on jna.dev.java.net on how to checkout, then run "ant clean dist" in the jnalib directory.
After that runs, use the resulting dist/jna.jar file.
So I tried to build from the source but I get this error during the make phase:
==
[exec] make[2]: Entering directory `/home/jnalib/build/native/libffi' [exec] Making all in include [exec] 'cat: /home/jnalib/native/libffi/../gcc/BASE-VER: No such file or directory [exec] make[3]: Entering directory `/home/jnalib/build/native/libffi/include' [exec] make[3]: Nothing to be done for `all'. [exec] make[3]: Leaving directory `/home/jnalib/build/native/libffi/include' [exec] Making all in testsuite [exec] make[3]: Entering directory `/home/jnalib/build/native/libffi/testsuite' [exec] make[3]: Nothing to be done for `all'. [exec] make[3]: Leaving directory `/home/jnalib/build/native/libffi/testsuite' [exec] make[3]: Entering directory `/home/jnalib/build/native/libffi' [exec] depbase=`echo src/debug.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`; \ [exec] if /bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I/home/jnalib/native/libffi -I. -I. -I/home/jnalib/native/libffi/include -Iinclude -I/home/jnalib/native/libffi/src -Wall -g -fexceptions -g -O2 -MT src/debug.lo -MD -MP -MF "$depbase.Tpo" -c -o src/debug.lo /home/jnalib/native/libffi/src/debug.c; \ [exec] then mv -f "$depbase.Tpo" "$depbase.Plo"; else rm -f "$depbase.Tpo"; exit 1; fi [exec] ./libtool: line 359: [exec] : command not found./libtool: line 364: syntax error near unexpected token `elif' [exec] ./libtool: line 364: `elif test "X$1" = X--fallback-echo; then [exec] 'make[3]: *** [src/debug.lo] Error 1 [exec] make[3]: Leaving directory `/home/jnalib/build/native/libffi' [exec] make[2]: *** [all-recursive] Error 1 [exec] make[2]: Leaving directory `/home/jnalib/build/native/libffi' [exec] make[1]: Leaving directory `/home/jnalib/build/native/libffi' [exec] make[1]: *** [all] Error 2 [exec] make: *** [/home/jnalib/build/native/libffi/.libs/libffi_convenience.a] Error 2
==
Is it something wrong with the build script or am I doing something wrong?
AJ








.txt