|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Alex Masterov 2:5002/63.100 28 Jun 2006 15:36:28 To : All Subject : jdk 1.5 & firefox -------------------------------------------------------------------------------- Кому-нибудь удалось собрать java с плагином для FireFox? Установлен FireFox 1.5.0.4 из портов. Собираю жаву из портов с WITH_MOZILLA=firefox С параметром WITHOUT_MOZILLA собирается без проблем. Вылетает со следующей диагностикой: /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-p3-alex_27_jun_2006_23_06\" -DRELEASE=\"1.5.0-p3\" -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/adapter/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 Stop in /usr/ports/java/jdk15. С уважением, Alex. --- FleetStreet 1.27.1 * Origin: Ceterum censeo Carthaginem delendam esse! (2:5002/63.100) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/382644a2b1c4.html, оценка из 5, голосов 10
|