Article View: gnu.gcc.help
Article #904symbol __objc_class_name_Object undefined
From: Chris Oei
Date: Thu, 28 Jan 1993 18:00
Date: Thu, 28 Jan 1993 18:00
51 lines
1612 bytes
1612 bytes
When I try to use gcc-2.3.3 on AIX 3.2, I got the following:
amnesia> gcc -c m.m
Assembler:
/tmp/ccUOMDM2.s: line 175: 1252-023 The symbol __objc_class_name_Object is not d
efined.
/tmp/ccUOMDM2.s: line 175: 1252-040 The specified expression is not valid.
Make sure that all symbols are defined.
Check the rules on symbols used in an arithmetic expression
concerning relocation.
The file in question is
#include <stdio.h>
#include <Object.h>
@interface A : Object {
int x;
}
- show;
@end
@implementation A : Object {
int x;
}
-show
{
printf("%d\n",x);
}
@end
I also got the same error using gcc-2.3.1 on SunOS 4.1
Anyone have any ideas what's wrong?
If anyone has gotten the objective-c part of gcc to work properly on either
machine, I'd be interested in hearing about it. At least I'd know there
exists some way of getting it to work.
Help!
(please?)
Thanks,
Chris
coei@oracle.com
Technical Details
Message-ID:
<1993Jan28.180049.20781@oracle.us.oracle.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!oracle!unrepliable!bounceShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!oracle!unrepliable!bounce
Newsgroups: gnu.gcc.help
From: coei@prodhp.us.oracle.com (Chris Oei)
Subject: symbol __objc_class_name_Object undefined
Message-ID: <1993Jan28.180049.20781@oracle.us.oracle.com>
Sender: usenet@oracle.us.oracle.com (Oracle News Poster)
Nntp-Posting-Host: prodhp
Organization: Oracle Corp., Redwood Shores CA
Date: Thu, 28 Jan 1993 18:00:49 GMT
X-Disclaimer: This message was written by an unauthenticated user
at Oracle Corporation. The opinions expressed are those
of the user and not necessarily those of Oracle.
Lines: 51