[Top][All Lists]

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

Re: trouble compiling guile

From: Waitman Gobble
Subject: Re: trouble compiling guile
Date: Wed, 29 Feb 2012 11:26:55 -0800 (PST)

Ludovic Court�s <address@hidden> wrote ..
> Hi,
> "Waitman Gobble" <address@hidden> skribis:
> > configure:42223: gcc -o conftest   -g -O2   conftest.c -lgc   -lcrypt -lm  
> > >&5
> > /usr/lib/libgc.a(pthread_support.o): In function `GC_pthread_create':
> > /usr/src/gnu/lib/gc/pthread_support.c:1565: undefined reference to 
> > `pthread_create'
> The problem here seems to be that libgc was somehow miscompiled: it
> should be built with thread support (use ‘--enable-threads’ when
> configuring it), and it should have libpthread as NEEDED and in its
> RPATH, which it apparently lacks.
> Can you check that?
> Thanks,
> Ludo’.

This is the configure line i used for gc

./configure --prefix=/usr --cplusplus --enable-threads=posix

maybe should have been

./configure --prefix=/usr --cplusplus --enable-threads=pth

I'm trying that now... then rebuilt guile. ( except i've already completely 
obliterated gcc4.2.1 on this machine.. now running 4.6.2 from source :) i'll 
catch it for sure on the next loop! )


Waitman Gobble
San Jose California USA

reply via email to

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