|

楼主 |
发表于 2009-10-18 16:19:58
|
显示全部楼层
zlib的build.log,好像是gcc版本缘故
>>> Unpacking source...
>>> Unpacking zlib-1.2.3.tar.bz2 to /var/tmp/portage/sys-libs/zlib-1.2.3-r1/work
[32;01m*[0m Applying zlib-1.2.3-build.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.3-visibility-support.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.1-glibc.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.1-build-fPIC.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.1-configure.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.1-fPIC.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.3-r1-bsd-soname.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.3-LDFLAGS.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
[32;01m*[0m Applying zlib-1.2.3-mingw-implib.patch ...
[A[120C [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked in /var/tmp/portage/sys-libs/zlib-1.2.3-r1/work
>>> Compiling source in /var/tmp/portage/sys-libs/zlib-1.2.3-r1/work/zlib-1.2.3 ...
Checking for shared library support...
No shared library support; try without defining CC and CFLAGS
Building static library libz.a version 1.2.3 with i586-pc-linux-gnu-gcc.
Checking for unistd.h... No.
Checking for attribute(visibility) support... No.
Checking whether to use vs[n]printf() or s[n]printf()... using s[n]printf()
Checking for snprintf() in stdio.h... No.
WARNING: snprintf() not found, falling back to sprintf(). zlib
can build but will be open to possible buffer-overflow security
vulnerabilities.
Checking for return value of sprintf()... No.
WARNING: apparently sprintf() does not return a value. zlib
can build but will be open to possible string-format security
vulnerabilities.
Checking for errno.h... No.
Checking for mmap support... No.
make -j2
i586-pc-linux-gnu-gcc -march=c3 -m3dnow -O2 -pipe -fomit-frame-pointer -DNO_snprintf -DHAS_sprintf_void -DNO_ERRNO_H -c -o example.o example.c
i586-pc-linux-gnu-gcc: No such file or directory
make: *** [example.o] Error 1
[31;01m*[0m
[31;01m*[0m ERROR: sys-libs/zlib-1.2.3-r1 failed.
[31;01m*[0m Call stack:
[31;01m*[0m ebuild.sh, line 49: Called src_compile
[31;01m*[0m environment, line 2546: Called die
[31;01m*[0m The specific snippet of code:
[31;01m*[0m emake || die
[31;01m*[0m The die message:
[31;01m*[0m (no error message)
[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/sys-libs/zlib-1.2.3-r1/temp/build.log'.
[31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/sys-libs/zlib-1.2.3-r1/temp/environment'.
[31;01m*[0m |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|