当前时区为 UTC + 8 小时



发表新帖 回复这个主题  [ 6 篇帖子 ] 
作者 内容
1 楼 
 文章标题 : 用jhbuild编译gnome 2.28遇到的这个错误, 从哪入手?缺什么?
帖子发表于 : 2009-09-25 10:22 
头像

注册: 2007-01-30 7:13
帖子: 1446
送出感谢: 4
接收感谢: 0 次
collect2: ld returned 1 exit status
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
make[2]: *** [libs_tier_toolkit] Error 2
make[2]: Leaving directory `/home/linux/checkout/gnome2/mozilla'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory `/home/linux/checkout/gnome2/mozilla'
make: *** [default] Error 2
*** Error during phase build of mozilla: ########## Error running make *** [70/233]

[1] Rerun phase build
[2] Ignore error and continue to install
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "configure"
[8] Go to phase "clean"
[9] Go to phase "distclean"
choice:


页首
 用户资料  
 
2 楼 
 文章标题 : Re: 用jhbuild编译gnome 2.28遇到的这个错误, 从哪入手?缺什么?
帖子发表于 : 2009-09-25 10:26 
头像

注册: 2007-09-29 3:09
帖子: 5773
送出感谢: 0 次
接收感谢: 3
你都没贴出关键的地方来...
collect2: ld returned 1 exit status,把这个上面几行贴出来看看...


_________________
HUNT Unfortunately No Talent...


页首
 用户资料  
 
3 楼 
 文章标题 : Re: 用jhbuild编译gnome 2.28遇到的这个错误, 从哪入手?缺什么?
帖子发表于 : 2009-09-25 10:28 
头像

注册: 2007-01-30 7:13
帖子: 1446
送出感谢: 4
接收感谢: 0 次
引用:
/home/linux/checkout/gnome2/mozilla/config/nsinstall -R -m 644 libsystem-pref.a ../../../../../staticlib/components
make[6]: Leaving directory `/home/linux/checkout/gnome2/mozilla/extensions/pref/system-pref/src/gconf'
make[5]: Leaving directory `/home/linux/checkout/gnome2/mozilla/extensions/pref/system-pref/src'
make[4]: Leaving directory `/home/linux/checkout/gnome2/mozilla/extensions/pref/system-pref'
make[3]: Leaving directory `/home/linux/checkout/gnome2/mozilla/extensions/pref'
make[3]: Entering directory `/home/linux/checkout/gnome2/mozilla/embedding/browser/gtk'
make[4]: Entering directory `/home/linux/checkout/gnome2/mozilla/embedding/browser/gtk/src'
make[4]: Leaving directory `/home/linux/checkout/gnome2/mozilla/embedding/browser/gtk/src'
make[3]: Leaving directory `/home/linux/checkout/gnome2/mozilla/embedding/browser/gtk'
make[3]: Entering directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
rm -f libxul.so
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o -lpthread -L/opt/gnome2/lib -Wl,-rpath-link,../../dist/bin -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libxmlextras.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboji.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a ../../staticlib/libjsj.a -Wl,--no-whole-archive -L/opt/gnome2/lib -lsqlite3 -L../../dist/bin -L../../dist/lib -L../../dist/bin -L../../dist/lib -ljpeg -L../../modules/libimg/png -lmozpng -L../../dist/bin -lmozlcms -L../../dist/bin -lmozjs -L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -lz -L/opt/gnome2/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/opt/gnome2/lib -lcairo -lfreetype -lz -lfontconfig -L/opt/gnome2/lib -lXrender -lcairo -lX11 -L/opt/gnome2/lib -lplds4 -lplc4 -lnspr4 -L/opt/gnome2/lib -lpthread -ldl -lX11 -L/opt/gnome2/lib -lXft -lfontconfig -L/opt/gnome2/lib -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lz -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lXt -lgthread-2.0 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -L/opt/gnome2/lib -lstartup-notification-1 -ldl -lm
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `UnregisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x238): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `RegisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x30f): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
collect2: ld returned 1 exit status
make[3]: *** [libxul.so] Error 1
make[3]: Leaving directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
make[2]: *** [libs_tier_toolkit] Error 2
make[2]: Leaving directory `/home/linux/checkout/gnome2/mozilla'
make[1]: *** [tier_toolkit] Error 2
make[1]: Leaving directory `/home/linux/checkout/gnome2/mozilla'
make: *** [default] Error 2
*** Error during phase build of mozilla: ########## Error running make *** [70/233]

