Re: [Ikvm-developers] undefined symbol: g_module_open
Brought to you by:
jfrijters
|
From: Jim R. <jr...@er...> - 2008-05-17 17:31:38
|
Jeroen, If you change this line in the native/native.build file: <exec program="/bin/bash" commandline="-c 'gcc -o libikvm-native.so --shared -fPIC `pkg-config --cflags gmodule-2.0` `pkg-config --libs gmodule-2.0` jni.c os.c'"/> adding `pkg-config --libs gmodule-2.0` it seems to resolve the problem. On FC8 everything seems to be working fine. On XScale I now have an java.lang.UnsatisfiedLinkError:.. librxtxSerial.so already loaded in another classloader.. but I assume that is just a configuration error since it doesn't show up on FC8. Jim Jeroen Frijters wrote: > Hi Jim, > > This is really way outstide of my area of expertise. Googling found this similar error on Ubuntu x64: > https://bugs.launchpad.net/ubuntu/+source/mono/+bug/220935 > > I would try asking on the Mono list. > > Regards, > Jeroen > >> -----Original Message----- >> From: ikv...@li... [mailto:ikvm- >> dev...@li...] On Behalf Of Jim Redman >> Sent: Friday, May 16, 2008 19:59 >> Cc: ikv...@li... >> Subject: [Ikvm-developers] undefined symbol: g_module_open >> >> Can anyone shed any light on this? We have code that uses RXTX, and so >> the RXTX native library. Code has been run through IKVMC. This is on >> Debian XScale (NSLU2). >> >> Mono Version: >> >> SweetSpace:/home/MIX_CMIX# mono -V >> Mono JIT compiler version 1.9.1 (tarball) Copyright (C) 2002-2007 >> Novell, Inc and Contributors. www.mono-project.com >> TLS: normal >> GC: Included Boehm (with typed GC) >> SIGSEGV: normal >> Notifications: epoll >> Architecture: arm >> Disabled: none >> >> >> ikvm-0.36.0.11 with the libikvm-native.so build for XScale. >> >> Running the application gets this error about the time in the >> application when I would expect the native library to be loaded. >> >> mono: symbol lookup error: /home/MIX_CMIX/libikvm-native.so: undefined >> symbol: g_module_open >> >> It seems this may be a problem with later versions of Mono, that is, I >> think that this problem does not exist with, say 1.2.6, but haven't >> confirmed that yet. >> >> Any thoughts? Ideas? >> >> Thanks, >> >> Jim >> >> -- >> Jim Redman >> (505) 662 5156 x85 >> http://www.ergotech.com >> >> ----------------------------------------------------------------------- >> -- >> This SF.net email is sponsored by: Microsoft Defy all challenges. >> Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> Ikvm-developers mailing list >> Ikv...@li... >> https://lists.sourceforge.net/lists/listinfo/ikvm-developers -- Jim Redman (505) 662 5156 x85 http://www.ergotech.com |