[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation error/ARC link errors...
From: |
Fred Kiefer |
Subject: |
Re: Compilation error/ARC link errors... |
Date: |
Tue, 1 Aug 2017 08:33:32 +0200 |
> Am 01.08.2017 um 04:49 schrieb Gregory Casamento <address@hidden>:
>
> I'm getting the following with gcc, I don't have ARC turned on, obviously:
>
> ../Source/./obj/libgnustep-base.so: undefined reference to
> `objc_arc_autorelease_count_for_object_np'
>
> ../Source/./obj/libgnustep-base.so: undefined reference to
> `objc_autoreleasePoolPush'
>
> ../Source/./obj/libgnustep-base.so: undefined reference to
> `objc_arc_autorelease_count_np'
>
> ../Source/./obj/libgnustep-base.so: undefined reference to `objc_autorelease'
>
> ../Source/./obj/libgnustep-base.so: undefined reference to
> `objc_autoreleasePoolPop'
>
> ../Source/./obj/libgnustep-base.so: undefined reference to
> `_objc_class_for_boxing_foreign_exception’
Hi Greg,
could you please provide a bit more information? Which code are you compiling?
Master from GitHub?
Which compiler version are you using? gcc 6?
Which ObjC runtime are you using? And are the ObjC runtime headers the ones
from the runtime you link with?
And most important, are there any warnings from the compilation?
I would expect this to be caused by a mix up of ObjC runtimes. Perhaps left
over headers while you switched back to the gcc runtime.
Hope this helps,
Fred
- Re: Compilation error/ARC link errors...,
Fred Kiefer <=