From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neil Jerram Newsgroups: gmane.lisp.guile.devel Subject: Re: undefined reference to `scm_init_guile' Date: Sat, 11 Mar 2006 20:45:54 +0000 Message-ID: <87fylor9q5.fsf@ossau.uklinux.net> References: <87u0a7tfex.fsf@ossau.uklinux.net> <20060310064102.GA11885@esat.kuleuven.be> <87veumvtls.fsf@ossau.uklinux.net> <20060310222332.GA23867@esat.kuleuven.be> <87k6b1x6r7.fsf@ossau.uklinux.net> <20060310230103.GA12731@esat.kuleuven.be> <87r758rfei.fsf@ossau.uklinux.net> <20060311190247.GA21246@esat.kuleuven.be> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1142110250 11033 80.91.229.2 (11 Mar 2006 20:50:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 11 Mar 2006 20:50:50 +0000 (UTC) Cc: Guile Development Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Mar 11 21:50:48 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FIB2z-0005hi-Uh for guile-devel@m.gmane.org; Sat, 11 Mar 2006 21:50:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIB2z-00077L-CB for guile-devel@m.gmane.org; Sat, 11 Mar 2006 15:50:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIB28-0006iG-Mr for guile-devel@gnu.org; Sat, 11 Mar 2006 15:49:52 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIB26-0006gn-FM for guile-devel@gnu.org; Sat, 11 Mar 2006 15:49:51 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIB26-0006gW-4q for guile-devel@gnu.org; Sat, 11 Mar 2006 15:49:50 -0500 Original-Received: from [80.84.72.33] (helo=mail3.uklinux.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIB5g-00064S-Pw for guile-devel@gnu.org; Sat, 11 Mar 2006 15:53:32 -0500 Original-Received: from laruns (host86-129-144-246.range86-129.btcentralplus.com [86.129.144.246]) by mail3.uklinux.net (Postfix) with ESMTP id 435CE40A076; Sat, 11 Mar 2006 20:49:49 +0000 (UTC) Original-Received: from laruns (laruns [127.0.0.1]) by laruns (Postfix) with ESMTP id 866389FC83; Sat, 11 Mar 2006 20:45:54 +0000 (GMT) Original-To: steven mestdagh In-Reply-To: <20060311190247.GA21246@esat.kuleuven.be> (steven mestdagh's message of "Sat, 11 Mar 2006 20:02:47 +0100") User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5779 Archived-At: steven mestdagh 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 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel