From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Douglas Mencken Newsgroups: gmane.lisp.guile.bugs Subject: Re: [build error] ./.libs/libguile-2.0.so: undefined reference to `clock_getcpuclockid' Date: Sat, 21 May 2011 14:50:58 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1305982269 30028 80.91.229.12 (21 May 2011 12:51:09 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 12:51:09 +0000 (UTC) Cc: bug-guile@gnu.org To: Andy Wingo Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Sat May 21 14:51:04 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QNle4-000804-Lm for guile-bugs@m.gmane.org; Sat, 21 May 2011 14:51:04 +0200 Original-Received: from localhost ([::1]:33518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNle4-000356-3l for guile-bugs@m.gmane.org; Sat, 21 May 2011 08:51:04 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNle0-00034T-R9 for bug-guile@gnu.org; Sat, 21 May 2011 08:51:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNldz-0002HW-LT for bug-guile@gnu.org; Sat, 21 May 2011 08:51:00 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:58123) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNldz-0002HS-I0 for bug-guile@gnu.org; Sat, 21 May 2011 08:50:59 -0400 Original-Received: by vxk20 with SMTP id 20so4216694vxk.0 for ; Sat, 21 May 2011 05:50:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=x0bqO/CIhme8CZHkLCHgIcOP242gV8csxkYyaMSAM2Q=; b=WDqBMklSC8WDCQNgfoH7xxbuuY0Xj9baxWDKaq2DBkZUMY1d8707tmO6xkwH+PPVUu QUcB5UkJG0Cj+JEJZJbysFLyynG/XcbfO0ZIgkhdR9Mtqvh7LctE2mQuk5dG+ALIyrjt uAKNAggVCRIhR7nLPU2Jk1BMu2hcpgYEjbfpM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=dcbAGg3qBgr1sjaVKAWd8SJAp6PdIUAiF5rNEmFNb1X6r6q5OvDXVC3Lt+XlfvRs2i vbGqjBaKSrFbZc0UNopfZGUvMCX5QBHxSnooXQyUV74weZccxzg9Nso+PQhyE3WzamiC AD14WsJ0ylbmuGeNCIat+U65oER71/FOmAFWM= Original-Received: by 10.220.113.78 with SMTP id z14mr193026vcp.125.1305982258904; Sat, 21 May 2011 05:50:58 -0700 (PDT) Original-Received: by 10.220.176.204 with HTTP; Sat, 21 May 2011 05:50:58 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5599 Archived-At: > + AC_SEARCH_LIBS([clock_getcpuclockid], [rt posix4], > + [test "$ac_cv_search_clock_getcpuclockid" = "none required" \ > + || LIB_CLOCK_GETTIME=$ac_cv_search_clock_getcpuclockid], > + [LIB_CLOCK_GETTIME=$ac_cv_search_clock_gettime]) > Does this patch fix it for you? Yes! CCLD libguile-2.0.la CC guile-guile.o CCLD guile ./.libs/libguile-2.0.so: warning: the use of `tmpnam' is dangerous, better use `mkstemp' ./.libs/libguile-2.0.so: warning: gethostbyaddr is obsolescent, use getaddrinfo() instead. ./.libs/libguile-2.0.so: warning: gethostbyname is obsolescent, use getnameinfo() instead. flex -t ./c-tokenize.lex > c-tokenize.c || { rm c-tokenize.c; false; } GEN c-tokenize.o GEN guile_filter_doc_snarfage SNARF alist.doc ... Cool. Thank you. I hope this patch would be in mainstream.