In file included from /usr/include/asm/system.h:7, from /usr/include/asm/processor.h:19, from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/sysctl.h:23, from dao.cc:35: /usr/include/linux/bitops.h: In function `int get_bitmask_order(unsigned int)': /usr/include/linux/bitops.h:78: error: `fls' undeclared (first use this function) /usr/include/linux/bitops.h:78: error: (Each undeclared identifier is reported only once for each function it appears in.) In file included from /usr/include/asm/processor.h:19, from /usr/include/linux/prefetch.h:14, from /usr/include/linux/list.h:5, from /usr/include/linux/sysctl.h:23, from dao.cc:35: /usr/include/asm/system.h: At global scope: /usr/include/asm/system.h:245: error: expected `,' or `...' before "new" /usr/include/asm/system.h: In function `long unsigned int __cmpxchg(volatile void*, long unsigned int, long unsigned int)': /usr/include/asm/system.h:248: error: `size' undeclared (first use this function) /usr/include/asm/system.h:252: error: expected identifier before ')' token /usr/include/asm/system.h:258: error: expected identifier before ')' token /usr/include/asm/system.h:264: error: expected identifier before ')' token /usr/include/asm/system.h:270: error: expected identifier before ')' token In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_algobase.h:75, from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/char_traits.h:46, from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/ios:46, from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/ostream:45, from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/iostream:45, from ./../trackdb/Toc.h:23, from dao.h:23, from dao.cc:49: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h: In constructor `std::reverse_iterator<_Iterator>::reverse_iterator()': /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:114: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:114: error: expected `{' before '(' token /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h: In constructor `std::reverse_iterator<_Iterator>::reverse_iterator(_Iterator)': /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:120: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:120: error: expected `{' before '(' token /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h: In copy constructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reverse_iterator<_Iterator>&)': /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:126: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:126: error: expected `{' before '(' token /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h: In constructor `std::reverse_iterator<_Iterator>::reverse_iterator(const std::reverse_iterator<_Iter>&)': /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:134: error: class `std::reverse_iterator<_Iterator>' does not have any field named `get_current' /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.1/include/g++-v3/bits/stl_iterator.h:134: error: expected `{' before '(' token make[2]: *** [dao.o] Error 1 <usual crap follows> Not 100% on this but it looks like problems w/ this kernel header version. Reproducible: Always Steps to Reproduce: 1. emerge cdrdao 2. 3. Actual Results: See details Expected Results: Clean compile (give or take) Portage 2.0.51_pre15 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r0, 2.6.7-gentoo-r11 x86_64 5) ================================================================= System uname: 2.6.7-gentoo-r11 x86_64 5 Gentoo Base System version 1.5.2 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux26-headers-2.6.7-r4 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache" GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aim alsa amd64 apm avi berkdb cddb cdr crypt cups dvd dvdr encode fbcon flac foomaticdb gdbm gif gimpprint gpm gtk gtk2 imap imlib javascript joystick jpeg kerberos libg++ libwww mad mikmod mpeg multilib mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd threads tiff truetype xml2 xmms xv xvid zlib ~arch"
Same barf with linux26-headers-2.6.7-r3. Compiles with 2.6.6-r1. Note that I'm on ~amd64 so if the solution for now is a keywording change I'd like it to affect me, too =)
cdrdao-1.1.9 seems to fix this, as long as you don't have USE=gnome. It's p.masked because of the USE=gnome issue.
Yup, 1.1.9 works here, and I'm -gnome so that's not an issue for me. I guess we'll see how the -gnome bug works out and consider 1.1.9 an eventual solution?
compiles fine here with linux 2.6.7-r12, linux26-headers-2.6.7-r4, gcc-3.3.4-r1 and also with gcc-3.4.1
This is a known problem. The gcdmaster-support currently does not work, as there are some C++- and gnome dependencies broken. I still wait for the gnome-team for a solution. *** This bug has been marked as a duplicate of 51589 ***