From owner-freebsd-java Wed Nov 20 22:39:25 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 063F937B401 for ; Wed, 20 Nov 2002 22:39:25 -0800 (PST) Received: from seed.net.tw (sn12.seed.net.tw [139.175.54.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4EB6B43E88 for ; Wed, 20 Nov 2002 22:39:24 -0800 (PST) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.152.177] (port=49232 helo=leafy.idv.tw) by seed.net.tw with esmtp (Seednet 4.10:2) id 18Ekzj-000CCv-00 for freebsd-java@FreeBSD.ORG; Thu, 21 Nov 2002 14:39:23 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id gAL6dMDs059725 for ; Thu, 21 Nov 2002 14:39:23 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id gAL6dMik059627 for freebsd-java@FreeBSD.ORG; Thu, 21 Nov 2002 14:39:22 +0800 (CST) (envelope-from leafy) Date: Thu, 21 Nov 2002 14:39:22 +0800 From: JY To: freebsd-java@FreeBSD.ORG Subject: Re: Java 1.3.1_p7-2 builds on -current but fails to run Message-ID: <20021121063922.GA41782@leafy.idv.tw> Mail-Followup-To: freebsd-java@FreeBSD.ORG References: <20021121040830.GA83882@leafy.idv.tw> <20021121152508.B54345@misty.eyesbeyond.com> <20021121055902.GA38083@leafy.idv.tw> <20021121165957.A55399@misty.eyesbeyond.com> Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline In-Reply-To: <20021121165957.A55399@misty.eyesbeyond.com> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Thu, Nov 21, 2002 at 04:59:57PM +1030, Greg Lewis wrote: > > It's defined in /usr/include/semaphore.h, how do I find out which library it is defined in? I suppose it might be some linker error. > > No, I mean the symbol definition, not the function prototype :). You > should be able to find out what library its in with nm(1). With my limited abilities, I find them in libc.a:sem.o:000003dd T sem_wait libc_pic.a:sem.So:0000045b T sem_wait libc_r.a:uthread_sem.o:0000019a W sem_wait libc_r_p.a:uthread_sem.po:000001d4 T sem_wait To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message