Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge gcc4 时的问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
whblackhorse
n00b
n00b


Joined: 15 Mar 2004
Posts: 36
Location: cn

PostPosted: Wed Apr 27, 2005 1:23 am    Post subject: emerge gcc4 时的问题 Reply with quote

emerge 到gpm就进行不下去了
错误信息:

Code:
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo udiv | sed 's/_$//'`    -march=athlon-xp -O3 -pipe -fomit-frame-pointer `test -f udiv.asm || echo './'`udiv.asm
/bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" i686-pc-linux-gnu-gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo umul | sed 's/_$//'`    -march=athlon-xp -O3 -pipe -fomit-frame-pointer `test -f umul.asm || echo './'`umul.asm
libtool: unrecognized option `--tag=CC'
Try `libtool --help' for more information.
make[2]: *** [umul.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: unrecognized option `--tag=CC'
Try `libtool --help' for more information.
make[2]: *** [udiv.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/gmp-4.1.4/work/gmp-4.1.4/mpn'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gmp-4.1.4/work/gmp-4.1.4'
make: *** [all] Error 2

!!! ERROR: dev-libs/gmp-4.1.4 failed.
!!! Function src_compile, Line 61, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.

但我运行了libtool --help看了一下,是有 --tag这个开关的
Code:
$ libtool --help
Usage: libtool [OPTION]... [MODE-ARG]...

Provide generalized library-building support services.

    --config          show all configuration variables
    --debug           enable verbose shell tracing
-n, --dry-run         display commands without modifying any files
    --features        display basic configuration information and exit
    --finish          same as `--mode=finish'
    --help            display this help message and exit
    --mode=MODE       use operation mode MODE [default=inferred from MODE-ARGS]
    --quiet           same as `--silent'
    --silent          don't print informational messages
    --tag=TAG         use configuration variables from tag TAG
    --version         print version information

MODE must be one of the following:

      clean           remove files from the build directory
      compile         compile a source file into a libtool object
      execute         automatically set library path, then run a program
      finish          complete the installation of libtool libraries
      install         install libraries or executables
      link            create a library or an executable
      uninstall       remove libraries from an installed directory

MODE-ARGS vary depending on the MODE.  Try `libtool --help --mode=MODE' for
a more detailed description of MODE.

Report bugs to <bug-libtool@gnu.org>.


我的emerge --info
Code:
Portage 2.0.51.20-r4 (default-linux/x86/2005.0, gcc-3.3.4, glibc-2.3.4.20041102-r0, 2.6.9-rc1-nitro4 i686)
=================================================================
System uname: 2.6.9-rc1-nitro4 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.5.3
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc/conf.d/net /etc/fstab /etc/group /etc/make.conf /etc/passwd /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks keepwork sandbox sfperms strict userpriv"
GENTOO_MIRRORS="ftp://ftp.tsinghua.edu.cn/mirror/gentoo ftp://ftp.sjtu.edu.cn/mirror/gentoo http://gentoo.mirrors.pair.com http://mymirror.asiaosc.org/gentoo/  http://www.zentek-international.com/mirrors/gentoo/ ftp://radio.lzusiyu.org  http://mirror.gentoo.gr.jp  http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo http://www.zentek-international.com/mirrors/#gentoo"
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.tsinghua.edu.cn/gentoo/gentoo-portage"
USE="x86 3dnow X aalib alsa apm arts avi berkdb bidi bitmap-fonts cdr cjk crypt curl directfb dvd emboss encode esd faad fam flac foomaticdb fortran fvwm gdbm gif glc gpm gtk2 guile imagemagick imlib java jpeg junit kde libg++ libwww linguas_zh_CN mad matroska mikmod mmx motif mp3 mpeg mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts userlocales vorbis wxwindows xml2 xmms xprint xv zlib"
Unset:  ASFLAGS, CTARGET, LC_ALL, LINGUAS

哪位大侠帮帮忙,谢谢:wink: :wink:

edit:
修改成 utf-8 编码重新提交以消除乱码.
Please set your browser's character encoding to utf-8 while posting :)
- Eric
Back to top
View user's profile Send private message
whblackhorse
n00b
n00b


Joined: 15 Mar 2004
Posts: 36
Location: cn

PostPosted: Wed Apr 27, 2005 4:49 am    Post subject: Reply with quote

firefox编码是utf8啊
Back to top
View user's profile Send private message
bookstack
Apprentice
Apprentice


Joined: 27 Feb 2004
Posts: 245

PostPosted: Mon May 09, 2005 4:41 am    Post subject: Reply with quote

gcc4.0已经够稳了吗?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum