🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Chris Oei Thu, 28 Jan 1993 18:00
symbol __objc_class_name_Object undefined
#904
Author: Chris Oei
Date: Thu, 28 Jan 1993 18:00
51 lines
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads