swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem running Java Swarm on FreeBSD


From: Horance Chou
Subject: Problem running Java Swarm on FreeBSD
Date: Wed, 24 May 2000 23:13:24 +0800

I've install Swarm 2.1.1 on my FreeBSD box (with some patch),
But, when i try to running jHeatbug, I got error messages:

#  javaswarm StartHeatbugs -b
/usr/local/lib/libjavaswarm.so: Undefined symbol "_activity_current"
(libjavaswarm.so)
Exception caught: no javaswarm in shared library path
java.lang.UnsatisfiedLinkError: initSwarm
        at StartHeatbugs.main(StartHeatbugs.java:15)

I've compared symbols of libjavaswarm on FreeBSD and libkaffeswarm on
Redhat Linux,
Nothing different beside the "GLIBC 2.1" related symbols.
(complete diffs are attached)

The Obj-C version applications an running perfectly on my BSD box.
I think that mean it's some kind of bug related to shared library
linking of FreeBSD,
which I can't do anything with it.

I noticed that libkaffeswarm.dll on Windows platform contains all
symbols of other libraries.
Maybe it's an "workaround" for the linking problem?
Please help me to build a shared library with all swarm symbols !


Horance Chou



--- symbols.RH6.s       Mon May 22 09:27:36 2000
+++ symbols.BSD.s       Mon May 22 09:27:27 2000
@@ -17,9 +17,8 @@
  T Java_swarm_SwarmEnvironment_setWindowGeometryRecordName
  T Java_swarm_SwarmEnvironment_xfprint
  T Java_swarm_SwarmEnvironment_xprint
- t Letext
  A _DYNAMIC
- T _GLOBAL_.I.Java_swarm_SwarmEnvironment_getCurrentSwarm
+ T _GLOBAL_$I$Java_swarm_SwarmEnvironment_getCurrentSwarm
  A _GLOBAL_OFFSET_TABLE_
  r _OBJC_CLASS_NAME_0
  r _OBJC_METH_VAR_NAME_0
@@ -37,22 +36,9 @@
  d _OBJC_MODULES
  d _OBJC_SELECTOR_TABLE
  d _OBJC_SYMBOLS
- ? __CTOR_END__
- ? __CTOR_LIST__
- ? __DTOR_END__
- ? __DTOR_LIST__
- ? __EH_FRAME_BEGIN__
- ? __FRAME_END__
- U ___brk_addr@@GLIBC_2.0
  A __bss_start
- U __curbrk@@GLIBC_2.0
- U __deregister_frame_info@@GLIBC_2.0
- t __do_global_ctors_aux
- t __do_global_dtors_aux
- U __environ@@GLIBC_2.0
- U __gmon_start__
+ t __gnu_compiled_objc
  U __objc_exec_class
- U __register_frame_info@@GLIBC_2.0
  U _activity_context_error
  U _activity_current
  U _createCompleteProbeDisplay
@@ -64,25 +50,12 @@
  ? _init
  U _initSwarm_
  U _obj_scratchZone
- U atexit@@GLIBC_2.0
- d completed.4
  U createArchivedCompleteProbeDisplayNamed
  U createArchivedProbeDisplayNamed
  U debugabort
  U defobj_init_java_call_tables
- t fini_dummy
- d force_to_data
- d force_to_data
- t frame_dummy
  t gcc2_compiled.
- t gcc2_compiled.
- t gcc2_compiled.
- t gcc2_compiled.
- t init_dummy
- t init_dummy
  U objc_msg_lookup
- b object.11
- d p.3
  U swarmGUIMode
  U swarm_directory_dump
  U swarm_directory_init

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]