[Top][All Lists]

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

Re: GIT version: missing linking flag

From: Ludovic Courtès
Subject: Re: GIT version: missing linking flag
Date: Thu, 20 Jan 2011 22:01:55 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)


Hans Aberg <address@hidden> writes:

> On 20 Jan 2011, at 16:20, Ludovic Courtès wrote:
>>> In 'guile-config link', the flag '-lgc' is missing; it is needed when
>>> linking smobs. The function SCM_NEWSMOB calls
>>> GC_register_finalizer_no_order() in header gc.h
>> It shouldn’t be needed when libguile is a shared library, at least not
>> on ELF platforms where the shared library contains ‘NEEDED’ headers.
>> It is needed when libguile is static, but in that case you should use
>> ‘pkg-config guile-2.0 --libs --static’ (‘guile-config’ is deprecated.)
> The file gc.h says that it is only for Java implementations. But as
> noted above, it is called by SCM_NEWSMOB, so until it is taken away, - 
> lgc must be used, otherwise the linker will require it. My platform is
> otherwise Mac OS X; objective code format is Mach-O.

Can you post the exact link command line and error message?


reply via email to

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