swarm-support
[Top][All Lists]
Advanced

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

More problems with Suse 6.1


From: Benedikt Stefansson
Subject: More problems with Suse 6.1
Date: Mon, 05 Jul 1999 20:48:55 +0200

I've been running Swarm on a machine installed from Suse 6.0 and had no
problems installing Swarm 1.4.1 there from the RedHat RPMs. Now a
machine with 6.1 is giving me grief. The recent thread on this was
inconclusive, I'm wondering if anybody has figured out what is the
problem here.

I've installed everything from RPMs on either the Suse CD-ROMs or the
Swarm 1.4.1 CD-ROM, made sure that I had tcl/tk 8.0, libffi, libxpm etc. 

The symptoms are as follows: I can compile heatbugs but the linker
provides warnings that all the Swarm library classes that are subclassed
from in the code have undefined type and size (see LISTING 1 below). The
app segfaults immediately when run in GUImode (i.e. the default) but can
run in batchmode without problems. This last part puzzles me, because it
indicates that the libraries are not out of whack with the libc,
libobjc, egcs compiler etc. that Suse installs (which was the gist of
the recent thread). GDB gives no trace since the app segfaults
immediately.

Any thoughts on how to fix this?

I've also included the output of ldd heatbugs in LISTING 2. 

-Benedikt


LISTING 1

gcc -c -Wno-import -Wno-protocol -g -O2 -fno-inline -D_GNU_SOURCE
-I/usr/include/swarm Heatbug.m   
gcc -c -Wno-import -Wno-protocol -g -O2 -fno-inline -D_GNU_SOURCE
-I/usr/include/swarm HeatSpace.m   
gcc -c -Wno-import -Wno-protocol -g -O2 -fno-inline -D_GNU_SOURCE
-I/usr/include/swarm main.m   
gcc -c -Wno-import -Wno-protocol -g -O2 -fno-inline -D_GNU_SOURCE
-I/usr/include/swarm HeatbugModelSwarm.m   
gcc -c -Wno-import -Wno-protocol -g -O2 -fno-inline -D_GNU_SOURCE
-I/usr/include/swarm HeatbugObserverSwarm.m   
gcc -c -Wno-import -Wno-protocol -g -O2 -fno-inline -D_GNU_SOURCE
-I/usr/include/swarm HeatbugBatchSwarm.m   
/bin/sh /usr/bin/libtool-swarm --mode link gcc -g -O2 -fno-inline
-L/usr/lib/swarm -rpath /usr/lib/swarm -L/usr/lib -rpath /usr/lib 
-L/usr/X11R6/lib -rpath /usr/X11R6/lib  -L/usr/lib/lib -L/usr/lib -rpath
/usr/lib  -L/usr/lib -rpath /usr/lib -L/usr/X11R6/lib  -o heatbugs
Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o
HeatbugBatchSwarm.o  -lspace -lanalysis -lsimtools -lsimtoolsgui
-ltkobjc -ltclobjc -lactivity -lrandom -lobjectbase -lcollections
-ldefobj -lmisc -lBLT -ltk8.0 -ltcl8.0 -lXpm -lpng  -lz -lffi -lX11  -lm
-lobjc -lpthread -ldl 
gcc -g -O2 -fno-inline -L/usr/lib/swarm -L/usr/lib -L/usr/X11R6/lib
-L/usr/lib/lib -L/usr/lib -L/usr/lib -L/usr/X11R6/lib -o heatbugs
Heatbug.o HeatSpace.o main.o HeatbugModelSwarm.o HeatbugObserverSwarm.o
HeatbugBatchSwarm.o -lspace -lanalysis -lsimtools -lsimtoolsgui -ltkobjc
-ltclobjc -lactivity -lrandom -lobjectbase -lcollections -ldefobj -lmisc
-lBLT -ltk8.0 -ltcl8.0 -lXpm -lpng -lz -lffi -lX11 -lm -lobjc -lpthread
-ldl -Wl,--rpath -Wl,/usr/lib/swarm -Wl,--rpath -Wl,/usr/lib -Wl,--rpath
-Wl,/usr/X11R6/lib -Wl,--rpath -Wl,/usr/lib -Wl,--rpath -Wl,/usr/lib
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_SwarmObject' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_ZoomRaster' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_GUISwarm' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_EmptyProbeMap' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_EZGraph' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Grid2d' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Object2dDisplay' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Value2dDisplay' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Swarm' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_ObjectLoader' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Diffuse2d' are not defined
/usr/i486-linux/bin/ld: warning: type and size of dynamic symbol
`__objc_class_name_Colormap' are not defined

LISTING 2

        libspace.so.2 => /usr/lib/swarm/libspace.so.2 (0x40000000)
        libanalysis.so.3 => /usr/lib/swarm/libanalysis.so.3 (0x40009000)
        libsimtools.so.3 => /usr/lib/swarm/libsimtools.so.3 (0x40015000)
        libsimtoolsgui.so.1 => /usr/lib/swarm/libsimtoolsgui.so.1 (0x4001e000)
        libtkobjc.so.4 => /usr/lib/swarm/libtkobjc.so.4 (0x40037000)
        libtclobjc.so.0 => /usr/lib/swarm/libtclobjc.so.0 (0x4007e000)
        libactivity.so.2 => /usr/lib/swarm/libactivity.so.2 (0x4008d000)
        librandom.so.1 => /usr/lib/swarm/librandom.so.1 (0x400ac000)
        libobjectbase.so.3 => /usr/lib/swarm/libobjectbase.so.3 (0x40116000)
        libcollections.so.2 => /usr/lib/swarm/libcollections.so.2 (0x40129000)
        libdefobj.so.2 => /usr/lib/swarm/libdefobj.so.2 (0x40155000)
        libmisc.so.1 => /usr/lib/swarm/libmisc.so.1 (0x4017a000)
        libBLT.so.2 => /usr/lib/libBLT.so.2 (0x40183000)
        libtk8.0.so => /usr/lib/libtk8.0.so (0x40204000)
        libtcl8.0.so => /usr/lib/libtcl8.0.so (0x402b4000)
        libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40328000)
        libpng.so.2 => /usr/X11R6/lib/libpng.so.2 (0x40338000)
        libz.so.1 => /usr/lib/libz.so.1 (0x40355000)
        libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40365000)
        libm.so.6 => /lib/libm.so.6 (0x40412000)
        libpthread.so.0 => /lib/libpthread.so.0 (0x4042c000)
        libdl.so.2 => /lib/libdl.so.2 (0x4043a000)
        libc.so.6 => /lib/libc.so.6 (0x4043e000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)

-- 
---
Present coordinates: 
Dep. of Economics, Univ. of Trento, Via Inama 1, 38100 Trento, ITALY
Off: +39 0461 882246/267875 Mob: +39 347 0415721 Fax: +39 0461 882222

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

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