When I try to emerge xmlrpc-c, I get errors about missing strstream.h. Might be due to gcc-3 problems. I'm unsure. Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge xmlrpc-c Actual Results: /bin/sh ../libtool --mode=link gcc -O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe -D_UNIX -D_FORK -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -Wall -o auth_client -rpath /usr/lib auth_client.o ../src/libxmlrpc_client.la -L/usr/lib -lwwwsql -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto ../src/libxmlrpc.la ../lib/expat/xmlparse/libxmlrpc_xmlparse.la ../lib/expat/xmltok/libxmlrpc_xmltok.la gcc -O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe -D_UNIX -D_FORK -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -Wall -o .libs/asynch_client asynch_client.o ../src/.libs/libxmlrpc_client.so -L/usr/lib -lwwwsql -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto ../src/.libs/libxmlrpc.so ../lib/expat/xmlparse/.libs/libxmlrpc_xmlparse.so ../lib/expat/xmltok/.libs/libxmlrpc_xmltok.so -Wl,--rpath -Wl,/usr/lib meerkat-app-list.cc:6:23: strstream.h: No such file or directory meerkat-app-list.cc: In function `void list_apps(int)': meerkat-app-list.cc:18: error: `ostrstream' undeclared (first use this function) meerkat-app-list.cc:18: error: (Each undeclared identifier is reported only once for each function it appears in.) meerkat-app-list.cc:18: error: parse error before `;' token meerkat-app-list.cc:19: error: `time_period_stream' undeclared (first use this function) gcc -O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe -D_UNIX -D_FORK -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -Wall -o .libs/auth_client auth_client.o ../src/.libs/libxmlrpc_client.so -L/usr/lib -lwwwsql -lwwwinit -lwwwapp -lwwwxml -lxmltok -lxmlparse -lwwwzip -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lz -L/usr/lib/mysql -lmysqlclient -L/usr/lib -lssl -lcrypto ../src/.libs/libxmlrpc.so ../lib/expat/xmlparse/.libs/libxmlrpc_xmlparse.so ../lib/expat/xmltok/.libs/libxmlrpc_xmltok.so -Wl,--rpath -Wl,/usr/lib creating asynch_client /bin/sh ../libtool --mode=link gcc -O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe -D_UNIX -D_FORK -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -Wall -o server server.o ../src/libxmlrpc_abyss_server.la ../lib/abyss/src/libxmlrpc_abyss.la ../src/libxmlrpc.la ../lib/expat/xmlparse/libxmlrpc_xmlparse.la ../lib/expat/xmltok/libxmlrpc_xmltok.la make[2]: *** [meerkat-app-list.o] Error 1 make[2]: *** Waiting for unfinished jobs.... creating auth_client gcc -O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe -D_UNIX -D_FORK -I/usr/include -I/usr/include/w3c-libwww -DHAVE_CONFIG_H -Wall -o .libs/server server.o ../src/.libs/libxmlrpc_abyss_server.so ../lib/abyss/src/.libs/libxmlrpc_abyss.so ../src/.libs/libxmlrpc.so ../lib/expat/xmlparse/.libs/libxmlrpc_xmlparse.so ../lib/expat/xmltok/.libs/libxmlrpc_xmltok.so creating server make[2]: Leaving directory `/var/tmp/portage/xmlrpc-c-0.9.9/work/xmlrpc-c-0.9.9/examples' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xmlrpc-c-0.9.9/work/xmlrpc-c-0.9.9' make: *** [all-recursive-am] Error 2 !!! ERROR: dev-libs/xmlrpc-c-0.9.9 failed. !!! Function src_compile, Line 418, Exitcode 2 !!! emake failed Expected Results: Compiled and installed xmlrpc-c USE="-java X gtk gnome crypt dga kde mpeg mozilla mysql pdflib perl png postgres python qt quicktime readline spell ssl tiff trutype fontconfig xml zlib -alsa xinerama ldap" CHOST="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -pipe" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j3" GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/"
Created attachment 30380 [details, diff] Patch for compilation of xmlrpc-c with gcc 3.3.2 Changes <iostream.h> to <iostream>, <vector.h> to <vector> and <strstream.h> to <strstream>.
I had the same problem but I managed to overcome it by doing: 1. ebuild /usr/portage/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild unpack 2. cd /var/tmp/portage/xmlrpc-c-0.9.9/work 3. patch -Np0 < /path/to/xmlrpc-c.g++-3.3.2.patch 4. ebuild /usr/portage/dev-libs/xmlrpc-c/xmlrpc-c-0.9.9.ebuild merge
Should be fixed by patch (in cvs) attached in #64330, which fixes it for gcc-3.4