guile-devel
[Top][All Lists]
Advanced

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

Re: undefined reference to `scm_init_guile'


From: Neil Jerram
Subject: Re: undefined reference to `scm_init_guile'
Date: Sat, 11 Mar 2006 20:45:54 +0000
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

steven mestdagh <address@hidden> writes:

> Neil Jerram [2006-03-11, 18:43:17]:
>> 
>> Would you mind trying the program below on your system?  It may be
>> that on OpenBSD the pthread approach works for the main thread, and so
>> HAVE_LIBC_STACK_END isn't needed anyway.
>
> $ cc -pthread -o pthrt pthrt.c -lpthread 
> /tmp//ccd14895.o(.text+0x2c): In function `main':
> : undefined reference to `pthread_getattr_np'
>
> I don't really know much about threaded stuff, but you might want to
> check the man pages for OpenBSD's pthreads library:
> http://www.openbsd.org/cgi-bin/man.cgi?query=pthreads

Thanks.  It looks like it should just be "-pthread" in the compile
command instead of "-lpthread"; sorry about that.

        Neil





reply via email to

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