Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 5435 - bbapm gcc-3.1 failure
Summary: bbapm gcc-3.1 failure
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Matt Keadle
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-07-22 20:47 UTC by Brandon Low (RETIRED)
Modified: 2003-02-04 19:42 UTC (History)
1 user (show)

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


Attachments
Image.cc file (Image.cc,29.65 KB, text/plain)
2002-11-08 09:27 UTC, David Olsen (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Brandon Low (RETIRED) gentoo-dev 2002-07-22 20:47:23 UTC
I'll post outputs on these later.
Comment 1 Brandon Low (RETIRED) gentoo-dev 2002-07-22 20:52:29 UTC
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 .
Comment 2 David Olsen (RETIRED) gentoo-dev 2002-11-08 09:27:14 UTC
Created attachment 5476 [details]
Image.cc file

This image.cc fixes the bbapm compile problem.
Comment 3 Matt Keadle 2002-12-12 11:48:21 UTC
Patch created from new Image.cc. Now builds cleanly with gcc3.x machines.