Date: Wed, 13 Nov 2002 17:34:47 +0800 From: suken woo <wsk@mail.gddsn.org.cn> To: Terry Lambert <tlambert2@mindspring.com>, freebsd-current <freebsd-current@FreeBSD.org>, freebsd-java <freebsd-java@freebsd.org> Subject: Re: -current make jdk13 with native_threads error Message-ID: <3DD21CB7.7080100@mail.gddsn.org.cn> References: <3DD1BDA8.7080106@mail.gddsn.org.cn> <3DD1FCC1.5E2CDFE6@mindspring.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Terry Lambert wrote: >suken woo wrote: > > >>In file included from >>../../../../src/solaris/hpi/native_threads/src/threads_md.c:27: >>/usr/include/sys/resource.h:61: field `ru_utime' has incomplete type >>/usr/include/sys/resource.h:62: field `ru_stime' has incomplete type >> >> > >"struct timeval" is not in scope. > >Modify the file: > >../../../../src/solaris/hpi/native_threads/src/threads_md.c > >and add > >#include <sys/time.h> > >before the #include on line # 27. > but anothers error still occured! thanks your help. /usr/bin/gcc -O -pipe -mcpu=pentiumpro -W -Wall -Wno-unused -Wno-parentheses -pthread -I/usr/src/lib/libc_r/uthread -I/usr/src/lib/libc/include -Di386 -DARCH='"i386"' -DSOLARIS2 -DRELEASE='"1.3.1-p7"' -DFULL_VERSION='"1.3.1-p7-wsk-021113-17:31"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT -DLOGGING -D_LITTLE_ENDIAN -I. -I../../../../build/bsd-i386/tmp/java/hpi/native_threads/CClassHeaders -I../../../../src/solaris/javavm/export -I../../../../src/share/javavm/export -I../../../../src/solaris/hpi/native_threads/include -I../../../../src/solaris/hpi/include -I../../../../src/solaris/hpi/export -I../../../../src/share/hpi/include -I../../../../src/share/hpi/export -D_REENTRANT -DNATIVE -DUSE_PTHREADS -DMOOT_PRIORITIES -DNO_INTERRUPTIBLE_IO -c -o ../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_bsd.o ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c ../../../../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: In function `record_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 undeclared identifier is reported only once ../../../../src/solaris/hpi/native_threads/src/threads_bsd.c:532: for each function it appears in.) ../../../../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) gmake[4]: *** [../../../../build/bsd-i386/tmp/java/hpi/native_threads/obj/threads_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. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DD21CB7.7080100>