swarm-support
[Top][All Lists]
Advanced

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

Re: ld warnings


From: Paul Johnson
Subject: Re: ld warnings
Date: Wed, 06 Oct 1999 14:28:08 -0500

"Marcus G. Daniels" wrote:
> 
> SJ> So far so good,  however I now get these warnings when trying to compile
> SJ> an application.
> 
> SJ> usr/bin/ld: warning: type and size of dynamic symbol
> SJ> `__objc_class_name_SwarmObject' are not defined
> 
> To make these warnings go away, there is a compiler patch to gcc 2.95.
> (The various Swarm RPMs are built using this patched GCC, so these symptoms
> don't occur with them.)
> 
> ftp://ftp.santafe.edu/pub/swarm/needed-software/diffs/objc.diff
> 
> These warnings won't hurt anything, though.   (The Online FAQ should literally
> show these symptoms, but unfortunately it does not.)
> 
New Entry, with capital letters, so in the future you can answer these
with confidence by saying "see the FAQ":

2.2 Big Ugly GCC/Egcs warnings when compiling Swarm applications  
(28/09/99 Paul Johnson <address@hidden>) 

Question: I compile my swarm application and I see this kind of warning.
They happen when my application runs too: 

usr/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_SwarmObject' are not defined 

/usr/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_ZoomRaster' are not defined 

/usr/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_CustomProbeMap' are not define 

/usr/bin/ld: warning: type and size of dynamic symbol 
`__objc_class_name_GUISwarm' are not defined 

ANSWER. These are annoying but harmless errors that are caused by a
little glitch in the objective-c compiler in the gcc project (which some
systems have installed as egcs). On the SFI web site there is a patch
for this that users can apply to gcc and recompile it. Then recompile
swarm itself.  Look here:
ftp://ftp.santafe.edu/pub/swarm/required-software/diffs/objc.diff
RPMs compiled with this patched compiler will not give this error
message either.  If you use such an RPM, there is no need to patch your
gcc.


I should add that when I last checked, the i386 RPMs at SFI were not
built with a patched compiler, but they may be at this time. THe RPMS I
offer for i586 and i686 machines are built with a patched gcc.
-- 
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ukans.edu/~pauljohn
University of Kansas                  Office: (785) 864-9086
Lawrence, Kansas 66045                FAX: (785) 864-5700

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