[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
__i_Object_s__drop undefined symbol
From: |
Perrone Alessandro |
Subject: |
__i_Object_s__drop undefined symbol |
Date: |
Fri, 13 Dec 2002 12:32:59 +0100 |
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.
- __i_Object_s__drop undefined symbol,
Perrone Alessandro <=