Hi Aubrey, Aubrey Jaffer <[email protected]> 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’.
