|
News,
Internal,
Projects,
Home Software, Support, Documentation |
From: Heejong <ihji@xxxxxxxxxxxxxxxxx> Subject: jdk13 컴파일 에러 자답 & 질문 Date: Tue, 18 Mar 2003 20:32:50 +0900 > In file included from /usr/X11R6/include/Xm/ExtObjectP.h:47, > from /usr/X11R6/include/Xm/DesktopP.h:51, > from /usr/X11R6/include/Xm/ShellEP.h:51, > from /usr/X11R6/include/Xm/VendorSEP.h:53, > from ../../../src/solaris/native/sun/awt/awt_util.h:104, > from ../../../src/solaris/native/sun/awt/awt_p.h:56, > from ../../../src/solaris/native/sun/awt/awt_AWTEvent.c:18: > /usr/X11R6/include/Xm/XmP.h:97: syntax error at null character > gmake[3]: *** [../../../build/bsd-i386/tmp/sun/sun.awt/awt/obj/awt_AWTEvent.o] 오류 1 > gmake[3]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/awt' > gmake[2]: *** [optimized] 오류 2 > gmake[2]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun/awt' > gmake[1]: *** [all] 오류 1 > gmake[1]: Leaving directory `/usr/ports/java/jdk13/work/j2sdk1.3.1/make/sun' > gmake: *** [all] 오류 1 > *** Error code 2 > > Stop in /usr/ports/java/jdk13. > > 라는 에러를 포스팅했었습니다. 그런데 XmP.h라는 파일에 가니 97번째 라인이 > /* Exist in IntrinsicP.h, but does no casting, so removing this > one will probably generate a lot of warnings */ > #ifdef XtParent > #undef XtParent > #endif > #define XtParent(widget) (((Object)(widget))->object.parent) > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^ > @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^ > @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^ > @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ > ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^ > @^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@ ((w)->core.width) > #define XtHeight(w) ((w)->core.height) > #define XtBorderWidth(w) ((w)->core.border_width) > #define XtBackground(w) ((w)->core.background_pixel) > #define XtCoreProc(w,proc) ((w)->core.widget_class->core_class.proc) > > 이렇게 되어있더군요.. 그래서 이부분을 > > /* Exist in IntrinsicP.h, but does no casting, so removing this > one will probably generate a lot of warnings */ > #ifdef XtParent > #undef XtParent > #endif > #define XtParent(widget) (((Object)(widget))->object.parent) > #define XtWidth(w) ((w)->core.width) > #define XtHeight(w) ((w)->core.height) > #define XtBorderWidth(w) ((w)->core.border_width) > #define XtBackground(w) ((w)->core.background_pixel) > #define XtCoreProc(w,proc) ((w)->core.widget_class->core_class.proc) > > 라고 대락 짐작으로 바꿔줬습니다.. 그러니 에러가 없어지더군요.. 이렇게 해도 되는건가요? -_-; > > 그리고 jdk13을 컴파일할때 리눅스 에뮬레이션이 필요하던데 이유가 뭐죠? 컴파일을 다 끝내고 설치하고 나면 > 더이상 리눅스 에뮬레이션은 필요없는건가요? 아니면 꼭 rc.conf에 linux_enable flag를 줘서 linux 에뮬레이션 > 모드를 동작시켜줘야 하나요.. 일단 빌드되면 리눅스용 jdk를 띄워야 할 필요는 없습니다. 이에 대해서는 이 리스트에서 몇번 이야기된 적이 있으니 메일링 리스트를 검색해 보시기 바랍니다.. -- CHOI Junho <http://www.kr.FreeBSD.org/~cjh> KFUG <cjh at kr.FreeBSD.org> FreeBSD Project <cjh at FreeBSD.org> Web Data Bank <cjh at wdb.co.kr> Key fingerprint = 1369 7374 A45F F41A F3C0 07E3 4A01 C020 E602 60F5 -- Please look and take part in KFUG FAQ: <http://www.kr.freebsd.org/FAQ-kr/> To Unsubscribe: send mail to majordomo@xxxxxxxxxxxxxx with "unsubscribe questions" in the BODY of the message
|
Copyright © 1998-2005 Korea FreeBSD Users Group. All rights reserved. webmaster at kr.FreeBSD.org $Date: 2003/03/31 23:00:56 $ |
|