[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Linker error: Do I have a duplicate class name?
From: |
Paul E Johnson |
Subject: |
Linker error: Do I have a duplicate class name? |
Date: |
Sat, 27 Jan 2001 10:39:07 -0600 |
I'm working to recode an older Swarm 1.05 program for the current Swarm.
It is a variant of Bank, for which I found a current version in Swarm
ftp (it compiles). I found many changes to make in the older code, but
I'm stumped by this error at the end of the compilation. What does it
mean?
FNet.o: In function `global constructors keyed to FNet.msaUsga':
/swarm/otherPeopleCode/LunaBook/Ch6/FNet.m:14: multiple definition of
`global constructors keyed to FNet.msaUsga'
FNet.o:/swarm/otherPeopleCode/LunaBook/Ch6/FNet.m:14: first defined here
FNet.o: In function `global constructors keyed to FNet.msaUsga':
/swarm/otherPeopleCode/LunaBook/Ch6/FNet.m:14: multiple definition of
`__objc_class_name_FNet'
FNet.o:/swarm/otherPeopleCode/LunaBook/Ch6/FNet.m:14: first defined here
The FNet class nothing, literally:
FNet.h:
#import <simtools.h>
#import <graph.h>
@interface FNet: DiGraph {
}
@end
FNet.m:
#import "FNet.h"
@implementation FNet
@end
--
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.
- Linker error: Do I have a duplicate class name?,
Paul E Johnson <=