|
|
错误信息如下
- libtool: compile: /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/gfortran -B/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -I . -Wall -fno-repack-arrays -fno-underscoring -fallow-leading-underscore -c /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libgfortran/intrinsics/selected_int_kind.f90 -fPIC -o .libs/selected_int_kind.o
- /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libgfortran/intrinsics/selected_int_kind.f90:35.5:
-
- do i = 1, c
- 1
- Error: Syntax error in array constructor at (1)
- /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libgfortran/intrinsics/selected_int_kind.f90:36.27:
-
- if (r <= int_infos (i) % range) then
- 1
- Error: Syntax error in IF-expression at (1)
- /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libgfortran/intrinsics/selected_int_kind.f90:37.6:
-
- _gfortran_selected_int_kind = int_infos (i) % kind
- 1
- Error: Unclassifiable statement at (1)
- /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libgfortran/intrinsics/selected_int_kind.f90:39.7:
-
- end if
- 1
- Error: Expecting END FUNCTION statement at (1)
- /var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/gcc-4.3.1/libgfortran/intrinsics/selected_int_kind.f90:40.5:
-
- end do
- 1
- Error: Expecting END FUNCTION statement at (1)
- make[3]: *** [selected_int_kind.lo] 错误 1
- make[3]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libgfortran'
- make[2]: *** [all] 错误 2
- make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build/i686-pc-linux-gnu/libgfortran'
- make[1]: *** [all-target-libgfortran] 错误 2
- make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.3.1-r1/work/build'
- make: *** [profiledbootstrap] 错误 2
- *
- * ERROR: sys-devel/gcc-4.3.1-r1 failed.
- * Call stack:
- * ebuild.sh, line 49: Called src_compile
- * environment, line 4566: Called toolchain_src_compile
- * environment, line 5081: Called gcc_src_compile
- * environment, line 2930: Called gcc_do_make
- * environment, line 2760: Called die
- * The specific snippet of code:
- * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
- * The die message:
- * emake failed with profiledbootstrap
- *
- * If you need support, post the topmost build error, and the call stack if relevant.
- * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/environment'.
- *
-
- * Messages for package sys-devel/gcc-4.3.1-r1:
-
- *
- * ERROR: sys-devel/gcc-4.3.1-r1 failed.
- * Call stack:
- * ebuild.sh, line 49: Called src_compile
- * environment, line 4566: Called toolchain_src_compile
- * environment, line 5081: Called gcc_src_compile
- * environment, line 2930: Called gcc_do_make
- * environment, line 2760: Called die
- * The specific snippet of code:
- * emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
- * The die message:
- * emake failed with profiledbootstrap
- *
- * If you need support, post the topmost build error, and the call stack if relevant.
- * A complete build log is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/build.log'.
- * The ebuild environment file is located at '/var/tmp/portage/sys-devel/gcc-4.3.1-r1/temp/environment'.
- *
复制代码
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- # emerge --info
- Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686)
- =================================================================
- System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Core-TM-2_CPU_6600_@_2.40GHz-with-glibc2.0
- Timestamp of tree: Fri, 18 Jul 2008 09:16:01 +0000
- ccache version 2.4 [enabled]
- app-shells/bash: 3.2_p39
- dev-lang/python: 2.4.4-r13, 2.5.2-r5
- dev-python/pycrypto: 2.0.1-r6
- dev-util/ccache: 2.4-r7
- sys-apps/baselayout: 2.0.0
- sys-apps/openrc: 0.2.5
- sys-apps/sandbox: 1.2.18.1-r3
- sys-devel/autoconf: 2.13, 2.62-r1
- sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
- sys-devel/binutils: 2.18-r3
- sys-devel/gcc-config: 1.4.0-r4
- sys-devel/libtool: 2.2.4
- virtual/os-headers: 2.6.25-r4
- ACCEPT_KEYWORDS="x86 ~x86"
- CBUILD="i686-pc-linux-gnu"
- CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
- CHOST="i686-pc-linux-gnu"
- CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
- CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
- CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer"
- DISTDIR="/usr/portage/distfiles"
- FEATURES="ccache distlocks parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
- GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo "
- LANG="zh_CN.UTF-8"
- LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-s -Wl,--enable-new-dtags -Wl,--as-needed"
- LINGUAS="en en_US zh zh_CN"
- MAKEOPTS="-j3"
- PKGDIR="/usr/portage/packages"
- PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
- PORTAGE_TMPDIR="/var/tmp"
- PORTDIR="/usr/portage"
- SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
- USE="X acl acpi alsa avahi bash-completion berkdb bluetooth branding bzip2 cairo cdr cjk cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gconf gdbm gif gnome gpm gstream gstreamer gtk gtk2 hal iconv ipv6 isdnlog jack jpeg kde kerberos ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl startup-notification svg tcpd tiff truetype unicode vorbis wav win32codecs wma x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US zh zh_CN" USERLAND="GNU" VIDEO_CARDS="nvidia"
- Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
复制代码
- GraySky / # gcc-config -l
- [1] i686-pc-linux-gnu-4.1.2
- [2] i686-pc-linux-gnu-4.2.4
- [3] i686-pc-linux-gnu-4.3.1 *
- GraySky / # binutils-config -l
- [1] i686-pc-linux-gnu-2.18 *
- GraySky / # eselect profile list
- Available profile symlink targets:
- [1] default-linux/x86/2006.1
- [2] default-linux/x86/2006.1/desktop
- [3] default-linux/x86/2007.0
- [4] default-linux/x86/2007.0/desktop
- [5] hardened/x86/2.6
- [6] selinux/2007.0/x86
- [7] selinux/2007.0/x86/hardened
- [8] default/linux/x86/2008.0
- [9] default/linux/x86/2008.0/desktop *
- [10] default/linux/x86/2008.0/developer
- [11] default/linux/x86/2008.0/no-nptl
- [12] default/linux/x86/2008.0/server
- [13] hardened/linux/x86
复制代码
郁闷
一直找不到原因
如何才可以编译通过呢
thanks |
|