unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Neil Jerram <neil@ossau.uklinux.net>
Cc: Guile Development <guile-devel@gnu.org>
Subject: Re: undefined reference to `scm_init_guile'
Date: Sat, 11 Mar 2006 20:45:54 +0000	[thread overview]
Message-ID: <87fylor9q5.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <20060311190247.GA21246@esat.kuleuven.be> (steven mestdagh's message of "Sat, 11 Mar 2006 20:02:47 +0100")

steven mestdagh <steven.mestdagh@esat.kuleuven.be> 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


  reply	other threads:[~2006-03-11 20:45 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-09 22:35 [Neil Jerram] Re: undefined reference to `scm_init_guile' Neil Jerram
2006-03-10  6:41 ` steven mestdagh
2006-03-10 22:10   ` Neil Jerram
2006-03-10 22:23     ` steven mestdagh
2006-03-10 22:41       ` Neil Jerram
2006-03-10 23:01         ` steven mestdagh
2006-03-11 18:43           ` Neil Jerram
2006-03-11 19:02             ` steven mestdagh
2006-03-11 20:45               ` Neil Jerram [this message]
2006-03-25 20:16             ` Marius Vollmer
2006-03-26  0:01               ` Marius Vollmer
2006-03-26  9:20                 ` steven mestdagh
2006-03-25 20:11         ` Marius Vollmer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87fylor9q5.fsf@ossau.uklinux.net \
    --to=neil@ossau.uklinux.net \
    --cc=guile-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).