it fails each time on this part; seems related to the -lscg option: 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/usr/include/scsilib -march=pentium3 -O3 -pipe -mmmx -msse -c ScsiIf-lib.cc -o ScsiIf-lib.o ar r libdao.a port.o data.o CdrDriver.o CDD2600Base.o CDD2600.o PlextorReader.o GenericMMC.o SubChannel.o PQSubChannel16.o PWSubChannel96.o PQChannelEncoder.o GenericMMCraw.o PlextorReaderScan.o RicohMP6200.o TaiyoYuden.o YamahaCDR10x.o TeacCdr55.o SonyCDU920.o SonyCDU948.o ToshibaReader.o CdTextEncoder.o Settings.o dao.o ScsiIf-lib.o ranlib libdao.a g++ -o cdrdao main.o -L. -ldao -L../paranoia -lcdda_paranoia -L../trackdb -ltrackdb -L/usr/lib -lscg -lschily -lpthread -lnsl /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lscg collect2: ld returned 1 exit status make[1]: *** [cdrdao] Error 1 make[1]: Leaving directory `/var/tmp/portage/cdrdao-1.1.7-r2/work/cdrdao-1.1.7/dao' make: *** [all] Error 1 !!! ERROR: app-cdr/cdrdao-1.1.7-r2 failed. !!! Function src_compile, Line 65, Exitcode 2 !!! (no error message) my emerge info: Portage 2.0.49-r10 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.6.0-test6-mm4) ================================================================= System uname: 2.6.0-test6-mm4 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.4.3.10 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" 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/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O3 -pipe -mmmx -msse" DISTDIR="/usr/portage/distfiles" FEATURES="sandbox ccache autoaddcvs" GENTOO_MIRRORS="http://gentoo.oregonstate.edu 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.europe.gentoo.org/gentoo-portage" USE="avi crypt cups encode foomaticdb gif gpm jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts tetex svga ggi sdl tcpd pam libwww ssl perl python esd oggvorbis motif opengl X kde qt gtk gtk2 -gnome -alsa mmx sse radeon -sis -rage128 -matrox -3dfx -gamma i8x0 cdr dvd flash gd gphoto2 gps imlib mozilla mysql oss pic plotutils samba tcltk tiff usb wmf slp apm dga java x86"
*** This bug has been marked as a duplicate of 30798 ***
I removed lines 62 and 63 from the ebuild and let cdrdao's configure find the scsi libs on its own, and this fixed the problem for me. Offending lines: --with-scglib-inc=/usr/include/scsilib \ --with-scglib-lib=/usr/lib \
Created attachment 19069 [details] working (for me - please test) cdrdao ebuild based on 1.1.7-r2
pointing /usr/src/linux to a 2.4.22 vanilla-sources kernel solved the problem... I'm stunned.
guys this bug is closes talk about this in bug 30798