swarm-support
[Top][All Lists]
Advanced

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

Problems with binaries installation on Debian Linux


From: Benedikt Stefansson
Subject: Problems with binaries installation on Debian Linux
Date: Wed, 02 Apr 1997 16:00:38 -0800

Hi,

I'm sorry to dump a bunch of linker error code into the mailing-list,
but I had a bizarre experience trying to install the Swarm Linux
binaries on a Debian Linux box last night. I've never seen these type of
errors before. They are obviously related to GCC and the objc libs.
 
First a stupid question: Are the current Linux binaries compatible with
Debian? 
Secondly, could the fact that this box has gcc-2.7.2.1 be the source of
the conflict?

The box I am installing this on is a run of the mill Pentium Pro, with
all the newest Debian stuff installed (not always a good idea I know).

I'm including the part of the errors that start after the compile
process
reaches the link phase. In particular I was wondering if anybody could
tell me what all these complaints about 'objc_free' & 'objc_malloc'
where about, and also
the posix-thread stuff. 

Would it be wiser to downgrade to an earlier version of GCC and the objc
libraries
perhaps or is there something obviously missing in the installation?

Here goes the error sheet:

gcc -g -L/usr/local/swarm-1.0.1/lib
-L/usr/lib/gcc-lib/i486-linux/2.7.2.1 -L -L/include -L/include/objc
-L/usr/X11R6/lib -L/usr/X11R6/lib/X11  -o ProductSwarm God.o Firm.o
Consumer.o MarketSpace.o DemandSpace.o OfferSpace.o MarketData.o
OfferData.o PriceData.o DemandData.o ProductObserverSwarm.o DataFile.o
DistanceFunction.o ProductModelSwarm.o ProductBatchSwarm.o main.o 
/usr/local/swarm-1.0.1/lib/swarm.x -lobjc -lX11 -lm  
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(misc.o): In function
`objc_free':
misc.o(.text+0x1e0): multiple definition of `objc_free'
/usr/local/swarm-1.0.1/lib/swarm.x:/tmp/swarm-1.0.1/src/analysis/Entropy.m:60:
first defined here
ld: Warning: size of symbol `objc_free' changed from 4 to 18 in misc.o
ld: Warning: type of symbol `objc_free' changed from 1 to 2 in misc.o
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(misc.o): In function
`objc_malloc':
misc.o(.text+0xd0): multiple definition of `objc_malloc'
/usr/local/swarm-1.0.1/lib/swarm.x:/tmp/swarm-1.0.1/src/analysis/Entropy.m:57:
first defined here
ld: Warning: size of symbol `objc_malloc' changed from 4 to 47 in misc.o
ld: Warning: type of symbol `objc_malloc' changed from 1 to 2 in misc.o
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(misc.o): In function
`objc_atomic_malloc':
misc.o(.text+0x100): multiple definition of `objc_atomic_malloc'
/usr/local/swarm-1.0.1/lib/swarm.x:/tmp/swarm-1.0.1/src/analysis/Entropy.m:57:
first defined here
ld: Warning: size of symbol `objc_atomic_malloc' changed from 4 to 47 in
misc.o
ld: Warning: type of symbol `objc_atomic_malloc' changed from 1 to 2 in
misc.o
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(misc.o): In function
`objc_realloc':
misc.o(.text+0x160): multiple definition of `objc_realloc'
/usr/local/swarm-1.0.1/lib/swarm.x:/tmp/swarm-1.0.1/src/analysis/Entropy.m:59:
first defined here
ld: Warning: size of symbol `objc_realloc' changed from 4 to 51 in
misc.o
ld: Warning: type of symbol `objc_realloc' changed from 1 to 2 in misc.o
/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'
/usr/local/swarm-1.0.1/lib/swarm.x:/tmp/swarm-1.0.1/src/analysis/Entropy.m:59:
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
/usr/local/swarm-1.0.1/lib/swarm.x: In function `__objc_malloc':
/home/gepr/Swarm/support-libs/libtclobjc-1.1b6/objc-malloc.m:46:
undefined reference to `objc_fatal'
/usr/local/swarm-1.0.1/lib/swarm.x: In function `__objc_realloc':
/home/gepr/Swarm/support-libs/libtclobjc-1.1b6/objc-malloc.m:55:
undefined reference to `objc_fatal'
/usr/local/swarm-1.0.1/lib/swarm.x: In function `__objc_calloc':
/home/gepr/Swarm/support-libs/libtclobjc-1.1b6/objc-malloc.m:64:
undefined reference to `objc_fatal'
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
`__objc_init_thread_system':
thr-posix.o(.text+0x3b): undefined reference to `pthread_key_create'
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
`objc_thread_create':
thr-posix.o(.text+0x95): undefined reference to `pthread_create'
thr-posix.o(.text+0xa5): undefined reference to `pthread_detach'
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
`objc_thread_exit':
thr-posix.o(.text+0x125): undefined reference to `pthread_exit'
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
`objc_thread_set_data':
thr-posix.o(.text+0x14e): undefined reference to `pthread_setspecific'
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
`objc_thread_get_data':
thr-posix.o(.text+0x17a): undefined reference to `pthread_getspecific'
/usr/lib/gcc-lib/i486-linux/2.7.2.1/libobjc.a(thr-posix.o): In function
`objc_mutex_trylock':
thr-posix.o(.text+0x2b5): undefined reference to `pthread_mutex_trylock'

-- 
----------------
Benedikt Stefansson                 address@hidden
Center for Computable Economics     Tel. (310) 825-1777
Department of Economics, UCLA       Fax. (310) 825-9528
Los Angeles, CA 90095-1477          http://cce.sscnet.ucla.edu

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