Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 237864 - kde-misc/krd-1.6 fails to compile with error main.cpp:14:22: error: iostream.h: No such file or directory
Summary: kde-misc/krd-1.6 fails to compile with error main.cpp:14:22: error: iostream....
Status: RESOLVED DUPLICATE of bug 251147
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-16 19:02 UTC by RUSPRG
Modified: 2008-12-16 11:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,41.93 KB, text/plain)
2008-09-17 06:21 UTC, RUSPRG
Details
emerge --info (emerge_info,4.77 KB, text/plain)
2008-09-17 06:21 UTC, RUSPRG
Details
build.log v2 - KSystemTray (build.log,137.09 KB, text/plain)
2008-10-19 10:52 UTC, RUSPRG
Details
emerge --info (KSystemTray) (emerge_info,4.94 KB, text/plain)
2008-10-19 10:56 UTC, RUSPRG
Details
LANG="C" emerge -av =kde-misc/krd-1.6 ((bug main.cpp) build.log,48.98 KB, text/plain)
2008-10-25 19:16 UTC, RUSPRG
Details
LANG="C" emerge -av =kde-misc/krd-1.6 ((bud krdKsystemTray) build.log,144.00 KB, text/plain)
2008-10-25 19:23 UTC, RUSPRG
Details

Note You need to log in before you can comment on or make changes to this bug.
Description RUSPRG 2008-09-16 19:02:08 UTC
main.cpp: In function ‘int main(int, char**)’:
main.cpp:64: ошибка: нет декларации ‘cout’ в этой области видимости
main.cpp:75: ошибка: нет декларации ‘cout’ в этой области видимости


Reproducible: Always




#<iostream.h>   -----> #<iostream>
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2008-09-16 19:08:24 UTC
Woul'd be nice if you tell us what doesn't compile.
Comment 2 RUSPRG 2008-09-17 06:21:06 UTC
Created attachment 165616 [details]
build log
Comment 3 RUSPRG 2008-09-17 06:21:44 UTC
Created attachment 165617 [details]
emerge --info
Comment 4 RUSPRG 2008-10-19 10:50:10 UTC
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'.

Comment 5 RUSPRG 2008-10-19 10:52:03 UTC
Created attachment 169064 [details]
build.log v2 - KSystemTray
Comment 6 RUSPRG 2008-10-19 10:56:15 UTC
Created attachment 169070 [details]
emerge --info (KSystemTray)
Comment 7 Mike Auty (RETIRED) gentoo-dev 2008-10-20 22:13:12 UTC
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:)
Comment 8 Mike Auty (RETIRED) gentoo-dev 2008-10-25 10:00:40 UTC
Just setting to NEEDINFO, please reopen the bug when you've provided the requested information...  5:)
Comment 9 RUSPRG 2008-10-25 19:16:17 UTC
Created attachment 169860 [details]
LANG="C" emerge -av =kde-misc/krd-1.6
Comment 10 RUSPRG 2008-10-25 19:23:18 UTC
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:)
Comment 11 RUSPRG 2008-10-25 19:24:11 UTC
LANG="C" emerge -av =kde-misc/krd-1.6
Comment 12 Mike Auty (RETIRED) gentoo-dev 2008-10-25 21:55:32 UTC
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...
Comment 13 Timo Gurr (RETIRED) gentoo-dev 2008-12-16 11:43:14 UTC
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 ***