From owner-freebsd-java@FreeBSD.ORG Tue Jun 10 12:41:04 2003 Return-Path: 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 3A42037B401 for ; Tue, 10 Jun 2003 12:41:04 -0700 (PDT) Received: from mail.gmx.net (imap.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id E694843FAF for ; Tue, 10 Jun 2003 12:41:02 -0700 (PDT) (envelope-from andreas.kohn@gmx.net) Received: (qmail 26561 invoked by uid 65534); 10 Jun 2003 19:41:01 -0000 Received: from unknown (EHLO [172.16.32.190]) (212.204.32.190) by mail.gmx.net (mp008) with SMTP; 10 Jun 2003 21:41:01 +0200 From: Andreas Kohn To: Sergey Kosyakov In-Reply-To: <20030610191912.76125.qmail@web12405.mail.yahoo.com> References: <20030610191912.76125.qmail@web12405.mail.yahoo.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-A9BUOR8be3+P9XEj8T3p" Message-Id: <1055274057.2177.35.camel@klamath.ankon.homeip.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.3.92 (Preview Release) Date: 10 Jun 2003 21:40:58 +0200 cc: freebsd-java@freebsd.org Subject: Re: jdk13 compilation fails on 5.1-RELEASE X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 10 Jun 2003 19:41:04 -0000 --=-A9BUOR8be3+P9XEj8T3p Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Am Tue, 2003-06-10 um 21.19 schrieb Sergey Kosyakov: > ports/java/jdk13 compilation fails on 5.1-RELEASE. Both regular > and "NATIVE_THREADS/HOT_SPOT" - fails at the same place. Below is the > head and the tail of the huge error message. Any idea why that happend? >=20 > Thanks, > Sergey. >=20 > gcc -Wall -c -O -D_GNU_SOURCE -DXP_UNIX=20 > -DVERSION=3D"\"1.3.1-p8-ks-030610-14:32\"" -DDATE=3D"\"Jun-10-2003\"" > -DARCH=3D"\"i386\"" -DRAPTOR_API -DNEW_STREAMING_API > -I../../oji-plugin/include/solaris/navig4/nspr > -I../../oji-plugin/include/solaris/navig4/xpcom > -I../../oji-plugin/include/solaris/navig4/caps > -I../../oji-plugin/include/solaris/navig4/js > -I../../oji-plugin/include/solaris/navig4/raptor > -I../../tmp/bsd/i386/CClassHeaders > -I../../oji-plugin/include/solaris/navig4/oji > -I../../oji-plugin/include/solaris/navig4/plugin > -I../../oji-plugin/src/motif/common -I../../oji-plugin/src/motif/navig4 > -I/usr/X11R6/include -I../../oji-plugin/src/motif/badapter > -I../../../../src/share/javavm/export > -I../../../../src/solaris/javavm/export -I/usr/X11R6/include > -I/usr/local/include -I../../oji-plugin/src/share -o > ../../tmp/bsd/i386/stubs.o ../../oji-plugin/src/motif/common/stubs.c > In file included from ../../oji-plugin/src/motif/common/stubs.c:29: > /usr/X11R6/include/npapi.h:1:2: #error > "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h > must be provided by Netscape" > /usr/X11R6/include/npapi.h:2:2: #error "This file is just a > placeholder. Please see the documentation" > /usr/X11R6/include/npapi.h:3:2: #error "to learn how to obtain the real > file" > In file included from ../../oji-plugin/src/motif/common/stubs.c:30: > /usr/X11R6/include/npupp.h:1:2: #error > "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h > must be provided by Netscape" > /usr/X11R6/include/npupp.h:2:2: #error "This file is just a > placeholder. Please see the documentation" > /usr/X11R6/include/npupp.h:3:2: #error "to learn how to obtain the real > file" > ../../oji-plugin/src/motif/common/stubs.c:51: syntax error before > "gNetscapeFuncs" > ../../oji-plugin/src/motif/common/stubs.c:51: warning: type defaults to > `int' in declaration of `gNetscapeFuncs' > ../../oji-plugin/src/motif/common/stubs.c:51: warning: data definition > has no type or storage class > ../../oji-plugin/src/motif/common/stubs.c: In function `NPN_Version': > ../../oji-plugin/src/motif/common/stubs.c:68: `NP_VERSION_MAJOR' > undeclared (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c:68: (Each undeclared > identifier is reported only once > ../../oji-plugin/src/motif/common/stubs.c:68: for each function it > appears in.) > ../../oji-plugin/src/motif/common/stubs.c:69: `NP_VERSION_MINOR' > undeclared (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c:72: request for member > `version' in something not a structure or union > ../../oji-plugin/src/motif/common/stubs.c:74: request for member > `version' in something not a structure or union > ../../oji-plugin/src/motif/common/stubs.c: At top level: > ../../oji-plugin/src/motif/common/stubs.c:78: syntax error before > "NPN_GetValue" > ../../oji-plugin/src/motif/common/stubs.c:78: syntax error before > "instance" > ../../oji-plugin/src/motif/common/stubs.c:79: warning: return type > defaults to `int' > ../../oji-plugin/src/motif/common/stubs.c: In function `NPN_GetValue': > ../../oji-plugin/src/motif/common/stubs.c:80: warning: implicit > declaration of function `CallNPN_GetValueProc' > ../../oji-plugin/src/motif/common/stubs.c:80: request for member > `getvalue' in something not a structure or union > ../../oji-plugin/src/motif/common/stubs.c:81: `instance' undeclared > (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c:81: `variable' undeclared > (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c:81: `r_value' undeclared > (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c: At top level: > ../../oji-plugin/src/motif/common/stubs.c:85: syntax error before > "NPN_GetURL" > ../../oji-plugin/src/motif/common/stubs.c:85: syntax error before > "instance" > ../../oji-plugin/src/motif/common/stubs.c:86: warning: return type > defaults to `int' > ../../oji-plugin/src/motif/common/stubs.c: In function `NPN_GetURL': > ../../oji-plugin/src/motif/common/stubs.c:87: warning: implicit > declaration of function `CallNPN_GetURLProc' > ../../oji-plugin/src/motif/common/stubs.c:87: request for member > `geturl' in something not a structure or union > ../../oji-plugin/src/motif/common/stubs.c:87: `instance' undeclared > (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c:87: `url' undeclared (first > use in this function) > ../../oji-plugin/src/motif/common/stubs.c:87: `window' undeclared > (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c: At top level: > ../../oji-plugin/src/motif/common/stubs.c:91: syntax error before > "NPN_GetURLNotify" > ../../oji-plugin/src/motif/common/stubs.c:91: syntax error before > "instance" > ../../oji-plugin/src/motif/common/stubs.c:92: warning: return type > defaults to `int' > ../../oji-plugin/src/motif/common/stubs.c: In function > `NPN_GetURLNotify': > ../../oji-plugin/src/motif/common/stubs.c:93: warning: implicit > declaration of function `CallNPN_GetURLNotifyProc' > ../../oji-plugin/src/motif/common/stubs.c:93: request for member > `geturlnotify' in something not a structure or union > ../../oji-plugin/src/motif/common/stubs.c:93: `instance' undeclared > (first use in this function) > ../../oji-plugin/src/motif/common/stubs.c:93: `url' undeclared (first > use in this function) >=20 > ___ skipped ___ >=20 > ../../oji-plugin/src/motif/common/stubs.c:412: warning: implicit > declaration of function `NewNPP_NewProc' > ../../oji-plugin/src/motif/common/stubs.c:413: warning: implicit > declaration of function `NewNPP_DestroyProc' > ../../oji-plugin/src/motif/common/stubs.c:414: warning: implicit > declaration of function `NewNPP_SetWindowProc' > ../../oji-plugin/src/motif/common/stubs.c:415: warning: implicit > declaration of function `NewNPP_NewStreamProc' > ../../oji-plugin/src/motif/common/stubs.c:416: warning: implicit > declaration of function `NewNPP_DestroyStreamProc' > ../../oji-plugin/src/motif/common/stubs.c:417: warning: implicit > declaration of function `NewNPP_StreamAsFileProc' > ../../oji-plugin/src/motif/common/stubs.c:418: warning: implicit > declaration of function `NewNPP_WriteReadyProc' > ../../oji-plugin/src/motif/common/stubs.c:419: warning: implicit > declaration of function `NewNPP_WriteProc' > ../../oji-plugin/src/motif/common/stubs.c:420: warning: implicit > declaration of function `NewNPP_PrintProc' > ../../oji-plugin/src/motif/common/stubs.c:421: warning: implicit > declaration of function `NewNPP_URLNotifyProc' > ../../oji-plugin/src/motif/common/stubs.c:425: warning: implicit > declaration of function `NPP_Initialize' > ../../oji-plugin/src/motif/common/stubs.c: At top level: > ../../oji-plugin/src/motif/common/stubs.c:439: syntax error before > "NP_Shutdown" > ../../oji-plugin/src/motif/common/stubs.c:440: warning: return type > defaults to `int' > ../../oji-plugin/src/motif/common/stubs.c: In function `NP_Shutdown': > ../../oji-plugin/src/motif/common/stubs.c:442: warning: implicit > declaration of function `NPP_Shutdown' > ../../oji-plugin/src/motif/common/stubs.c:443: `NPERR_NO_ERROR' > undeclared (first use in this function) > gmake[1]: *** [../../tmp/bsd/i386/stubs.o] Error 1 > gmake[1]: Leaving directory > `/home/ports/java/jdk13/work/j2sdk1.3.1/ext/plugin/build/solaris' > gmake: *** [plugin-all] Error 1 > *** Error code 2 >=20 > Stop in /home/ports/java/jdk13. >=20 >=20 What happens if you move the /usr/X11R6/include/npapi.h and npupp.h away? It seems to me that the compilation process grabs the wrong include files. > __________________________________ > Do you Yahoo!? > Yahoo! Calendar - Free online calendar with sync to Outlook(TM). > http://calendar.yahoo.com > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" --=20 Andreas Kohn --=-A9BUOR8be3+P9XEj8T3p Content-Type: application/pgp-signature; name=signature.asc Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA+5jRJYucd7Ow1ygwRAp/XAKCfWtf5qD0wxU8cBDaJQL1vy7rqtwCdGHlU 1JnYLSB+puvkaQmLbZVe9cs= =yZux -----END PGP SIGNATURE----- --=-A9BUOR8be3+P9XEj8T3p--