[1] Rerun phase build
[2] Ignore error and continue to install
[3] Give up on module
[4] Start shell
[5] Reload configuration
[6] Go to phase "wipe directory and start over"
[7] Go to phase "configure"
[8] Go to phase "clean"
[9] Go to phase "distclean"


页首
 用户资料  
 
4 楼 
 文章标题 : Re: 用jhbuild编译gnome 2.28遇到的这个错误, 从哪入手?缺什么?
帖子发表于 : 2009-09-25 11:05 
头像

注册: 2007-01-30 7:13
帖子: 1446
送出感谢: 4
接收感谢: 0 次
请有经验的朋友给我指点一下。


页首
 用户资料  
 
5 楼 
 文章标题 : Re: 用jhbuild编译gnome 2.28遇到的这个错误, 从哪入手?缺什么?
帖子发表于 : 2009-09-25 11:13 
头像

注册: 2007-01-30 7:13
帖子: 1446
送出感谢: 4
接收感谢: 0 次
在网络中搜索到这一段, 但还是不能解决问题。

引用:
Running both
./sugar-jhbuild build meta-sugar-base
and
./sugar-jhbuild build-base

give me the following error on fc6:
../../dist/lib/components/libnecko.a: member
../../dist/lib/components/libnecko.a(nsSocketTransport2.o) in archive is not
an object
collect2: ld returned 1 exit status
gmake[3]: *** [libxul.so] Error 1
gmake[3]: Leaving directory
`/root/sugars/sugar-jhbuild/source/mozilla/toolkit/library'
gmake[2]: *** [libs_tier_toolkit] Error 2
gmake[2]: Leaving directory `/root/sugars/sugar-jhbuild/source/mozilla'
gmake[1]: *** [tier_toolkit] Error 2
gmake[1]: Leaving directory `/root/sugars/sugar-jhbuild/source/mozilla'
make: *** [default] Error 2
*** error during stage build of mozilla: ########## Error running make ***
[27/29]

And, not surprisingly, this is the error we get when we try to build:

[root at localhost sugar-jhbuild]# ./sugar-jhbuild build
Checking dependencies...
Missing dependencies:

xulrunner/firefox 1.8/1.9

Any suggestions? Thanks! Erik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.laptop.org/pipermail/sug ... hment.html


页首
 用户资料  
 
6 楼 
 文章标题 : Re: 用jhbuild编译gnome 2.28遇到的这个错误, 从哪入手?缺什么?
帖子发表于 : 2009-09-25 15:14 
头像

注册: 2007-01-30 7:13
帖子: 1446
送出感谢: 4
接收感谢: 0 次
后来我直接进入jhbuild遇到问题的目录去make编译, 确定所遇到的问题:

引用:
linux@ubuntu:~/checkout/gnome2/mozilla/toolkit/library$ make
/usr/bin/make export
make[1]: Entering directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
/home/linux/checkout/gnome2/mozilla/config/nsinstall -R ../../rdf/util/src/nsRDFResource.cpp ../../intl/unicharutil/util/nsUnicharUtils.cpp ../../intl/unicharutil/util/nsCompressedCharMap.cpp ../../intl/unicharutil/util/nsBidiUtils.cpp .
make[1]: Leaving directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
/usr/bin/make libs
make[1]: Entering directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
rm -f libxul.so
c++ -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-long-long -pedantic -fno-strict-aliasing -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-h,libxul.so -o libxul.so nsStaticXULComponents.o nsUnicharUtils.o nsCompressedCharMap.o nsBidiUtils.o nsRDFResource.o -lpthread -L/opt/gnome2/lib -Wl,-rpath-link,../../dist/bin -Wl,--whole-archive ../../embedding/browser/gtk/src/libgtkembedmoz.a ../../toolkit/xre/libxulapp_s.a ../../staticlib/components/libxpconnect.a ../../staticlib/components/libnecko.a ../../staticlib/components/libuconv.a ../../staticlib/components/libi18n.a ../../staticlib/components/libchardet.a ../../staticlib/components/libjar50.a ../../staticlib/components/libpref.a ../../staticlib/components/libcaps.a ../../staticlib/components/libhtmlpars.a ../../staticlib/components/libimglib2.a ../../staticlib/components/libgklayout.a ../../staticlib/components/libdocshell.a ../../staticlib/components/libembedcomponents.a ../../staticlib/components/libwebbrwsr.a ../../staticlib/components/libnsappshell.a ../../staticlib/components/libtxmgr.a ../../staticlib/components/libchrome.a ../../staticlib/components/libcommandlines.a ../../staticlib/components/libtoolkitcomps.a ../../staticlib/components/libpipboot.a ../../staticlib/components/libpipnss.a ../../staticlib/components/libxmlextras.a ../../staticlib/components/libgkplugin.a ../../staticlib/components/libmozfind.a ../../staticlib/components/libappcomps.a ../../staticlib/components/libunixproxy.a ../../staticlib/components/libxpinstall.a ../../staticlib/components/libjsd.a ../../staticlib/components/libautoconfig.a ../../staticlib/components/libauth.a ../../staticlib/components/libcookie.a ../../staticlib/components/libpermissions.a ../../staticlib/components/libuniversalchardet.a ../../staticlib/components/libcomposer.a ../../staticlib/components/librdf.a ../../staticlib/components/libwindowds.a ../../staticlib/components/libintlapp.a ../../staticlib/components/libfileview.a ../../staticlib/components/libstoragecomps.a ../../staticlib/components/libplaces.a ../../staticlib/components/libtkautocomplete.a ../../staticlib/components/libsatchel.a ../../staticlib/components/libpippki.a ../../staticlib/components/libucvmath.a ../../staticlib/components/libwidget_gtk2.a ../../staticlib/components/libsystem-pref.a ../../staticlib/components/libgkgfxthebes.a ../../staticlib/components/liboji.a ../../staticlib/components/libaccessibility.a ../../staticlib/components/libremoteservice.a ../../staticlib/components/libspellchecker.a ../../staticlib/components/libzipwriter.a ../../staticlib/libxpcom_core.a ../../staticlib/libucvutil_s.a ../../staticlib/libgkgfx.a ../../staticlib/libgfxshared_s.a ../../staticlib/libmozreg_s.a ../../staticlib/libmorkreader_s.a ../../staticlib/libgtkxtbin.a ../../staticlib/libgfxpsshar.a ../../staticlib/libthebes.a ../../staticlib/libjsj.a -Wl,--no-whole-archive -L/opt/gnome2/lib -lsqlite3 -L../../dist/bin -L../../dist/lib -L../../dist/bin -L../../dist/lib -ljpeg -L../../modules/libimg/png -lmozpng -L../../dist/bin -lmozlcms -L../../dist/bin -lmozjs -L/usr/lib -lssl3 -lsmime3 -lnss3 -lnssutil3 -lcrmf -lz -L/opt/gnome2/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lfreetype -lz -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/opt/gnome2/lib -lcairo -lfreetype -lz -lfontconfig -L/opt/gnome2/lib -lXrender -lcairo -lX11 -L/opt/gnome2/lib -lplds4 -lplc4 -lnspr4 -L/opt/gnome2/lib -lpthread -ldl -lX11 -L/opt/gnome2/lib -lXft -lfontconfig -L/opt/gnome2/lib -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfreetype -lz -lfontconfig -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lpango-1.0 -lcairo -lgmodule-2.0 -lgobject-2.0 -lglib-2.0 -lXt -lgthread-2.0 -L/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -lfreetype -lz -L/opt/gnome2/lib -lstartup-notification-1 -ldl -lm
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `UnregisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x238): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
../../staticlib/components/libpipnss.a(nsNSSCallbacks.o): In function `RegisterMyOCSPAIAInfoCallback()':
nsNSSCallbacks.cpp:(.text+0x30f): undefined reference to `CERT_RegisterAlternateOCSPAIAInfoCallBack'
collect2: ld returned 1 exit status
make[1]: *** [libxul.so] Error 1
make[1]: Leaving directory `/home/linux/checkout/gnome2/mozilla/toolkit/library'
make: *** [default] Error 2
linux@ubuntu:~/checkout/gnome2/mozilla/toolkit/library$


页首
 用户资料  
 
显示帖子 :  排序  
发表新帖 回复这个主题  [ 6 篇帖子 ] 

当前时区为 UTC + 8 小时


在线用户

正在浏览此版面的用户:没有注册用户 和 4 位游客


不能 在这个版面发表主题
不能 在这个版面回复主题
不能 在这个版面编辑帖子
不能 在这个版面删除帖子
不能 在这个版面提交附件

前往 :  
本站点为公益性站点,用于推广开源自由软件,由 DiaHosting VPSBudgetVM VPS 提供服务。
我们认为:软件应可免费取得,软件工具在各种语言环境下皆可使用,且不会有任何功能上的差异;
人们应有定制和修改软件的自由,且方式不受限制,只要他们自认为合适。

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
简体中文语系由 王笑宇 翻译