From owner-freebsd-java@FreeBSD.ORG Fri Jul 8 04:04:09 2005 Return-Path: X-Original-To: freebsd-java@freebsd.org 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 EEFDE16A41C for ; Fri, 8 Jul 2005 04:04:09 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.195]) by mx1.FreeBSD.org (Postfix) with ESMTP id 588ED43D58 for ; Fri, 8 Jul 2005 04:04:07 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by zproxy.gmail.com with SMTP id i11so164221nzi for ; Thu, 07 Jul 2005 21:04:07 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Jk4TiJ/GlaDs6e83UC2aT11v7T2a04oHopN2RGfPRNyFQ7Xma7evW/+++szTkKwufvgiJiEEhg5ANPsRSWBparnhHi6n/R5l0ehGV8ADYxAVvyIpN1fmyx1aQu3Nk/jTAi6xbtfh7Kng9DnG1Yfx6oCIj46PQuZZl4BM9yirmnQ= Received: by 10.36.36.10 with SMTP id j10mr505691nzj; Thu, 07 Jul 2005 21:04:07 -0700 (PDT) Received: by 10.36.88.8 with HTTP; Thu, 7 Jul 2005 21:04:07 -0700 (PDT) Message-ID: Date: Fri, 8 Jul 2005 12:04:07 +0800 From: Jiawei Ye To: java Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: www/resin3 with OS_VERSION>=5 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jiawei Ye List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 04:04:10 -0000 Dear All, www/resin3 has a configure script that hardcodes threading library to -lc_r *freebsd*) PROXY_LIBS=3D'-lc_r' jni_os=3Dfreebsd ;; While this works with 5 and up with a libmap.conf entry, I think this is not a clean solution. Substituting -lc_r with -pthread does not work since ld does not understand -pthread. I have hand-edited it to PROXY_LIBS=3D'-lpthread' and it compiles and runs. Should we change it something that detects OS_VERSION? Regards, Jiawei Ye --=20 "Without the userland, the kernel is useless." --inspired by The Tao of Programming