swarm-support
[Top][All Lists]
Advanced

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

Re: __i_Object_s__drop undefined symbol


From: Paul Johnson
Subject: Re: __i_Object_s__drop undefined symbol
Date: Fri, 13 Dec 2002 09:12:55 -0600
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20020918

I think if you try the Swarm build without turning on the METHOD_FUNCTIONS flag, then this element should be ignored by the compiler. Once Swarm works without the METHOD_FUNCTIONS, then you could turn to the other problem. You don't say how your gcc is patched, but I suspect that if it is not patched for METHOD_FUNCTIONS, then you for sure need to build Swarm without that element.

pj

Perrone Alessandro wrote:
Hi all
Can anyone explain me how to "bypass" this error?
--
/usr/bin/ld: Undefined symbols:
__i_Object_s__drop
collect2: ld returned 1 exit status
make: *** [findImp] Error 1
----
here it is what I have understood.
1) The problem is defined into libDefObj and in particular to DefObject.m file.
The nm program says

[Alessandro-Perrones-Computer:swarm-2002-05-14/src/defobj] alex% nm -g DefObject.o | grep __i_Object_s__drop
         U __i_Object_s__drop
[Alessandro-Perrones-Computer:swarm-2002-05-14/src/defobj] alex%

2) the _i_Object_s_drop method is defined into the  macros.h

[Alessandro-Perrones-Computer:swarm-2002-05-14/src/defobj] alex% grep _i_Object_s__drop *.h macros.h:extern void _i_Object_s__drop (struct Object_s *, struct objc_selector *);
macros.h:#define DROP(obj) _i_Object_s__drop (obj, M(drop))
[Alessandro-Perrones-Computer:swarm-2002-05-14/src/defobj] alex%

3) It is strange, but in the defobject.m it is included the file macros.h

#import <defobj/macros.h>


So I do not understand why there's the error.
Any hints?
Regards.
                    ALEX

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




--
Paul E. Johnson                       email: address@hidden
Dept. of Political Science            http://lark.cc.ku.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]