|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Vitaly Lyashchuk 2:4501/10.9 28 Jun 2006 23:43:14 To : Alex Masterov Subject : jdk 1.5 & firefox -------------------------------------------------------------------------------- AM> Кому-нибудь удалось собрать java с плагином для FireFox? AM> Установлен FireFox 1.5.0.4 из портов. AM> Собираю жаву из портов с WITH_MOZILLA=firefox AM> С параметром WITHOUT_MOZILLA собирается без проблем. AM> Вылетает со следующей диагностикой: AM> /usr/bin/g++ -fPIC -DCC_NOEX -W -Wall -Wno-unused -Wno-parentheses AM> -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include AM> -I/usr/ports/java/jdk15/work/control/build/bsd-i586/include/freebsd AM> -I/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin AM> -I../../../../src/plugin/solaris/common AM> -I../../../../src/plugin/share/adapter/ns7 AM> -I../../../../src/plugin/share/adapter/common AM> -I../../../../src/plugin/share/adapter/include AM> -I../../../../src/plugin/solaris/nscore AM> -I../../../../src/plugin/share/jpiapi -I/usr/X11R6/include/firefox AM> -I/usr/X11R6/include/firefox/caps -I/usr/X11R6/include/firefox/liveconnect AM> -I/usr/X11R6/include/firefox/nspr -I/usr/X11R6/include/firefox/oji AM> -I/usr/X11R6/include/firefox/plugin -I/usr/X11R6/include/firefox/xpcom AM> -I/usr/local/include/nspr -I/usr/X11R6/include AM> -I/usr/local/include AM> -I../../../../../j2se/make/../src/solaris/javavm/expor t AM> -I../../../../../j2se/make/../src/share/javavm/export -I../../../../../j2 AM> se/make/../src/share/javavm/include AM> -I../../../../../j2se/make/../src/solar is/javavm/include -D_GNU_SOURCE AM> -DXP_UNIX -D_ALLBSD_SOURCE -DPLUGIN_NODOTVERSION=\"150\" AM> -DPLUGIN_VERSION=\"1.5.0\" -DVERSION=\"1.5.0-p3-alex_27_jun_2006_23_06\" AM> -DRELEASE=\"1.5.0-p3\" -DARCH=\"i586\" -DLIBARCH=\"i386\" -c -o AM> /usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adap AM> ter/ns7/obj/CNSAdapter_JVMManager.o AM> ../../../../src/plugin/share/adapter/co mmon/CNSAdapter_JVMManager.cpp In AM> file included from AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: AM> 17: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:61:1: warning: AM> "NS_ASSERTION" redefined In file included from AM> ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, AM> from AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17: AM> /usr/X11R6/include/firefox/nsDebug.h:208:1: warning: this is the location AM> of the previous definition In file included AM> from AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: AM> 17: ../../../../src/plugin/share/adapter/ns7/StdAfx.h:62:1: AM> warning: "NS_PRECONDITION" redefined In file included from AM> ../../../../src/plugin/share/adapter/ns7/StdAfx.h:59, AM> from AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:17: AM> /usr/X11R6/include/firefox/nsDebug.h:207:1: warning: this is the location AM> of the previous AM> definition AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManage r.cpp: In AM> member function `virtual JDresult AM> CNSAdapter_JVMManager::GetCurrentThread(JDUint32*)': ../../../../s AM> rc/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: AM> error: `nsPluginThread' undeclared (first use this function) AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:142: AM> error: (Each undeclared identifier is reported only once for each function AM> it appears AM> in.) AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: AM> 142: AM> error: `pPluginThread' undeclared (first use this function) AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp: In AM> member function `virtual JDresult AM> CNSAdapter_JVMManager::PostEvent(JDUint32, IRunnable*, AM> JDBool)': AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager AM> .cpp:172: AM> error: invalid conversion from `JDUint32' to `PRThread*' AM> ../../../../src/plugin/share/adapter/common/CNSAdapter_JVMManager.cpp:172: AM> error: initializing argument 1 of `virtual nsresult AM> nsIThreadManager::PostEvent(PRThread*, nsIRunnable*, PRBool)' AM> gmake[5]: *** AM> [/usr/ports/java/jdk15/work/control/build/bsd-i586/tmp/deploy/plugin/adapt AM> e r/ns7/obj/CNSAdapter_JVMManager.o] Error 1 gmake[5]: Leaving directory AM> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapte r' AM> gmake[4]: *** [optimized] Error 2 gmake[4]: Leaving directory AM> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter/ns7-adapte r' AM> gmake[3]: *** [ns7-adapter] Error 2 gmake[3]: Leaving directory AM> `/usr/ports/java/jdk15/work/deploy/make/plugin/adapter' gmake[2]: AM> *** [adapter] Error 2 gmake[2]: Leaving directory AM> `/usr/ports/java/jdk15/work/deploy/make/plugin' gmake[1]: *** [plugin-all] AM> Error 2 gmake[1]: Leaving directory AM> `/usr/ports/java/jdk15/work/deploy/make' AM> gmake: *** [deploy-build] Error 2 AM> *** Error code 2 AM> Stop in /usr/ports/java/jdk15. у меня из портов собралась. правда firefox версии 1.5.0.1 --- GoldED+/BSD 1.1.5 * Origin: (2:4501/10.9) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/275144a2e9fa.html, оценка из 5, голосов 10
|