Patches to update jdk15 to patchset 2

Mark Hobden markhobden at gmail.com
Sat Sep 10 13:42:40 PDT 2005


Hi,

Thanks for so much for all your work, without Java running I would not
be able to use FreeBSD as my main desktop OS at home and work :-)

The latest port compiled fine on my FreeBSD 6 beta 3 using the native
1.4.2 jdk to bootstrap it. However when I tried setting
WITH_MOZILLA=firefox it failed to complie with the following messages.

Sorry if I have applied the patch wrong or have something set wrong on
my system. Please let me know if I can send you any files or if there
is anything I can test at all.

Rebuilding: /usr/ports/java/jdk15/work/control/build/bsd-i586/lib/plugin_g.jar
gmake[4]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/java'
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin/java'
gmake -C adapter all
gmake[3]: Entering directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter'
gmake -C ns7-adapter all
gmake[4]: Entering directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
gmake /usr/ports/java/jdk15/work/control/build/bsd-i586/plugin/i386/ns7/libjavaplugin_oji.so
VARIANT=OPT
gmake[5]: Entering directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
/usr/bin/g++  -fPIC -DCC_NOEX -W -Wall  -Wno-unused -Wno-parentheses 
-I/usr/ports/java/jdk15/work/control/build/bsd-i586/include
-I/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd
-I/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin
-I../../../../src/plugin/solaris/common
-I../../../../src/plugin/share/adapter/ns7
-I../../../../src/plugin/share/adapter/common
-I../../../../src/plugin/share/adapter/include
-I../../../../src/plugin/solaris/nscore
-I../../../../src/plugin/share/jpiapi -I/usr/X11R6/include/firefox
-I/usr/X11R6/include/firefox/caps
-I/usr/X11R6/include/firefox/liveconnect
-I/usr/X11R6/include/firefox/nspr -I/usr/X11R6/include/firefox/oji
-I/usr/X11R6/include/firefox/plugin -I/usr/X11R6/include/firefox/xpcom
-I/usr/X11R6/include -I/usr/local/include
-I../../../../../j2se/make/../src/solaris/javavm/export
-I../../../../../j2se/make/../src/share/javavm/export
-I../../../../../j2se/make/../src/share/javavm/include
-I../../../../../j2se/make/../src/solaris/javavm/include 
-D_GNU_SOURCE -DXP_UNIX  -D_ALLBSD_SOURCE
-DPLUGIN_NODOTVERSION=\"150\" -DPLUGIN_VERSION=\"1.5.0\"
-DVERSION=\"1.5.0-p2-mark_10_sep_2005_17_20\" -DRELEASE=\"1.5.0-p2\"
-DARCH=\"i586\" -DLIBARCH=\"i386\"   -c -o
/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/StdAfx.o
 ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp
In file included from /usr/X11R6/include/firefox/nsDebug.h:42,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nscore.h:51:21: prtypes.h: No such file or directory
In file included from /usr/X11R6/include/firefox/nsDebug.h:42,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nscore.h:225: error: `PRUint32' does not name a type
In file included from /usr/X11R6/include/firefox/nscore.h:232,
                 from /usr/X11R6/include/firefox/nsDebug.h:42,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nsError.h:299: error: `nsresult' does not name a type
