Mail Archives: djgpp/1996/05/10/16:52:31
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 -