13 messages in net.java.dev.jna.usersRe: [jna-users] Error looking up func...
FromSent OnAttachments
Peter SchwarzSep 5, 2008 12:47 pm 
Timothy WallSep 5, 2008 1:10 pm 
Peter SchwarzSep 5, 2008 1:14 pm 
Timothy WallSep 5, 2008 1:45 pm 
Peter SchwarzSep 5, 2008 1:56 pm 
Timothy WallSep 5, 2008 3:34 pm 
Peter SchwarzSep 5, 2008 4:25 pm 
Timothy WallSep 5, 2008 10:35 pm 
Peter SchwarzSep 8, 2008 10:43 am 
Timothy WallSep 10, 2008 9:58 am 
Timothy WallSep 10, 2008 10:02 am 
Timothy WallSep 10, 2008 10:07 am 
Peter SchwarzSep 10, 2008 1:45 pm 
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] Error looking up functionActions...
From:Timothy Wall (twal@dev.java.net)
Date:Sep 5, 2008 1:45:30 pm
List:net.java.dev.jna.users

On Sep 5, 2008, at 4:15 PM, Peter Schwarz wrote:

MacPorts usually puts stuff in /opt/local.

I suppose that means I'm using the shipped version with 10.5

What flags are you passing to nm, and which nm?

I called the following (using the default version in 10.5): nm -gmA libpython.dylib | grep InitModule

I get the same output, but JNA didn't complain about a missing symbol.

Naive question, but what's the beanshell? Is it a tool I could use to test thing?

http://www.beanshell.org

A shell that lets you type in java expressions. very small, nice for an embedded debug environment for Java programs.

bsh % addClassPath("<yours here>"); bsh % py = NativeLibrary.getInstance("python"); bsh % fun = py.getFunction("Py_InitModule4"); bsh % print(fun); native function Py_InitModule4(python)@0x1ba8bf80