jdk15 Build Error
Beecher Rintoul
akbeech at gmail.com
Fri Dec 9 02:40:53 PST 2005
On Thursday 08 December 2005 08:54 pm, Beecher Rintoul wrote:
> Make WITH_MOZILLA=firefox
> The latest port of jdk15 errors with the following:
>
> 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/local/include/nspr
> -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-root_08_dec_2005_10_13\"
> -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/CNSAdapter_JVMManager.o
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp In
> file included
> from
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17:
> ../../../../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/common/CNSAdapter_JVMManager.cpp:17:
> /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/common/CNSAdapter_JVMManager.cpp:17:
> ../../../../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/common/CNSAdapter_JVMManager.cpp:17:
> /usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the location
> of the previous definition
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In
> member function `virtual JDresult
> CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)':
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142:
> error: `nsPluginThread' undeclared (first use this function)
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142:
> error: (Each undeclared identifier is reported only once for each function
> it appears in.)
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142:
> error: `pPluginThread' undeclared (first use this function)
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In
> member function `virtual JDresult
> CNSAdapter_JVMManager::PostEvent(JDUint32, IRunnable*, JDBool)':
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172:
> error: invalid conversion from `JDUint32' to `PRThread*'
> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172:
> error: initializing argument 1 of `virtual nsresult
> nsIThreadManager::PostEvent(PRThread*, nsIRunnable*, PRBool)'
> gmake[5]: ***
> [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapte
>r/ns7/obj/CNSAdapter_JVMManager.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
>
> The previous port built and installed with no problem.
>
> System: FreeBSD stargate.akparadise.com 7.0-CURRENT FreeBSD 7.0-CURRENT
> #29: Tue Dec 6 23:04:21
>
> Please cc me as I'm not on this list.
>
> Thanks,
>
> Beech
I just tried the same upgrade on one of my work machines and it failed in the
exact same spot.
pinnicle# uname -a
FreeBSD pinnicle 6.0-STABLE FreeBSD 6.0-STABLE #8: Wed Nov 23 03:57:42 AKST
2005 root at pinnicle:/usr/obj/usr/src/sys/PINNICLE i386
Beech
--
---------------------------------------------------------------------------------------
Beech Rintoul - System Administrator - akbeech at gmail.com
/"\ ASCII Ribbon Campaign | NorthWind Communications
\ / - NO HTML/RTF in e-mail | 201 East 9th Avenue Ste.310
X - NO Word docs in e-mail | Anchorage, AK 99501
/ \ - Please visit Alaska Paradise - http://akparadise.byethost33.com
---------------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20051209/9bb3c1d1/attachment.bin
More information about the freebsd-java
mailing list