jdk13 compilation fails on 5.1-RELEASE

Andreas Kohn andreas.kohn at gmx.net
Tue Jun 10 12:41:04 PDT 2003


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?
> 
> Thanks,
> Sergey.
> 
> gcc -Wall  -c  -O -D_GNU_SOURCE -DXP_UNIX 
> -DVERSION="\"1.3.1-p8-ks-030610-14:32\"" -DDATE="\"Jun-10-2003\""
> -DARCH="\"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)
> 
> ___ skipped ___
> 
> ../../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
> 
> Stop in /home/ports/java/jdk13.
> 
> 
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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-java
> To unsubscribe, send any mail to "freebsd-java-unsubscribe at freebsd.org"
-- 
Andreas Kohn <andreas.kohn at gmx.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20030610/8aee5b2b/attachment.bin


More information about the freebsd-java mailing list