www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/05/10/16:52:31

Xref: news2.mv.net comp.os.msdos.djgpp:3675
From: bl227 AT cleveland DOT Freenet DOT Edu (Richard Smol)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Difficulty with Objective-C
Date: 10 May 1996 18:21:44 GMT
Organization: Case Western Reserve University, Cleveland, OH (USA)
Lines: 28
Message-ID: <4n01fo$7l4@madeline.INS.CWRU.Edu>
References: <4mt51i$guq AT madeline DOT INS DOT CWRU DOT Edu>
Reply-To: bl227 AT cleveland DOT Freenet DOT Edu (Richard Smol)
NNTP-Posting-Host: kanga.ins.cwru.edu
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In a previous article, bl227 AT cleveland DOT Freenet DOT Edu (Richard Smol) says:

>
>Hello there,
>
>To try out the Objective-C portion of djgpp, I made a little test-file
>for it. It compiles just fine, only on linking I get these messages:
>
>test.m(.text+0x69): undefined reference to `objc_get_class'
>test.m(.text+0x74): undefined reference to `objc_msg_lookup'
>test.m(.text+0x97): undefined reference to `objc_msg_lookup'
>test.m(.text+0xb7): undefined reference to `objc_msg_lookup'
>test.m(.text+0xdd): undefined reference to `__objc_exec_class'
>test.m(.text+0xec): undefined reference to `__objc_class_name_Object'
>
>I don't get it. I installed everything just fine and link with -lobjc.a
>(if I don't I get an error about THAT...so). Djgpp works fine with C &
>C++ programs, but I haven't been able to make it work with Objective-C...
>the most interesting of the C-versions in my opinion.
>
Well, I made a typo there. I really just use -lobjc ... and it still
doesn't work.

Greetz,

RS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019