I'll post outputs on these later.
c++ -DPACKAGE=\"bbapm\" -DVERSION=\"0.0.1\" -DSTDC_HEADERS=1 -DHAVE_MALLOC_H=1 -DTIME_WITH_SYS_TIME=1 -DHAVE_SELECT=1 -DHAVE_STRSTR=1 -I. -I. -DDEFAULT_CONF=\"/usr/share/bbtools/bbapm.conf\" -DDEFAULT_NOBB=\"/usr/share/bbtools/bbapm.nobb\" -march=athlon-xp -O3 -fgcse -fgcse-lm -fgcse-sm -fomit-frame-pointer -Wno-deprecated -pipe -I/usr/X11R6/include -c Image.cc In file included from Image.hh:49, from bbapm.hh:28, from bbapm.cc:26: LinkedList.hh:66: friend declaration requires class-key, i.e. `friend class __llist_iterator' make[1]: *** [bbapm.o] Error 1 make[1]: *** Waiting for unfinished jobs.... In file included from Image.hh:49, from Basewindow.hh:38, from Image.cc:34: LinkedList.hh:66: friend declaration requires class-key, i.e. `friend class __llist_iterator' Image.cc: In member function `XImage* BImage::renderXImage()': Image.cc:228: parse error before `||' token Image.cc:231: parse error before `||' token Image.cc:231: `og' undeclared (first use this function) Image.cc:231: (Each undeclared identifier is reported only once for each function it appears in.) Image.cc:231: `ob' undeclared (first use this function) Image.cc:231: `nor' undeclared (first use this function) Image.cc:231: `nog' undeclared (first use this function) Image.cc:231: `nob' undeclared (first use this function) Image.cc:232: parse error before `)' token Image.cc:233: parse error before `||' token Image.cc:243: `por' undeclared (first use this function) Image.cc:243: parse error before `||' token Image.cc:244: `pog' undeclared (first use this function) Image.cc:245: `pob' undeclared (first use this function) Image.cc:274: parse error before `||' token Image.cc:274: parse error before `||' token Image.cc:275: parse error before `||' token Image.cc:275: parse error before `||' token Image.cc:281: parse error before `||' token Image.cc:343: parse error before `||' token Image.cc:343: parse error before `||' token Image.cc:347: parse error before `||' token Image.cc:363: parse error before `||' token make[1]: *** [Image.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/bbapm-0.0.1-r2/work/bbapm-0.0.1' make: *** [all-recursive] Error 1 !!! ERROR: The ebuild did not complete successfully. !!! Function src_compile, Line 2, Exitcode 2 !!! (no error message) !!! emerge aborting on /usr/portage/x11-misc/bbapm/bbapm-0.0.1-r2.ebuild .
Created attachment 5476 [details] Image.cc file This image.cc fixes the bbapm compile problem.
Patch created from new Image.cc. Now builds cleanly with gcc3.x machines.