From owner-freebsd-java Tue Feb 25 22:57:11 2003 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 33EC037B401 for ; Tue, 25 Feb 2003 22:57:10 -0800 (PST) Received: from mgr3.xmission.com (mgr3.xmission.com [198.60.22.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98EF443F85 for ; Tue, 25 Feb 2003 22:57:09 -0800 (PST) (envelope-from glewis@eyesbeyond.com) Received: from mail by mgr3.xmission.com with spam-scanned (Exim 3.35 #1) id 18nvV7-0007Hn-03; Tue, 25 Feb 2003 23:57:09 -0700 Received: from [207.135.128.145] (helo=misty.eyesbeyond.com) by mgr3.xmission.com with esmtp (Exim 3.35 #1) id 18nvTr-00062k-03; Tue, 25 Feb 2003 23:56:55 -0700 Received: (from glewis@localhost) by misty.eyesbeyond.com (8.11.6/8.11.6) id h1Q6qkL53866; Wed, 26 Feb 2003 17:22:46 +1030 (CST) (envelope-from glewis@eyesbeyond.com) X-Authentication-Warning: misty.eyesbeyond.com: glewis set sender to glewis@eyesbeyond.com using -f Date: Wed, 26 Feb 2003 17:21:55 +1030 From: Greg Lewis To: Ari Suutari Cc: java@FreeBSD.ORG Subject: Re: pre-patchset 3 build problem (and fix) Message-ID: <20030226172155.B53806@misty.eyesbeyond.com> References: <200302260807.01153.ari.suutari@syncrontech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <200302260807.01153.ari.suutari@syncrontech.com>; from ari.suutari@syncrontech.com on Wed, Feb 26, 2003 at 08:07:00AM +0200 X-Spam-Status: No, hits=-3.5 required=8.0 tests=IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES, SIGNATURE_SHORT_DENSE,SPAM_PHRASE_00_01,USER_AGENT, USER_AGENT_MUTT,X_AUTH_WARNING version=2.43 X-Spam-Level: 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 Wed, Feb 26, 2003 at 08:07:00AM +0200, Ari Suutari wrote: > Hi, > > When building jdk 1.4.1 with pre-patchset 3, > I got following compiler error (on 5.0-release): > > In file included from > ../../../../src/solaris/hpi/native_threads/src/threads_md.c:24: > /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type > /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type > In file included from ../../../../src/share/hpi/include/hpi_impl.h:11, > from > ../../../../src/solaris/hpi/native_threads/src/threads_md.c > > Following patch seems to help: > > *** threads_md.c.orig Wed Feb 26 08:02:55 2003 > --- threads_md.c Wed Feb 26 08:02:58 2003 > *************** > *** 21,26 **** > --- 21,27 ---- > #include > #include > #include > + #include > #include > > #include "hpi_impl.h" > > Definitely. This is the same patch added to 1.3.1 for 5.x support. -- Greg Lewis Email : glewis@eyesbeyond.com Eyes Beyond Web : http://www.eyesbeyond.com Information Technology FreeBSD : glewis@FreeBSD.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message