swarm-support
[Top][All Lists]
Advanced

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

Need help compiling sample programs


From: Alan L. Liu
Subject: Need help compiling sample programs
Date: Wed, 1 Apr 1998 15:13:21 -0600 (CST)

Hi, I'm new to the Swarm scene and am having problems compiling any of the
sample apps in swarmapps-1.0.2.

The system I'm trying to compile them on is a Pentium-200MMX running Debian
Linux 1.3, using gcc 2.7.2.1.

This is the error I get when trying to compile the tutorial simpleCBug (all
the other samples give similar errors):

/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(misc.o): In function
`objc_calloc':
misc.o(.text+0x1a0): multiple definition of `objc_calloc'
/export/home/deb/swarm-1.0.5/lib/swarm.x:/tmp/swarm-1.0.5/src/space/Grid2d.m:32:
 first defined here
ld: Warning: size of symbol `objc_calloc' changed from 4 to 51 in misc.o
ld: Warning: type of symbol `objc_calloc' changed from 1 to 2 in misc.o
/export/home/deb/swarm-1.0.5/lib/swarm.x: In function `__objc_malloc':
/src/Swarm/tclobjc/objc-malloc.m:46: undefined reference to `objc_fatal'
/export/home/deb/swarm-1.0.5/lib/swarm.x: In function `__objc_realloc':
/src/Swarm/tclobjc/objc-malloc.m:55: undefined reference to `objc_fatal'
/export/home/deb/swarm-1.0.5/lib/swarm.x: In function `__objc_calloc':
/src/Swarm/tclobjc/objc-malloc.m:64: undefined reference to `objc_fatal'
^[[Cmake: *** [bug] Error 1
----

Any help is greatly appreciated. Thanks!

Alan Liu

                  ==================================
   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]