From owner-freebsd-java Tue Oct 22 20:16:41 2002 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 C908737B401 for ; Tue, 22 Oct 2002 20:16:39 -0700 (PDT) Received: from titan.seed.net.tw (titan.seed.net.tw [139.175.54.53]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1EBE643E42 for ; Tue, 22 Oct 2002 20:16:34 -0700 (PDT) (envelope-from leafy@leafy.idv.tw) Received: from [61.59.152.177] (helo=leafy.idv.tw) by titan.seed.net.tw with esmtp (Seednet MTA build 20010831) id 184C0W-0001bz-00 for freebsd-java@freebsd.org; Wed, 23 Oct 2002 11:16:32 +0800 Received: from leafy.idv.tw (localhost [127.0.0.1]) by leafy.idv.tw (8.12.6/8.12.6) with ESMTP id g9N3GTNX003909 for ; Wed, 23 Oct 2002 11:16:30 +0800 (CST) (envelope-from leafy@leafy.idv.tw) Received: (from leafy@localhost) by leafy.idv.tw (8.12.6/8.12.6/Submit) id g9N3GTAU003908 for freebsd-java@freebsd.org; Wed, 23 Oct 2002 11:16:29 +0800 (CST) Date: Wed, 23 Oct 2002 11:16:28 +0800 From: JY To: freebsd-java@freebsd.org Subject: Fail to build native thread JDK1.3 after MFC in uthread Message-ID: <20021023031628.GA3860@leafy.idv.tw> Mail-Followup-To: freebsd-java@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=big5 Content-Disposition: inline User-Agent: Mutt/1.5.1i 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 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