main.cpp: In function ‘int main(int, char**)’: main.cpp:64: ошибка: нет декларации ‘cout’ в этой области видимости main.cpp:75: ошибка: нет декларации ‘cout’ в этой области видимости Reproducible: Always #<iostream.h> -----> #<iostream>
Woul'd be nice if you tell us what doesn't compile.
Created attachment 165616 [details] build log
Created attachment 165617 [details] emerge --info
problem is main.cpp. #<iostream.h> -----> #<iostream> as well as the compilation new_vnc_connection_form_ui.cpp:(.text+0x5b46): undefined reference to `KActionSelector::KActionSelector(QWidget*, char const*)' krdsystemtray.moc.o: In function `krdSystemTray::staticMetaObject()': krdsystemtray.moc.cpp:(.text+0xb9): undefined reference to `KSystemTray::staticMetaObject()' krdsystemtray.moc.o: In function `krdSystemTray::qt_property(int, int, QVariant*)': krdsystemtray.moc.cpp:(.text+0x51): undefined reference to `KSystemTray::qt_property(int, int, QVariant*)' krdsystemtray.moc.o: In function `krdSystemTray::qt_emit(int, QUObject*)': krdsystemtray.moc.cpp:(.text+0x61): undefined reference to `KSystemTray::qt_emit(int, QUObject*)' krdsystemtray.moc.o: In function `krdSystemTray::qt_cast(char const*)': krdsystemtray.moc.cpp:(.text+0x97): undefined reference to `KSystemTray::qt_cast(char const*)' krdsystemtray.moc.o: In function `krdSystemTray::qt_invoke(int, QUObject*)': krdsystemtray.moc.cpp:(.text+0x18e): undefined reference to `KSystemTray::qt_invoke(int, QUObject*)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x140): undefined reference to `KSystemTray::setCaption(QString const&)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x240): undefined reference to `KSystemTray::mouseReleaseEvent(QMouseEvent*)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x280): undefined reference to `KSystemTray::enterEvent(QEvent*)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x2f8): undefined reference to `KSystemTray::showEvent(QShowEvent*)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x3e0): undefined reference to `KSystemTray::setPixmap(QPixmap const&)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x408): undefined reference to `KSystemTray::contextMenuAboutToShow(KPopupMenu*)' krdsystemtray.moc.o:(.rodata._ZTV13krdSystemTray[vtable for krdSystemTray]+0x410): undefined reference to `KSystemTray::virtual_hook(int, void*)' krdsystemtray.moc.o:(.rodata._ZTI13krdSystemTray[typeinfo for krdSystemTray]+0x10): undefined reference to `typeinfo for KSystemTray' collect2: ld returned 1 exit status make[2]: *** [krd] Ошибка 1 make[2]: Leaving directory `/var/tmp/portage/kde-misc/krd-1.6/work/krd/src' make[1]: *** [all-recursive] Ошибка 1 make[1]: Leaving directory `/var/tmp/portage/kde-misc/krd-1.6/work/krd' make: *** [all] Ошибка 2 * * ERROR: kde-misc/krd-1.6 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 4134: Called kde_src_compile * environment, line 2962: Called kde_src_compile 'all' * environment, line 3087: Called kde_src_compile 'myconf' 'configure' 'make' * environment, line 3083: Called die * The specific snippet of code: * emake || die "died running emake, $FUNCNAME:make" * The die message: * died running emake, kde_src_compile:make * * 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/kde-misc/krd-1.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/kde-misc/krd-1.6/temp/environment'.
Created attachment 169064 [details] build.log v2 - KSystemTray
Created attachment 169070 [details] emerge --info (KSystemTray)
Hiya, I'm sorry to have to ask this, but could you please re-attach the output of a failed emerge by running: LANG="C" emerge -av =kde-misc/krd-1.6 Hopefully then we'll have a better chance of isolating what's gone wrong, and helping you sort it out. Thanks... 5:)
Just setting to NEEDINFO, please reopen the bug when you've provided the requested information... 5:)
Created attachment 169860 [details] LANG="C" emerge -av =kde-misc/krd-1.6
Created attachment 169862 [details] LANG="C" emerge -av =kde-misc/krd-1.6 Perhaps this is not even a bug, because it only appears when no key "kdeprefix" and identified as KDE3 and KDE4 P.S. may be able to translate incomprehensible - translated into googl:)
LANG="C" emerge -av =kde-misc/krd-1.6
It looks like it might be gcc-4.3, since it renamed iostream.h to iostream. Not sure what the recommended fix is, but bug 232773 might have some pointers...
Resolving this one as DUP since the other bug is already linked in the GCC 4.3 porting tracker. *** This bug has been marked as a duplicate of bug 251147 ***