Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 04:50:08 +1030
From:      Greg Lewis <glewis@eyesbeyond.com>
To:        Wade Klaver <archeron@wavefire.com>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   Re: jdk14 port does not compile cleanly.
Message-ID:  <20030311045008.A71513@misty.eyesbeyond.com>
In-Reply-To: <200303101007.20388.archeron@wavefire.com>; from archeron@wavefire.com on Mon, Mar 10, 2003 at 10:07:20AM -0800
References:  <200303101007.20388.archeron@wavefire.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 10, 2003 at 10:07:20AM -0800, Wade Klaver wrote:
> Hello,
> After going through sun's site (not very lynx-friendly) to DL all the relevant 
> files prompted for by the jdk14 port, I found it does not build cleanly.  If 
> this is not the correct list for this type of post, I am sure you will inform 
> me.  Below is the information I can provide.  If anything further is 
> required, please ask.

A better list for the jdk ports is usually freebsd-java.

> [root@arch jdk14]# uname -a
> FreeBSD arch.wavefire.com 5.0-RELEASE-p3 FreeBSD 5.0-RELEASE-p3 #4: Mon Feb 24 

5.0 is the key here...

> ../../../../s
> rc/solaris/hpi/native_threads/src/threads_md.c
> In file included from 
> ../../../../src/solaris/hpi/native_threads/src/threads_md.
> c:25:
> /usr/include/sys/resource.h:61: field `ru_utime' has incomplete type
> /usr/include/sys/resource.h:62: field `ru_stime' has incomplete type

Place a 

#include <sys/time.h>

before the

#include <sys/resource.h>

and try again.  This is needed on 5.0.

-- 
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-ports" in the body of the message




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