LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2202|回复: 16

升级时到m4编译就出错了。

[复制链接]
发表于 2007-11-1 18:32:03 | 显示全部楼层 |阅读模式
collect2: ld returned 1 exit status
make[1]: *** [m4] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/m4-1.4.10-r1/work/m4-1.4.10/src'
make: *** [all-recursive] Error 1
*
* ERROR: sys-devel/m4-1.4.10-r1 failed.
* Call stack:
*             ebuild.sh, line 1695:  Called dyn_compile
*             ebuild.sh, line 1033:  Called qa_call 'src_compile'
*             ebuild.sh, line   44:  Called src_compile
*   m4-1.4.10-r1.ebuild, line   37:  Called die
* The specific snippet of code:
*      emake || die
*  The die message:
*   (no error message)
*
* 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/m4-1.4.10-r1/temp/build.log'.
*

* Messages for package sys-devel/m4-1.4.10-r1:

*
* ERROR: sys-devel/m4-1.4.10-r1 failed.
* Call stack:
*             ebuild.sh, line 1695:  Called dyn_compile
*             ebuild.sh, line 1033:  Called qa_call 'src_compile'
*             ebuild.sh, line   44:  Called src_compile
*   m4-1.4.10-r1.ebuild, line   37:  Called die
* The specific snippet of code:
*      emake || die
*  The die message:
*   (no error message)
*
* 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/m4-1.4.10-r1/temp/build.log'.
发表于 2007-11-1 19:09:04 | 显示全部楼层
请附上你的搜索结果,如果你搜索过 bugs.gentoo.org 但仍然没有搜到的话
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 18:24:50 | 显示全部楼层
到现在还没解决,每次编译都skipfirst,不知道为什么会出现这种问题。
回复 支持 反对

使用道具 举报

发表于 2007-12-13 19:18:33 | 显示全部楼层
你前面贴的不包括错误信息

