|
|

楼主 |
发表于 2009-2-20 12:44:36
|
显示全部楼层
我把编译时候出的提示贴上来了,大家帮看看,谢谢
Calculating dependencies ... done!
>>> Verifying ebuild manifests
>>> Starting parallel fetch
>>> Emerging (1 of 71) x11-libs/libdrm-2.3.0
* libdrm-2.3.0.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking libdrm-2.3.0.tar.gz to /var/tmp/portage/x11-libs/libdrm-2.3.0/work
* Running elibtoolize in: libdrm-2.3.0
* Applying install-sh-1.5.4.patch ...
* Applying portage-1.5.10.patch ...
* Applying max_cmd_len-1.5.20.patch ...
* Applying sed-1.5.6.patch ...
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0 ...
* econf: updating libdrm-2.3.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating libdrm-2.3.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr --datadir=/usr/share --libdir=/usr/lib64 --build=x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... gcc3
checking for a sed that does not truncate output... /bin/sed
checking for egrep... grep -E
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... gcc3
checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E
checking for x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-ifc... no
checking for x86_64-pc-linux-gnu-efc... no
checking for x86_64-pc-linux-gnu-pgf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-pc-linux-gnu-gfortran accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for objdir... .libs
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by x86_64-pc-linux-gnu-g++... /usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking for x86_64-pc-linux-gnu-g++ option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-g++ PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-g++ static flag -static works... yes
checking if x86_64-pc-linux-gnu-g++ supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes
checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes
checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... (cached) none needed
checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) gcc3
checking for ANSI C header files... (cached) yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGE_FILES value needed for large files... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libdrm/Makefile
config.status: creating shared-core/Makefile
config.status: creating libdrm.pc
config.status: creating libdrm/config.h
config.status: executing depfiles commands
make -j3
Making all in libdrm
make[1]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
make all-am
make[2]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drm.lo -MD -MP -MF ".deps/xf86drm.Tpo" -c -o xf86drm.lo xf86drm.c; \
then mv -f ".deps/xf86drm.Tpo" ".deps/xf86drm.Plo"; else rm -f ".deps/xf86drm.Tpo"; exit 1; fi
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drmHash.lo -MD -MP -MF ".deps/xf86drmHash.Tpo" -c -o xf86drmHash.lo xf86drmHash.c; \
then mv -f ".deps/xf86drmHash.Tpo" ".deps/xf86drmHash.Plo"; else rm -f ".deps/xf86drmHash.Tpo"; exit 1; fi
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drmRandom.lo -MD -MP -MF ".deps/xf86drmRandom.Tpo" -c -o xf86drmRandom.lo xf86drmRandom.c; \
then mv -f ".deps/xf86drmRandom.Tpo" ".deps/xf86drmRandom.Plo"; else rm -f ".deps/xf86drmRandom.Tpo"; exit 1; fi
mkdir .libs
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drmHash.lo -MD -MP -MF .deps/xf86drmHash.Tpo -c xf86drmHash.c -fPIC -DPIC -o .libs/xf86drmHash.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drmRandom.lo -MD -MP -MF .deps/xf86drmRandom.Tpo -c xf86drmRandom.c -fPIC -DPIC -o .libs/xf86drmRandom.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drm.lo -MD -MP -MF .deps/xf86drm.Tpo -c xf86drm.c -fPIC -DPIC -o .libs/xf86drm.o
if /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drmSL.lo -MD -MP -MF ".deps/xf86drmSL.Tpo" -c -o xf86drmSL.lo xf86drmSL.c; \
then mv -f ".deps/xf86drmSL.Tpo" ".deps/xf86drmSL.Plo"; else rm -f ".deps/xf86drmSL.Tpo"; exit 1; fi
xf86drm.c: In function 'drmOpenDevice':
xf86drm.c:292: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
xf86drm.c:304: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
xf86drm.c:321: warning: ignoring return value of 'chown', declared with attribute warn_unused_result
xf86drm.c: In function 'drmAddMap':
xf86drm.c:877: warning: cast from pointer to integer of different size
xf86drm.c: In function 'drmRmMap':
xf86drm.c:885: warning: cast to pointer from integer of different size
xf86drm.c: In function 'drmAddContextPrivateMapping':
xf86drm.c:1941: warning: cast to pointer from integer of different size
xf86drm.c: In function 'drmGetContextPrivateMapping':
xf86drm.c:1955: warning: cast from pointer to integer of different size
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I. -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -MT xf86drmSL.lo -MD -MP -MF .deps/xf86drmSL.Tpo -c xf86drmSL.c -fPIC -DPIC -o .libs/xf86drmSL.o
/bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -I../shared-core -mtune=core2 -march=core2 -msse4 -O2 -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o libdrm.la -rpath /usr/lib64 -version-number 2:3:0 -no-undefined xf86drm.lo xf86drmHash.lo xf86drmRandom.lo xf86drmSL.lo
x86_64-pc-linux-gnu-gcc -shared .libs/xf86drm.o .libs/xf86drmHash.o .libs/xf86drmRandom.o .libs/xf86drmSL.o -mtune=core2 -march=core2 -msse4 -Wl,-O1 -Wl,--as-needed -Wl,-soname -Wl,libdrm.so.2 -o .libs/libdrm.so.2.3.0
(cd .libs && rm -f libdrm.so.2 && ln -s libdrm.so.2.3.0 libdrm.so.2)
(cd .libs && rm -f libdrm.so && ln -s libdrm.so.2.3.0 libdrm.so)
creating libdrm.la
(cd .libs && rm -f libdrm.la && ln -s ../libdrm.la libdrm.la)
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
Making all in shared-core
make[1]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/shared-core'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/shared-core'
make[1]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0'
make[1]: Nothing to be done for `all-am'.
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0'
>>> Source compiled.
>>> Test phase [not enabled]: x11-libs/libdrm-2.3.0
>>> Install libdrm-2.3.0 into /var/tmp/portage/x11-libs/libdrm-2.3.0/image/ category x11-libs
Making install in libdrm
make[1]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
make[2]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib64" || mkdir -p -- "/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64"
/bin/sh ../libtool --mode=install /usr/bin/install -c 'libdrm.la' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64/libdrm.la'
/usr/bin/install -c .libs/libdrm.so.2.3.0 /var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64/libdrm.so.2.3.0
(cd /var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64 && { ln -s -f libdrm.so.2.3.0 libdrm.so.2 || { rm -f libdrm.so.2 && ln -s libdrm.so.2.3.0 libdrm.so.2; }; })
(cd /var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64 && { ln -s -f libdrm.so.2.3.0 libdrm.so || { rm -f libdrm.so && ln -s libdrm.so.2.3.0 libdrm.so; }; })
/usr/bin/install -c .libs/libdrm.lai /var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64/libdrm.la
libtool: install: warning: remember to run `libtool --finish /usr/lib64'
test -z "/usr/include" || mkdir -p -- "/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include"
/usr/bin/install -c -m 644 'xf86drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/xf86drm.h'
/usr/bin/install -c -m 644 'xf86mm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/xf86mm.h'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/libdrm'
Making install in shared-core
make[1]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/shared-core'
make[2]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/shared-core'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/include/drm" || mkdir -p -- "/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm"
/usr/bin/install -c -m 644 'drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/drm.h'
/usr/bin/install -c -m 644 'drm_sarea.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/drm_sarea.h'
/usr/bin/install -c -m 644 'i915_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/i915_drm.h'
/usr/bin/install -c -m 644 'mach64_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/mach64_drm.h'
/usr/bin/install -c -m 644 'mga_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/mga_drm.h'
/usr/bin/install -c -m 644 'r128_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/r128_drm.h'
/usr/bin/install -c -m 644 'radeon_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/radeon_drm.h'
/usr/bin/install -c -m 644 'savage_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/savage_drm.h'
/usr/bin/install -c -m 644 'sis_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/sis_drm.h'
/usr/bin/install -c -m 644 'via_drm.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/via_drm.h'
/usr/bin/install -c -m 644 'r300_reg.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/r300_reg.h'
/usr/bin/install -c -m 644 'via_3d_reg.h' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/include/drm/via_3d_reg.h'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/shared-core'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0/shared-core'
make[1]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0'
make[2]: Entering directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/lib64/pkgconfig" || mkdir -p -- "/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64/pkgconfig"
/usr/bin/install -c -m 644 'libdrm.pc' '/var/tmp/portage/x11-libs/libdrm-2.3.0/image//usr/lib64/pkgconfig/libdrm.pc'
make[2]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0'
make[1]: Leaving directory `/var/tmp/portage/x11-libs/libdrm-2.3.0/work/libdrm-2.3.0'
* The ebuild phase 'install' has exited unexpectedly. This type of
* behavior is known to be triggered by things such as failed variable
* assignments (bug #190128) or bad substitution errors (bug #200313).
* Normally, before exiting, bash should have displayed an error message
* above. If bash did not produce an error message above, it's possible
* that the ebuild has called `exit` when it should have called `die`
* instead. This behavior may also be triggered by a corrupt bash binary or
* a hardware problem such as memory or cpu malfunction. If the problem is
* not reproducible or it appears to occur randomly, then it is likely to
* be triggered by a hardware problem. If you suspect a hardware problem
* then you should try some basic hardware diagnostics such as memtest.
* Please do not report this as a bug unless it is consistently
* reproducible and you are sure that your bash binary and hardware are
* functioning properly.
>>> Failed to emerge x11-libs/libdrm-2.3.0, Log file:
>>> '/var/tmp/portage/x11-libs/libdrm-2.3.0/temp/build.log'
* Messages for package x11-libs/libdrm-2.3.0: |
|