Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Feb 2003 17:21:55 +1030
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Ari Suutari <ari.suutari@syncrontech.com>
Cc:        java@FreeBSD.ORG
Subject:   Re: pre-patchset 3 build problem (and fix)
Message-ID:  <20030226172155.B53806@misty.eyesbeyond.com>
In-Reply-To: <200302260807.01153.ari.suutari@syncrontech.com>; from ari.suutari@syncrontech.com on Wed, Feb 26, 2003 at 08:07:00AM %2B0200
References:  <200302260807.01153.ari.suutari@syncrontech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <signal.h>
>   #include <sys/types.h>
>   #include <sys/signal.h>
> + #include <sys/time.h>
>   #include <sys/resource.h>
>   
>   #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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030226172155.B53806>