Undefined Linking Symbols
Undefined Linking Symbols
- Subject: Undefined Linking Symbols
- From: email@hidden
- Date: Sun, 23 Jun 2002 19:34:55 +0900
Hi,
I'm trying to declare a global variable that happens to be both a struct
and an array to be used in my controller class, and another model class.
The compiler has no problems with the syntax, but upon linking I'm told,
"Undefined symbols: sqr".
This is the struct declaration:
typedef struct asqr {
int XorO;
int turnNum;
int odd;
NSString *mark;} asqrs;
And this is the declaration I'm using to make the struct global:
extern asqrs sqr[10];
This all worked fine when it was one file, but I thought it unwieldy,
and attempted to split it into two classes. I must be missing something
obvious, but can't see it. Can anyone help?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.