In file included from /usr/X11R6/include/firefox/nsDebug.h:42,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nscore.h:288: error: `PRUint16' does not name a type
In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nsDebug.h:69: error: `PRIntn' has not been declared
/usr/X11R6/include/firefox/nsDebug.h:69: error: ISO C++ forbids
declaration of `aLine' with no type
/usr/X11R6/include/firefox/nsDebug.h:74: error: `PRIntn' has not been declared
/usr/X11R6/include/firefox/nsDebug.h:74: error: ISO C++ forbids
declaration of `aLine' with no type
/usr/X11R6/include/firefox/nsDebug.h:79: error: `PRIntn' has not been declared
/usr/X11R6/include/firefox/nsDebug.h:79: error: ISO C++ forbids
declaration of `aLine' with no type
/usr/X11R6/include/firefox/nsDebug.h:85: error: `PRIntn' has not been declared
/usr/X11R6/include/firefox/nsDebug.h:85: error: ISO C++ forbids
declaration of `aLine' with no type
In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
../../../../src/plugin/share/adapter/ns7/StdAfx.h:61:1: warning:
"NS_ASSERTION" redefined
In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nsDebug.h:208:1: warning: this is the
location of the previous definition
In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
../../../../src/plugin/share/adapter/ns7/StdAfx.h:62:1: warning:
"NS_PRECONDITION" redefined
In file included from ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59,
                 from ../../../../src/plugin/share/adapter/ns7/StdAfx.cpp:18:
/usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the
location of the previous definition
gmake[5]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapter/ns7/obj/StdAfx.o]
Error 1
gmake[5]: Leaving directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
gmake[4]: *** [optimized] Error 2
gmake[4]: Leaving directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapter'
gmake[3]: *** [ns7-adapter] Error 2
gmake[3]: Leaving directory
`/usr/ports/java/jdk15/work/deploy/make/plugin/adapter'
gmake[2]: *** [adapter] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/plugin'
gmake[1]: *** [plugin-all] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make'
gmake: *** [deploy-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.



-----------------
-----------------
-----------------

And if I try and use the linux 1.4.2 jdk I get these messages (without
WITH_MOZILLA set).



for t in java_vm ; do \
    rm -f /usr/ports/java/jdk15/work/control/build/bsd-i586/j2sdk-debug-image/bin/${t}_g
\
          /usr/ports/java/jdk15/work/control/build/bsd-i586/j2sdk-debug-image/bin/*/native_threads/${t}_g;
\
done
>>>Finished making images @ Sat Sep 10 20:02:45 BST 2005 ...
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/j2se/make'
if [ -r ./../../deploy/make/Makefile ]; then \
  ( cd  ./../../deploy/make; gmake sanity javaws-all plugin-all images
EXTERNALSANITYCONTROL=true
CONTROL_TOPDIR=/usr/ports/java/jdk15/work/control C
ONTROL_TOPDIR_NAME=control
ALT_OUTPUTDIR=/usr/ports/java/jdk15/work/control/build/bsd-i586 
ARCH_DATA_MODEL=32 MILESTONE=p2 BUILD_NUMBER=mark_10_sep_
2005_17_57 ); \
fi
gmake[1]: Entering directory `/usr/ports/java/jdk15/work/deploy/make'
cd  ./javaws ; gmake installer-int sample apidoc
gmake[2]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/javaws'
gmake RELEASE_BUILD=1 I18N=1 all
gmake[3]: Entering directory `/usr/ports/java/jdk15/work/deploy/make/javaws'
/bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586
/bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common/lib
/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/co
mmon_g/lib /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployClasses
/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/de
ployClasses_g /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployClassHeaders
/bin/mkdir -p /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj
/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/dep
loyObj_g /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common/lib
/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/common_
g/lib
/usr/bin/gcc -I/usr/local/linux-sun-jdk1.4.2/include
-I/usr/local/linux-sun-jdk1.4.2/include/freebsd -c
/usr/ports/java/jdk15/work/control/make/../..
/deploy/src/common/unix/native/config.c -o
/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj/config.o
In file included from
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:10:
/usr/local/linux-sun-jdk1.4.2/include/jni.h:27:20: jni_md.h: No such
file or directory
In file included from
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:10:
/usr/local/linux-sun-jdk1.4.2/include/jni.h:45: error: syntax error
before "jsize"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:45: warning: data
definition has no type or storage class
/usr/local/linux-sun-jdk1.4.2/include/jni.h:104: error: syntax error
before "jbyte"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:107: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:193: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:195: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:198: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:201: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:203: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:206: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:209: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:211: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:214: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:221: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:223: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:225: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:227: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:232: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:235: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:237: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:239: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:241: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:243: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:248: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:250: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:252: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:254: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:257: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:259: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:262: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:265: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:267: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:269: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:272: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:274: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:276: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:286: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:288: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:290: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:293: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:295: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:297: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:314: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:316: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:318: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:321: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:323: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:325: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:328: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:330: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:332: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:335: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:337: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:340: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:344: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:346: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:349: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:362: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:364: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:367: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:371: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:373: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:376: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:398: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:400: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:403: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:407: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:409: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:412: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:416: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:418: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:421: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:425: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:428: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:430: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:434: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:436: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:442: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:444: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:447: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:449: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:451: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:453: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:455: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:457: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:459: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:461: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:463: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:466: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:469: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:471: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:473: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:476: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:478: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:480: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:490: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:492: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:494: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:497: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:499: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:501: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:518: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:520: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:522: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:525: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:527: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:529: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:532: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:534: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:536: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:539: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:541: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:543: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:547: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:549: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:555: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:557: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:560: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:562: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:564: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:566: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:568: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:570: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:572: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:574: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:576: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:579: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:583: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:585: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:588: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:592: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:594: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:601: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:603: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:605: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:608: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:610: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:612: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:614: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:616: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:618: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:620: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:622: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:625: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:629: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:631: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:637: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:639: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:642: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:644: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:646: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:648: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:650: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:652: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:654: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:656: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:659: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:661: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:663: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:665: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:667: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:669: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:671: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:673: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:676: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:678: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:680: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:682: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:684: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:686: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:688: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:690: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:707: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:709: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:712: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:714: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:717: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:719: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:722: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:724: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:727: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:730: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:732: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1834: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1842: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1851: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1854: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1862: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1863: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1864: error: syntax error
before '*' token
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1871: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1888: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1927: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1928: warning: data
definition has no type or storage class
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1930: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1931: warning: data
definition has no type or storage class
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1933: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: error: syntax error
before "jsize"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1934: warning: data
definition has no type or storage class
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1937: error: syntax error
before "jint"
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1938: warning: data
definition has no type or storage class
/usr/local/linux-sun-jdk1.4.2/include/jni.h:1940: error: syntax error
before "void"
In file included from
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:11:
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.h:24:
error: syntax error before "jstring"
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:13:
error: syntax error before "jstring"
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:17:
error: `nameStr' undeclared here (not in a function)
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:17:
error: initializer element is not constant
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:18:
error: syntax error before '->' token
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:18:
warning: parameter names (without types) in function declaration
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:18:
warning: data definition has no type or storage class
/usr/ports/java/jdk15/work/control/make/../../deploy/src/common/unix/native/config.c:20:
error: syntax error before "if"
gmake[3]: *** [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/deployObj/config.o]
Error 1
gmake[3]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/javaws'
gmake[2]: *** [installer-int] Error 2
gmake[2]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make/javaws'
gmake[1]: *** [javaws-all] Error 2
gmake[1]: Leaving directory `/usr/ports/java/jdk15/work/deploy/make'
gmake: *** [deploy-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk15.

Thank-you

Kind Regards,

Mark Hobden

On 9/9/05, Greg Lewis <glewis at eyesbeyond.com> wrote:
> All,
> 
> Here is the current patch I am testing.  Please give it a try and provide
> some feedback.  Unfortunately it disables the shared class data archive
> since that is causing problems for me on 4.x and isn't support on 5.4/amd64
> (my other testing machine).  If you have a 5.x or 6.x i386 machine then
> please try to test that and let me know if it should be put back in under
> those restrictions.  I was sure it was working before, but it isn't now.
> This also fixes a bug with the packing list when the debug stuff is
> included.
>


More information about the freebsd-java mailing list