g++ -DHAVE_CONFIG_H -D_THREAD_SAFE -D_REENTRANT -DVERSION=\"1.1.7\" -DDRIVER_TABLE_FILE=\"/usr/share/cdrdao/drivers\" -I./.. -I. -I./../trackdb -I./../scsilib/export -I./../scsilib/export/libschily -march=i686 -O3 -pipe -I/usr/lib/gtkmm/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/lib/sigc++-1.0/include -I/usr/include/sigc++-1.0 -fno-exceptions -c ScsiIf-lib.cc -o ScsiIf-lib.o In file included from /usr/include/linux/sysctl.h:29, from dao.cc:35: /usr/include/linux/list.h:445:2: warning: #warning "don't include kernel headers in userspace" In file included from ScsiIf-lib.cc:30: /usr/include/scsi/scsi.h:204: syntax error before `[' token make[1]: *** [ScsiIf-lib.o] Error 1 make[1]: *** Waiting for unfinished jobs.... make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.7-r1/work/cdrdao-1.1.7/dao' make: *** [all] Error 1 !!! ERROR: app-cdr/cdrdao-1.1.7-r1 failed. !!! Function src_compile, Line 59, Exitcode 2 !!! (no error message) Reproducible: Always Steps to Reproduce: 1.emerge cdrdao Actual Results: compile fails Expected Results: compile succeeds (~) # emerge info Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.2-r1) ================================================================= System uname: 2.5.69 i686 Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz GENTOO_MIRRORS="http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 oss 3dnow avi crypt cups encode gif jpeg kde gnome libg++ mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm slang readline bonobo svga tcltk guile X sdl gpm pam libwww ssl perl python esd imlib oggvorbis gtk qt opengl cdr scanner acpi alsa apache2 -apm -arts -berkdb dga dvd ethereal gd gphoto2 gps gtk2 gtkhtml imap ipv6 -java mbox -motif pcmcia plotutils pnp postgres snmp sse -tcpd tiff trusted usb wavelan" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -O3 -pipe" CXXFLAGS="-march=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
The gentoo kernel team does not support nor build patches for 2.5 kernels at this time, as its in high development. Please report bugs to the linux kernel mail list.