Summary: | net-print/gnome-cups-manager-0.31-r2 /w gcc-4.3 : error: iostream.h: No such file or directory | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jose daLuz <jdaluz> |
Component: | New packages | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Manfred.Knick |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 198121 |
Description
Jose daLuz
2008-06-09 01:59:26 UTC
there is no such iostream.h header I think these 2 patches from upstream should fix this: http://svn.gnome.org/viewvc/gnome-cups-manager/trunk/libgnomecups/snmpkit/structfill.C?view=patch&r1=573&r2=572&pathrev=573 http://svn.gnome.org/viewvc/gnome-cups-manager/trunk/libgnomecups/snmpkit/snmpkit?view=patch&r1=573&r2=572&pathrev=573 C++ standard library is part of gcc, not glibc. Wrong package. Committed, thanks for reporting and for the patch urls. Thanks, but even with the patch I am now getting this error:
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libgnomecups-1 -I.. -I.. -DDATADIR=\"/usr/share\" -DGNOME_CUPS_MANAGER_DATADIR=\"/usr/share/gnome-cups-manager\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -march=k8 -O0 -pipe -ggdb -msse3 -MT snmpinter.lo -MD -MP -MF .deps/snmpinter.Tpo -c snmpinter.C -fPIC -DPIC -o .libs/snmpinter.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libgnomecups-1 -I.. -I.. -DDATADIR=\"/usr/share\" -DGNOME_CUPS_MANAGER_DATADIR=\"/usr/share/gnome-cups-manager\" -DGNOMELOCALEDIR=\"/usr/share/locale\" -march=k8 -O0 -pipe -ggdb -msse3 -MT gnome-cups-i18n.lo -MD -MP -MF .deps/gnome-cups-i18n.Tpo -c gnome-cups-i18n.c -o gnome-cups-i18n.o >/dev/null 2>&1
if /bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wno-sign-compare -DORBIT2=1 -pthread -I/usr/include/libgnomeui-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-keyring-1 -I/usr/include/libgnome-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib64/gnome-vfs-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libbonobo-2.0 -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2 -I/usr/include/pango-1.0 -I/usr/include/gail-1.0 -I/usr/include/freetype2 -I/usr/include/atk-1.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/cairo -I/usr/include/libpng12 -I/usr/include/pixman-1 -I/usr/include/libglade-2.0 -I/usr/include/libgnomecups-1 -I.. -I.. -DDATADIR=\""/usr/share"\" -DGNOME_CUPS_MANAGER_DATADIR=\""/usr/share/gnome-cups-manager"\" -DGNOMELOCALEDIR=\""/usr/share/locale"\" -march=k8 -O0 -pipe -ggdb -msse3 -MT gnome-cups-ui-print.lo -MD -MP -MF ".deps/gnome-cups-ui-print.Tpo" \
-c -o gnome-cups-ui-print.lo `test -f 'gnome-cups-ui-print.c' || echo './'`gnome-cups-ui-print.c; \
then mv -f ".deps/gnome-cups-ui-print.Tpo" ".deps/gnome-cups-ui-print.Plo"; \
else rm -f ".deps/gnome-cups-ui-print.Tpo"; exit 1; \
fi
cc1plus: warning: command line option "-Wmissing-prototypes" is valid for Ada/C/ObjC but not for C++
cc1plus: warning: command line option "-Wnested-externs" is valid for C/ObjC but not for C++
snmpinter.C: In function 'void* do_req(SNMP_session*)':
snmpinter.C:161: error: 'realloc' was not declared in this scope
make[3]: *** [snmpinter.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
The patch is applying:
* Applying ui_tooltip.diff ... [ ok ]
* Applying gnome-cups-manager-0.31+gcc-4.3.patch ... [ ok ]
>>> Done src_unpack
Is the realloc error also related to gcc 4.3? Your blog posting on the subject would seem to indicate that.
0.33 just hit the tree -- it builds with no problems. Closing as fixed then. The blocker tracker bug maintainers will probably notify us when we need to get gnome-cups-manager-0.33 stable before gcc-4.3 goes *** Bug 229267 has been marked as a duplicate of this bug. *** |