discuss-gnustep
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "undefined reference to ’objc_msgSend’"


From: David Chisnall
Subject: Re: "undefined reference to ’objc_msgSend’"
Date: Thu, 4 Apr 2019 14:28:49 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1

On 04/04/2019 13:52, Scott Little wrote:
→    -L/usr/lib/gcc/x86_64-linux-gnu/7/libobjc.so \

This looks very much as if you are linking the old GCC libobjc, which doesn't provide an objc_msgSend implementation. If you wish to use this, then you must use -fobjc-runtime=gcc, not -fobjc-runtime=gnustep.

-fobjc-runtime=gnustep is not recommended without an explicit version (e.g. -fobjc-runtime=gnustep-2.0).

David



reply via email to

[Prev in Thread] Current Thread [Next in Thread]