+ -
当前位置:首页 → 问答吧 → [以解决]emerge glib失败

[以解决]emerge glib失败

时间:2009-09-28

来源:互联网

在我的Thinkpad X200上面安装Gentoo
在emerge其他包时依赖性的安装glib
但是总是报错
我自己独立下了这个包编译就没有问题
内核是2.6.30

以下是报错信息
------------------------------------------------
(省略前面)
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -march=native -O2 -pipe -Wall -MT gatomic.lo -MD -MP -MF .deps/gatomic.Tpo -c gatomic.c -fPIC -DPIC -o .libs/gatomic.o
gatomic.c: Assembler messages:
gatomic.c:264: Error: suffix or operands invalid for `cmpxchg'
make[4]: *** [gatomic.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -march=native -O2 -pipe -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -fPIC -DPIC -o .libs/gasyncqueue.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -march=native -O2 -pipe -Wall -MT garray.lo -MD -MP -MF .deps/garray.Tpo -c garray.c -o garray.o >/dev/null 2>&1
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"GLib\" -DG_DISABLE_CAST_CHECKS -DG_DISABLE_DEPRECATED -DGLIB_COMPILATION -DPCRE_STATIC -DG_DISABLE_SINGLE_INCLUDES -pthread -march=native -O2 -pipe -Wall -MT gasyncqueue.lo -MD -MP -MF .deps/gasyncqueue.Tpo -c gasyncqueue.c -o gasyncqueue.o >/dev/null 2>&1
mv -f .deps/garray.Tpo .deps/garray.Plo
mv -f .deps/gasyncqueue.Tpo .deps/gasyncqueue.Plo
make[4]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/glib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/glib-2.20.5/work/glib-2.20.5'
make: *** [all] Error 2
[31;01m*[0m
[31;01m*[0m ERROR: dev-libs/glib-2.20.5 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 2812: Called _eapi2_src_compile
[31;01m*[0m ebuild.sh, line 634: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake || die "emake failed"
[31;01m*[0m The die message:
[31;01m*[0m emake failed
[31;01m*[0m
[31;01m*[0m If you need support, post the topmost build error, and the call stack if relevant.
[31;01m*[0m A complete build log is located at '/var/tmp/portage/dev-libs/glib-2.20.5/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/dev-libs/glib-2.20.5/temp/environment'.
[31;01m*[0m

作者: supereic   发布时间: 2009-09-28

看置顶问题解决之道

作者: zhllg   发布时间: 2009-09-28

看了版主的回复 我又好好看了看 问题解决之道
在发帖前我也看过

当我又把问题更详细描述出来时,我想到我用的make.conf是别人的 所以我有到make.conf里面看了看 发现一个选项是X86_64 我把它改成i386以后 就OK了 没有了之前出现的问题

谢过

作者: supereic   发布时间: 2009-09-28

热门下载

更多