[SOLVED] Проблема с установкой KDE
Устанавливаю систему с нуля, при установке KDE мета пакетом kdebase-startkde, emerge выдал ошибку на установке пакета kde-base/kicker:
Making all in extensions
make[3]: Entering directory `/var/tmp/portage/kde-base/kicker-3.5.9/work/kicker-3.5.9/kicker/extensions'
Making all in dockbar
make[4]: Entering directory `/var/tmp/portage/kde-base/kicker-3.5.9/work/kicker-3.5.9/kicker/extensions/dockbar'
/usr/qt/3/bin/moc ./dockcontainer.h -o dockcontainer.moc
/usr/qt/3/bin/moc ./dockbarextension.h -o dockbarextension.moc
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -pipe -fomit-frame-pointer -mmmx -msse -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o dockcontainer.lo dockcontainer.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -pipe -fomit-frame-pointer -mmmx -msse -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o dockbarextension.lo dockbarextension.cpp
/bin/sh ../../../libtool --silent --tag=CXX --mode=link i686-pc-linux-gnu-g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=i686 -pipe -fomit-frame-pointer -mmmx -msse -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -Wl,-O1 -o dockbar_panelextension.la -rpath /usr/kde/3.5/lib/kde3 -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /usr/kde/3.5/lib -R /usr/kde/3.5/lib -R /usr/qt/3/lib -L/usr/kde/3.5/lib -L/usr/qt/3/lib dockcontainer.lo dockbarextension.lo -lkdeui
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:.libs/dockcontainer.o: file format not recognized; treating as linker script
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../../i686-pc-linux-gnu/bin/ld:.libs/dockcontainer.o:1: syntax error
collect2: ld returned 1 exit status
make[4]: *** [dockbar_panelextension.la] Error 1
make[4]: Leaving directory `/var/tmp/portage/kde-base/kicker-3.5.9/work/kicker-3.5.9/kicker/extensions/dockbar'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/kde-base/kicker-3.5.9/work/kicker-3.5.9/kicker/extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kde-base/kicker-3.5.9/work/kicker-3.5.9/kicker'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kde-base/kicker-3.5.9/work/kicker-3.5.9'
make: *** [all] Error 2
- Для комментирования войдите или зарегистрируйтесь
Проблема решилась изменением
Проблема решилась изменением флага оптимизации компилятора g++ в переменной CXXFLAGS на значение -O2 вместо -O3.