Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Oct 2002 11:16:28 +0800
From:      JY <leafy@leafy.idv.tw>
To:        freebsd-java@freebsd.org
Subject:   Fail to build native thread JDK1.3 after MFC in uthread
Message-ID:  <20021023031628.GA3860@leafy.idv.tw>

next in thread | raw e-mail | index | archive | help
After MFC in uthread, I can no longer compile JDK1.3.1 with native thread, error as follows:

../../../../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 s
cope is only this definition or declaration, which is probably not what you want
.
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:288: parameter `sus
pendState' has incomplete type
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: In function `getSu
spendStateString':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:293: warning: contr
ol reaches end of non-void function
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c: At top level:
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:321: warning: initi
alizer-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: exces
s 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: In function `recor
d_gc_registers_of':
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:530: structure has
no member named `ctxtype'
../../../../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:532: (Each undeclar
ed identifier is reported only once
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: for each funct
ion it appears in.)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:533: `CTX_JB' undec
lared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:534: `CTX_SJB' unde
clared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:540: `CTX_UC' undec
lared (first use in this function)
../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:535: warning: unrea
chable code at beginning of switch statement
gmake[4]: *** [../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/thread
s_bsd.o] Error 1
gmake[4]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi
/native'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi
/native'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java/hpi
'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/java'
gmake: *** [all] Error 1
*** Error code 2

Stop in /usr/ports/java/jdk13. 

JY

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?20021023031628.GA3860>