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 12:38:22 +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 1305974314 23967 80.91.229.12 (21 May 2011 10:38:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 May 2011 10:38:34 +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 12:38:27 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 1QNjZi-0006CP-R1 for guile-bugs@m.gmane.org; Sat, 21 May 2011 12:38:27 +0200 Original-Received: from localhost ([::1]:57952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNjZi-0001Mo-9K for guile-bugs@m.gmane.org; Sat, 21 May 2011 06:38:26 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:47109) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNjZf-0001MY-Ow for bug-guile@gnu.org; Sat, 21 May 2011 06:38:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QNjZf-0002O6-3C for bug-guile@gnu.org; Sat, 21 May 2011 06:38:23 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:63328) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QNjZf-0002O0-0X for bug-guile@gnu.org; Sat, 21 May 2011 06:38:23 -0400 Original-Received: by vxk20 with SMTP id 20so4171429vxk.0 for ; Sat, 21 May 2011 03:38:22 -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=tTmGf2LOJf6+PnVAWx4UYjAnPApadZL3TzELI/opfFI=; b=SHp+3PfXULRV3BYS31OSMHGZ5yzdDV18oR/8P6uNca6FJzcKCSF/Gn/wM4yHIRXhjg iQVu21t155hxG2+0T9JM6MAmXRtZxEv8tO2LEcSoFPo9H9YvkQCmV2mBIPiO/5j/JaEk FE68xE3XDjAc8jLVzoAq+yh+ouHHQIURaWeZc= 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=T+008p3FAkuhatPgQCn0rk7zh0gkutLnS7ncIHWZzAkpgLx8Zlqj5zzlR3h7mUXA1v XB9ioKGBuxeaO65jRDNwhKjoHhHoUJzRPImihozvGBmkAn2gOyBGWuKh+0ZhbpXNKf12 CsKiBvi6NOkn3LXzr2g6CnZq1ZJj09XFN3oHA= Original-Received: by 10.220.180.138 with SMTP id bu10mr164504vcb.55.1305974302094; Sat, 21 May 2011 03:38:22 -0700 (PDT) Original-Received: by 10.220.176.204 with HTTP; Sat, 21 May 2011 03:38:22 -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:5598 Archived-At: > Can you grep your libguile/Makefile for LIB_CLOCK_GETTIME ? There's empty definition. LIB_CLOCK_GETTIME = > Is it perhaps that clock_getcpuclockid is in -lrt but clock_gettime is > in your libc? clock_gettime is in both of them: /lib # readelf -s librt.so.0 | grep clock 42: 00001cb4 68 FUNC GLOBAL DEFAULT 6 clock_gettime 44: 00001a78 172 FUNC GLOBAL DEFAULT 6 clock_nanosleep 64: 00001b74 88 FUNC GLOBAL DEFAULT 6 clock_getcpuclockid /lib # readelf -s libc.so.0 | grep clock 166: 0000fcf4 72 FUNC GLOBAL DEFAULT 6 clock_gettime 514: 00011868 72 FUNC GLOBAL DEFAULT 6 clock_settime 537: 0000fa84 72 FUNC GLOBAL DEFAULT 6 clock_getres 762: 0002a588 56 FUNC GLOBAL DEFAULT 6 clock but getcpuclockid is only in librt.