错误信息在上面
找error字样
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-13 23:48:18 | 显示全部楼层
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT eval.o -MD -MP -MF .deps/eval.Tpo -c -o eval.o eval.c
mv -f .deps/eval.Tpo .deps/eval.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT format.o -MD -MP -MF .deps/format.Tpo -c -o format.o format.c
mv -f .deps/format.Tpo .deps/format.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT freeze.o -MD -MP -MF .deps/freeze.Tpo -c -o freeze.o freeze.c
mv -f .deps/builtin.Tpo .deps/builtin.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT input.o -MD -MP -MF .deps/input.Tpo -c -o input.o input.c
mv -f .deps/freeze.Tpo .deps/freeze.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT macro.o -MD -MP -MF .deps/macro.Tpo -c -o macro.o macro.c
mv -f .deps/macro.Tpo .deps/macro.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT output.o -MD -MP -MF .deps/output.Tpo -c -o output.o output.c
mv -f .deps/input.Tpo .deps/input.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT path.o -MD -MP -MF .deps/path.Tpo -c -o path.o path.c
mv -f .deps/output.Tpo .deps/output.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT symtab.o -MD -MP -MF .deps/symtab.Tpo -c -o symtab.o symtab.c
mv -f .deps/path.Tpo .deps/path.Po
i686-pc-linux-gnu-gcc -std=gnu99    -I../lib -I../lib   -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -MT stackovf.o -MD -MP -MF .deps/stackovf.Tpo -c -o stackovf.o stackovf.c
mv -f .deps/symtab.Tpo .deps/symtab.Po
mv -f .deps/stackovf.Tpo .deps/stackovf.Po
i686-pc-linux-gnu-gcc -std=gnu99  -march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time  -Wl,-O1 -o m4 m4.o builtin.o debug.o eval.o format.o freeze.o input.o macro.o output.o path.o symtab.o stackovf.o ../lib/libm4.a  
../lib/libm4.a(vasnprintf.o): In function `vasnprintf':
vasnprintf.c.text+0x22e5): undefined reference to `decimal_point_char'
vasnprintf.c.text+0x2399): undefined reference to `decimal_point_char'
vasnprintf.c.text+0x2452): undefined reference to `decimal_point_char'
vasnprintf.c.text+0x2507): undefined reference to `decimal_point_char'
collect2: ld returned 1 exit status
make[1]: *** [m4] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-devel/m4-1.4.10-r1/work/m4-1.4.10/src'
make: *** [all-recursive] Error 1
*
* ERROR: sys-devel/m4-1.4.10-r1 failed.
* Call stack:
*               ebuild.sh, line   46:  Called src_compile
*             environment, line 2041:  Called die
* The specific snippet of code:
*       emake || diefunc "$FUNCNAME" "$LINENO" "$?"
*  The die message:
*   (no error message)
*
* 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/m4-1.4.10-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/m4-1.4.10-r1/temp/environment'.
*

* Messages for package sys-devel/m4-1.4.10-r1:

*
* ERROR: sys-devel/m4-1.4.10-r1 failed.
* Call stack:
*               ebuild.sh, line   46:  Called src_compile
*             environment, line 2041:  Called die
* The specific snippet of code:
*       emake || diefunc "$FUNCNAME" "$LINENO" "$?"
*  The die message:
*   (no error message)
*
* 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/m4-1.4.10-r1/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-devel/m4-1.4.10-r1/temp/environment'.
*
回复 支持 反对

使用道具 举报

发表于 2007-12-14 01:08:00 | 显示全部楼层
http://www.google.com.hk/search? ... +%E6%90%9C%E7%B4%A2
其实你可以搜一下
不必事事都等别人来帮你
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-12-18 10:16:16 | 显示全部楼层
老大,google上都找过了,没什么可以参考的消息。我自己把m4压缩包解压是可以安装的,emerge 就是不行。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-3 00:29:01 | 显示全部楼层
emerge --info
Portage 2.1.4_rc11 (default-linux/x86/2007.0, gcc-4.2.2, glibc-2.7-r1, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sat, 29 Dec 2007 17:16:01 +0000
app-shells/bash: 3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python: 2.5.1-r4
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time"
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/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=k8 -O2 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.anheng.com.cn/gentoo/ http://linux.ntcu.net/ftp/dists/gentoo ftp://gentoo.imj.fr/pub/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ ftp://ftp.public.fix.fi/gentoo ftp://194.117.143.70/sites/gentoo ftp://linux.ntcu.net/dists/gentoo/ http://mymirror.asiaosc.org/gentoo/ http://ftp.gentoo.or.kr/ http://gentoo.139pay.com http://www.zentek-international.com/mirrors/gentoo http://gentoo.gg3.net"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 cdparanoia cdr cjk cli cracklib crypt cups dga dri dts dv dvd dvdr encode f77 ffmpeg flac foomaticdb fortran freetype freetype2 gdbm gif glitz gnome gpm gtk gtk2 hal iconv imlib immqt-bc ipv6 isdnlog jpeg kde lame libg++ libwww live mad matrox midi mikmod mmx mmxext motif mp3 mpeg mplayer mudflap ncurse ncurses nls nptl nptlonly nvidia ogg oggvorbis openal opengl openmp oss pam pcre pdf pdflib perl png pppd python qt quicktime readline real reflection scim sdl session skim spell spl sse sse2 sse3 ssl svga tcpd theora truetype truetype-fonts type1-fonts unicode usb userlocales utf8 v4l vcd vcdimager video vidix vorbis win32codecs wxwindows x86 xml2 xorg xv xvid zlib" ALSA_CARDS="intel8x0" 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-3 00:30:39 | 显示全部楼层
老大帖子发在forum.gentoo.org也没人回答。我emerge 些版本的ebuild也出错。
回复 支持 反对

使用道具 举报

发表于 2008-1-3 01:03:40 | 显示全部楼层
自己找找原因,自己编译可以,emerge不行,而且又搜不到什么有用信息,别人也没遇到过
显然,这是非常少见的问题,肯定有你的特殊情况
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表