From owner-freebsd-current@FreeBSD.ORG Sat Jun 16 20:36:16 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DBE7716A400 for ; Sat, 16 Jun 2007 20:36:16 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from alnrmhc12.comcast.net (alnrmhc12.comcast.net [206.18.177.52]) by mx1.freebsd.org (Postfix) with ESMTP id 9792F13C45B for ; Sat, 16 Jun 2007 20:36:16 +0000 (UTC) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: from c-71-192-57-29.hsd1.ma.comcast.net ([71.192.57.29]) by comcast.net (alnrmhc12) with ESMTP id <20070616203615b1200q8i41e>; Sat, 16 Jun 2007 20:36:16 +0000 Received: from c-71-192-57-29.hsd1.ma.comcast.net (localhost.crodrigues.org [127.0.0.1]) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1) with ESMTP id l5GKaP3A039582; Sat, 16 Jun 2007 16:36:25 -0400 (EDT) (envelope-from rodrigc@c-71-192-57-29.hsd1.ma.comcast.net) Received: (from rodrigc@localhost) by c-71-192-57-29.hsd1.ma.comcast.net (8.14.1/8.14.1/Submit) id l5GKaPTt039579; Sat, 16 Jun 2007 16:36:25 -0400 (EDT) (envelope-from rodrigc) Date: Sat, 16 Jun 2007 16:36:24 -0400 From: Craig Rodrigues To: freebsd-current@freebsd.org Message-ID: <20070616203624.GA37899@crodrigues.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.2i Cc: deischen@freebsd.org, davidxu@freebsd.org Subject: Undefined symbol timer_delete()? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 16 Jun 2007 20:36:16 -0000 Hi, I was in the middle of updating the xfsprogs port when I got a linker problem related to timer_delete(2). I just tried to compile the following program: #include int main(void) { timer_t timerid; timer_delete(timerid); return 0; } and got this linker error: /var/tmp//ccBspzgp.o(.text+0x18): In function `main': : undefined reference to `timer_delete' According to the timer_delete(2) man page, this symbol should be in libc, but I can't link to it. Any ideas what is going on? Thanks. -- Craig Rodrigues rodrigc@crodrigues.org