|
|
近来看了中文wiki上的文章,想把ati驱动和xgl效果弄起来,因为xorg-6.8有太多的masked包的缘故,心一横,把ACCEPT_KEYWORDS="~x86"加入了make.conf,并且把gcc也升级到4.1。可就是在emerge -e world的时候,出现了严重错误,致使系统至今无法工作。
1、编译xorg7的过程中,编译相关的lib包出现类似这样的错误:
- error:previous dedaration of 'xf86usleep' was here
复制代码
后来到官方论坛海搜了一阵,终于通过降低xorg-server的版本至1.0.2-r4,重编译解决。
2、gtk+-1.2.10-r11编译错误,错误提示:
3、重编译metisse,nucleo编译不过,错误类似:
- #emerge metisse
- Calculating dependencies... done!
- >>> Emerging (1 of 2) x11-libs/nucleo-0.1_p20041216 to /
- >>> checking ebuild checksums ;-)
- >>> checking auxfile checksums ;-)
- >>> checking miscfile checksums ;-)
- >>> checking nucleo-0.1-20041216.tar.bz2 ;-)
- >>> Unpacking source...
- >>> Unpacking nucleo-0.1-20041216.tar.bz2 to /var/tmp/portage/nucleo-0.1_p20041216/work
- * Applying nucleo-0.1-nv.patch ... [ ok ]>>> Source unpacked.
- >>> Compiling source in /var/tmp/portage/nucleo-0.1_p20041216/work/nucleo-0.1 ...
- * econf: updating nucleo-0.1/build-utils/config.guess with /usr/share/gnuconfig/config.guess
- * econf: updating nucleo-0.1/build-utils/config.sub with /usr/share/gnuconfig/config.sub
- ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
- checking for a BSD-compatible install... /bin/install -c
- checking whether build environment is sane... yes
- checking for gawk... gawk
- checking whether make sets $(MAKE)... yes
- checking build system type... i686-pc-linux-gnu
- checking host system type... i686-pc-linux-gnu
- checking for style of include used by make... GNU
- checking for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes
- checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
- checking dependency style of i686-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 i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld
- checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
- checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
- checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B
- checking whether ln -s works... yes
- checking how to recognise dependent libraries... pass_all
- checking how to run the C preprocessor... i686-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 i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++
- checking whether we are using the GNU C++ compiler... yes
- checking whether i686-pc-linux-gnu-g++ accepts -g... yes
- checking dependency style of i686-pc-linux-gnu-g++... gcc3
- checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E
- checking for i686-pc-linux-gnu-g77... no
- checking for i686-pc-linux-gnu-f77... no
- checking for i686-pc-linux-gnu-xlf... no
- checking for i686-pc-linux-gnu-frt... no
- checking for i686-pc-linux-gnu-pgf77... no
- checking for i686-pc-linux-gnu-fort77... no
- checking for i686-pc-linux-gnu-fl32... no
- checking for i686-pc-linux-gnu-af77... no
- checking for i686-pc-linux-gnu-f90... no
- checking for i686-pc-linux-gnu-xlf90... no
- checking for i686-pc-linux-gnu-pgf90... no
- checking for i686-pc-linux-gnu-epcf90... no
- checking for i686-pc-linux-gnu-f95... no
- checking for i686-pc-linux-gnu-fort... no
- checking for i686-pc-linux-gnu-xlf95... no
- checking for i686-pc-linux-gnu-ifc... no
- checking for i686-pc-linux-gnu-efc... no
- checking for i686-pc-linux-gnu-pgf95... no
- checking for i686-pc-linux-gnu-lf95... no
- checking for i686-pc-linux-gnu-gfortran... i686-pc-linux-gnu-gfortran
- checking whether we are using the GNU Fortran 77 compiler... yes
- checking whether i686-pc-linux-gnu-gfortran accepts -g... yes
- checking the maximum length of command line arguments... 32768
- checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok
- checking for objdir... .libs
- checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar
- checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib
- checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip
- checking if i686-pc-linux-gnu-gcc static flag works... yes
- checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
- checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC
- checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes
- checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes
- checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
- checking whether -lc should be explicitly linked in... no
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking dynamic linker characteristics... GNU/Linux ld.so
- 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 i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld
- checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
- checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
- checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC
- checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes
- checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes
- checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking dynamic linker characteristics... GNU/Linux ld.so
- 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 i686-pc-linux-gnu-gfortran option to produce PIC... -fPIC
- checking if i686-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
- checking if i686-pc-linux-gnu-gfortran supports -c -o file.o... yes
- checking whether the i686-pc-linux-gnu-gfortran linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes
- checking how to hardcode library paths into programs... immediate
- checking whether stripping libraries is possible... yes
- checking dynamic linker characteristics... GNU/Linux ld.so
- checking for i686-pc-linux-gnu-g++... (cached) i686-pc-linux-gnu-g++
- checking whether we are using the GNU C++ compiler... (cached) yes
- checking whether i686-pc-linux-gnu-g++ accepts -g... (cached) yes
- checking dependency style of i686-pc-linux-gnu-g++... (cached) gcc3
- checking for a BSD-compatible install... /bin/install -c
- checking whether byte ordering is bigendian... no
- checking for dlopen in -ldl... yes
- checking for X... libraries , headers
- checking for gethostbyname... yes
- checking for connect... yes
- checking for remove... yes
- checking for shmat... yes
- checking for IceConnectionNumber in -lICE... yes
- checking GL/gl.h usability... yes
- checking GL/gl.h presence... yes
- checking for GL/gl.h... yes
- checking for glFlush in -lGL... yes
- checking for gluUnProject in -lGLU... yes
- checking GL/glx.h usability... yes
- checking GL/glx.h presence... yes
- checking for GL/glx.h... yes
- checking for XListInputDevices in -lXi... yes
- checking for XAddInputDevice in -lXi... no
- checking jpeglib.h usability... yes
- checking jpeglib.h presence... yes
- checking for jpeglib.h... yes
- checking for jpeg_start_decompress in -ljpeg... yes
- checking for inflate in -lz... yes
- checking png.h usability... yes
- checking png.h presence... yes
- checking for png.h... yes
- checking for png_sig_cmp in -lpng... yes
- checking for freetype-config... yes
- checking for FT_Init_FreeType in -lfreetype... yes
- configure: creating ./config.status
- config.status: creating Makefile
- config.status: creating nucleo/Makefile
- config.status: creating nucleo/core/Makefile
- config.status: creating nucleo/core/select/Makefile
- config.status: creating nucleo/core/carbon/Makefile
- config.status: creating nucleo/utils/Makefile
- config.status: creating nucleo/network/Makefile
- config.status: creating nucleo/network/udp/Makefile
- config.status: creating nucleo/network/tcp/Makefile
- config.status: creating nucleo/network/http/Makefile
- config.status: creating nucleo/network/rdv/Makefile
- config.status: creating nucleo/image/Makefile
- config.status: creating nucleo/image/encoding/Makefile
- config.status: creating nucleo/image/source/Makefile
- config.status: creating nucleo/image/sink/Makefile
- config.status: creating nucleo/image/processing/Makefile
- config.status: creating nucleo/image/processing/basic/Makefile
- config.status: creating nucleo/image/processing/chromakeying/Makefile
- config.status: creating nucleo/image/processing/convolution/Makefile
- config.status: creating nucleo/image/processing/difference/Makefile
- config.status: creating nucleo/image/processing/gamma/Makefile
- config.status: creating nucleo/image/processing/noise/Makefile
- config.status: creating nucleo/gl/Makefile
- config.status: creating nucleo/gl/window/Makefile
- config.status: creating nucleo/gl/texture/Makefile
- config.status: creating nucleo/gl/text/Makefile
- config.status: creating nucleo/gl/scenegraph/Makefile
- config.status: creating nucleo/plugins/Makefile
- config.status: creating nucleo/plugins/vnc/Makefile
- config.status: creating nucleo/plugins/ffmpeg/Makefile
- config.status: creating nucleo/plugins/howl/Makefile
- config.status: creating tests/Makefile
- config.status: creating demos/Makefile
- config.status: creating demos/video/Makefile
- config.status: creating demos/vnc/Makefile
- config.status: creating apps/Makefile
- config.status: creating apps/videoServer/Makefile
- config.status: creating data/Makefile
- config.status: creating data/vera/Makefile
- config.status: creating docs/Makefile
- config.status: creating docs/MacOSX/Makefile
- config.status: creating docs/MacOSX/nTest
- config.status: creating docs/MacOSX/nBundle
- config.status: creating build-utils/Makefile
- config.status: creating build-utils/rpm/Makefile
- config.status: creating build-utils/rpm/nucleo.spec
- config.status: creating nucleo-config
- config.status: creating nucleo.pc
- config.status: creating nucleo/config.H
- config.status: executing depfiles commands
- Making all in nucleo
- Making all in core
- Making all in select
- mkdir .libs
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT sTimeKeeper.lo -MD -MP -MF .deps/sTimeKeeper.Tpo -c sTimeKeeper.cxx -fPIC -DPIC -o .libs/sTimeKeeper.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT sFileKeeper.lo -MD -MP -MF .deps/sFileKeeper.Tpo -c sFileKeeper.cxx -fPIC -DPIC -o .libs/sFileKeeper.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT sReactiveEngine.lo -MD -MP -MF .deps/sReactiveEngine.Tpo -c sReactiveEngine.cxx -fPIC -DPIC -o .libs/sReactiveEngine.o
- i686-pc-linux-gnu-ar cru .libs/libselect.a .libs/sTimeKeeper.o .libs/sFileKeeper.o .libs/sReactiveEngine.o
- i686-pc-linux-gnu-ranlib .libs/libselect.a
- creating libselect.la
- (cd .libs && rm -f libselect.la && ln -s ../libselect.la libselect.la)
- mkdir .libs
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT FileKeeper.lo -MD -MP -MF .deps/FileKeeper.Tpo -c FileKeeper.cxx -fPIC -DPIC -o .libs/FileKeeper.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT TimeKeeper.lo -MD -MP -MF .deps/TimeKeeper.Tpo -c TimeKeeper.cxx -fPIC -DPIC -o .libs/TimeKeeper.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT ReactiveEngine.lo -MD -MP -MF .deps/ReactiveEngine.Tpo -c ReactiveEngine.cxx -fPIC -DPIC -o .libs/ReactiveEngine.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT ReactiveObject.lo -MD -MP -MF .deps/ReactiveObject.Tpo -c ReactiveObject.cxx -fPIC -DPIC -o .libs/ReactiveObject.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT URI.lo -MD -MP -MF .deps/URI.Tpo -c URI.cxx -fPIC -DPIC -o .libs/URI.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT PluginManager.lo -MD -MP -MF .deps/PluginManager.Tpo -c PluginManager.cxx -fPIC -DPIC -o .libs/PluginManager.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT UUID.lo -MD -MP -MF .deps/UUID.Tpo -c UUID.cxx -fPIC -DPIC -o .libs/UUID.o
- rm -fr .libs/libcore.lax
- mkdir .libs/libcore.lax
- rm -fr .libs/libcore.lax/libselect.a
- mkdir .libs/libcore.lax/libselect.a
- (cd .libs/libcore.lax/libselect.a && i686-pc-linux-gnu-ar x /var/tmp/portage/nucleo-0.1_p20041216/work/nucleo-0.1/nucleo/core/select/.libs/libselect.a)
- i686-pc-linux-gnu-ar cru .libs/libcore.a .libs/TimeKeeper.o .libs/FileKeeper.o .libs/ReactiveEngine.o .libs/ReactiveObject.o .libs/URI.o .libs/PluginManager.o .libs/UUID.o .libs/libcore.lax/libselect.a/sTimeKeeper.o .libs/libcore.lax/libselect.a/sReactiveEngine.o .libs/libcore.lax/libselect.a/sFileKeeper.o
- i686-pc-linux-gnu-ranlib .libs/libcore.a
- rm -fr .libs/libcore.lax
- creating libcore.la
- (cd .libs && rm -f libcore.la && ln -s ../libcore.la libcore.la)
- Making all in utils
- mkdir .libs
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -DNUCLEO_PLUGINS_DIR="/usr/lib/nucleo" -DNUCLEO_RESOURCES_DIR="/usr/share/nucleo" -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT AppUtils.lo -MD -MP -MF .deps/AppUtils.Tpo -c AppUtils.cxx -fPIC -DPIC -o .libs/AppUtils.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -DNUCLEO_PLUGINS_DIR="/usr/lib/nucleo" -DNUCLEO_RESOURCES_DIR="/usr/share/nucleo" -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT FileUtils.lo -MD -MP -MF .deps/FileUtils.Tpo -c FileUtils.cxx -fPIC -DPIC -o .libs/FileUtils.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -DNUCLEO_PLUGINS_DIR="/usr/lib/nucleo" -DNUCLEO_RESOURCES_DIR="/usr/share/nucleo" -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT SignalUtils.lo -MD -MP -MF .deps/SignalUtils.Tpo -c SignalUtils.cxx -fPIC -DPIC -o .libs/SignalUtils.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -DNUCLEO_PLUGINS_DIR="/usr/lib/nucleo" -DNUCLEO_RESOURCES_DIR="/usr/share/nucleo" -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT StringUtils.lo -MD -MP -MF .deps/StringUtils.Tpo -c StringUtils.cxx -fPIC -DPIC -o .libs/StringUtils.o
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -DNUCLEO_PLUGINS_DIR="/usr/lib/nucleo" -DNUCLEO_RESOURCES_DIR="/usr/share/nucleo" -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT TimeUtils.lo -MD -MP -MF .deps/TimeUtils.Tpo -c TimeUtils.cxx -fPIC -DPIC -o .libs/TimeUtils.o
- StringUtils.cxx:21: error: explicit instantiation of 'class std::basic_string<char, nucleo::ci_char_traits, std::allocator<char> >' in namespace 'nucleo' (which does not enclose namespace 'std')
- StringUtils.cxx:21: error: explicit instantiation of 'struct std::basic_string<char, nucleo::ci_char_traits, std::allocator<char> >::_Alloc_hider' in namespace 'nucleo' (which does not enclose namespace 'std')
- StringUtils.cxx:21: error: explicit instantiation of 'struct std::basic_string<char, nucleo::ci_char_traits, std::allocator<char> >::_Rep' in namespace 'nucleo' (which does not enclose namespace 'std')
- StringUtils.cxx:21: error: explicit instantiation of 'struct std::basic_string<char, nucleo::ci_char_traits, std::allocator<char> >::_Rep_base' in namespace 'nucleo' (which does not enclose namespace 'std')
- make[3]: *** [StringUtils.lo] 错误 1
- make[3]: *** 正在等待未完成的任务....
- i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../nucleo -I../.. -I../.. -DNUCLEO_PLUGINS_DIR="/usr/lib/nucleo" -DNUCLEO_RESOURCES_DIR="/usr/share/nucleo" -I/usr/include/freetype2 -O3 -march=pentium-m -pipe -mfpmath=sse -MT ConfigDict.lo -MD -MP -MF .deps/ConfigDict.Tpo -c ConfigDict.cxx -fPIC -DPIC -o .libs/ConfigDict.o
- make[2]: *** [all-recursive] 错误 1
- make[1]: *** [all] 错误 2
- make: *** [all-recursive] 错误 1
- !!! ERROR: x11-libs/nucleo-0.1_p20041216 failed.
- Call stack:
- ebuild.sh, line 1527: Called dyn_compile
- ebuild.sh, line 930: Called src_compile
- ebuild.sh, line 600: Called die
- !!! emake failed
- !!! If you need support, post the topmost build error, and the call stack if relevant.
复制代码
屡试不爽!换其他版本均出现同样的错误,却找不到原因和解决的办法。苦恼多日,终于发帖求救,请各位给点意见,特别是第2、3个问题 |
|