I just tried emerging gnash (net-www/gnash-0.7.1_p20060528). The build fails with type errors related to "struct mallinfo" in utility.cpp. The error messages are these: utility.cpp: In function `void dump_memory_stats(const char*, int, const char*)': utility.cpp:81: error: aggregate `mallinfo mi' has incomplete type and cannot be defined utility.cpp:85: error: invalid use of undefined type `struct mallinfo' utility.cpp:81: error: forward declaration of `struct mallinfo' Help? Here is a slightly larger portion of the log file that includes the error messages: ---------------------------------------------------------------------- if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -march=pentium4 -O2 -pipe -ggdb -ansi -Wall -MT utility.lo -MD -MP -MF ".deps/utility.Tpo" -c -o utility.lo utility.cpp; \ then mv -f ".deps/utility.Tpo" ".deps/utility.Plo"; else rm -f ".deps/utility.Tpo"; exit 1; fi i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -DQT_THREAD_SUPPORT -D_REENTRANT -I.. -I. -I.. -I../server -I/usr/include -I/usr/include/libxml2 -I/usr/include/SDL -I/usr/include/SDL -march=pentium4 -O2 -pipe -ggdb -ansi -Wall -MT utility.lo -MD -MP -MF .deps/utility.Tpo -c utility.cpp -fPIC -DPIC -o .libs/utility.o utility.cpp: In function `void dump_memory_stats(const char*, int, const char*)': utility.cpp:81: error: aggregate `mallinfo mi' has incomplete type and cannot be defined utility.cpp:85: error: invalid use of undefined type `struct mallinfo' utility.cpp:81: error: forward declaration of `struct mallinfo' utility.cpp:82: warning: unused variable 'allocated' make[2]: *** [utility.lo] Error 1 make[2]: Leaving directory `/extra/var/tmp/portage/gnash-0.7.1_p20060528/work/gnash/libbase' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/extra/var/tmp/portage/gnash-0.7.1_p20060528/work/gnash' make: *** [all] Error 2 !!! ERROR: net-www/gnash-0.7.1_p20060528 failed. ----------------------------------------------------------------------
Created attachment 88864 [details] Output of "emerge -info" on my system.
I cannot see it, but I assume you are using USE=dmalloc, please try without
(In reply to comment #2) > I cannot see it, but I assume you are using USE=dmalloc, please try > without Thanks! Yes, turning off dmalloc made it compile. I had "xml dmalloc -mad" for net-www/gnash in /etc/portage/package, now I only have "xml -mad". Now "gnash" immediately dies with SIGSEGV, no matter what arguments it is given. Also, Firefox doesn't find the plugin in /opt/netscape/plugins/libgnashplugin.so. I know the ebuild says ALPHA gnash is still in heavy development please report gnash bugs upstream to the gnash devs but it seems to me these two new bugs ("gnash" not working at _all_, and not being found by Firefox) are likely better solved in portage. Should I file the bugs here or with Gnash?
problem being the firefox and not working at all, I cannot reproduce. I still left this open because maybe dmalloc should be not allowed in the ebuild, but I think I will just close this as upstream - users can just use USE="-dmalloc" until we get a fixed version :)