Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Feb 2003 19:08:20 +0100
From:      Richard Nyberg <rnyberg@it.su.se>
To:        Chris Barown <barowc@telenet.net>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: jdk1.3 with native threads
Message-ID:  <20030219180820.GA14339@murmeldjur.it.su.se>
In-Reply-To: <5.2.0.9.0.20030219124745.03126cb0@harding.rbs>
References:  <5.2.0.9.0.20030219124745.03126cb0@harding.rbs>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 19, 2003 at 12:50:00PM -0500, Chris Barown wrote:
> After watching the list for the last 2 weeks,
> I have decided to install the jdk13 with
> native threads, but I get the following error:
<snip>
> This is on a dual processor machine running 5.0-release.

Me too.
 
> Any ideas?
 
Yeah. Put '#include <sys/time.h>' before '#include <sys/resource.h>'
in the offending file. However that only brings me to the following
errors in threads_bsd.c:

../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:34:29: pthread_private.h: No such file or directory
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `np_stackinfo':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: `_thread_initial' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: (Each undeclared identifier is reported only once
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: for each function it appears in.)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:116: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:117: `PTHREAD_STACK_DEFAULT' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:115: for each function it appears in.)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:116: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:117: `PTHREAD_STACK_DEFAULT' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `record_thread_regs':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:210: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top level:
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: `enum pthread_susp' declared inside parameter list
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:287: warning: its scope is only this definition or declaration, which is probably not what you want
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:288: parameter `suspendState' has incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: initializer-string for array of chars is too long
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: (near initialization for `SignalList[21]')
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: excess elements in array initializer
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:323: warning: (near initialization for `SignalList')
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:325: warning: `enum pthread_state' declared inside parameter list
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:326: parameter `threadState' has incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `record_gc_registers_of':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:515: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:515: `PTHREAD_FLAGS_PRIVATE' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:518: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:527: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:527: `PS_SUSPENDED' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:530: dereferencing pointer to incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: `CTX_JB_NOSIG' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:533: `CTX_JB' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:534: `CTX_SJB' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:540: `CTX_UC' undeclared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:542: dereferencing pointer to incomplete type

Any ideas now?

	-Richard

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?20030219180820.GA14339>