bug-guile
[Top][All Lists]
Advanced

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

Re: slib with guile 1.9.7


From: Ludovic Courtès
Subject: Re: slib with guile 1.9.7
Date: Fri, 12 Feb 2010 10:14:13 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Aubrey,

Aubrey Jaffer <address@hidden> writes:

>   libtool: link: gcc -std=gnu99 -Wall -Wmissing-prototypes 
> -Wdeclaration-after-statement -Wundef -Wswitch-enum -fvisibility=hidden -g 
> -O2 -o .libs/guile guile-guile.o  ./.libs/libguile.so -lgmp -lgc -lunistring 
> -lcrypt -lm -lltdl -Wl,-rpath -Wl,/usr/local/lib
>   ./.libs/libguile.so: undefined reference to `GC_local_malloc'
>   ./.libs/libguile.so: undefined reference to `GC_local_malloc_atomic'
>   collect2: ld returned 1 exit status

It looks as though some files were compiled with GC 6.x and its
‘GC_REDIRECT_TO_LOCAL’ hack and eventually linked with GC 7.x.
Can you make sure this isn’t the case?

In particular, what does ‘pkg-config bdw-gc --cflags --libs
--modversion’ return?  Does it correspond to what’s actually used at
compile- and link-time?

As a last resort, I’d recommend installing libgc from source.

Thanks,
Ludo’.




reply via email to

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