jdk13 compilation fails on 5.1-RELEASE

jdk13 compilation fails on 5.1-RELEASE

Post by Mattias Schlenk » Thu, 12 Jun 2003 04:36:18




> "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h
> must be provided by Netscape"
> "/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h
> must be provided by Netscape"

A workaround seems first to install mozilla to get the required header
files.

Bye
Matt

--
 Mattias Schlenker  / Tel 0851 9441369 oder 0160 7352988
 Freyunger Str. 42 / http://webweaver.de/
 94034 Passau     / http://webweaver.de/mattias
+-------------------------------------------------------+

_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

jdk13 compilation fails on 5.1-RELEASE

Post by Andreas Ko » Thu, 12 Jun 2003 04:41:17


--=-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-j...@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscr...@freebsd.org"

--=20
Andreas Kohn <andreas.k...@gmx.net>

--=-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--

 
 
 

jdk13 compilation fails on 5.1-RELEASE

Post by Sergey Kosyak » Thu, 12 Jun 2003 04:42:52


Already have mozilla-gtk2. IMHO, if it was required, the port would
provide depend. info.

Thanks,
Sergey.


"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npapi.h

Quote:> > must be provided by Netscape"

"/home/espenr/tmp/qt-3.1-espenr-14496/qt/extensions/nsplugin/src/npupp.h

Quote:> > must be provided by Netscape"

> A workaround seems first to install mozilla to get the required
> header
> files.

> Bye
> Matt

> --
>  Mattias Schlenker  / Tel 0851 9441369 oder 0160 7352988
>  Freyunger Str. 42 / http://webweaver.de/
>  94034 Passau     / http://webweaver.de/mattias
> +-------------------------------------------------------+

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java

 
 
 

jdk13 compilation fails on 5.1-RELEASE

Post by Sergey Kosyak » Thu, 12 Jun 2003 05:07:13




> It should. Of course. Did you try to replace the header files in
> question
> by npapi.h and npupp.h from the Mozilla-tarball or
> /usr/include/X11R6/mozilla/plugin?

I've renamed those files in /usr/X11R6/include/ as Andreas suggested
and recompiling right now. My PIII-450 is not so fast :-)
I will tell you about results. And I do not have include/mozilla/plugin

directory.

Thanks,
Sergey.

__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com
_______________________________________________

http://lists.freebsd.org/mailman/listinfo/freebsd-java