Fatal error is this one: /usr/lib/gcc-lib/i486-pc-linux-gnu/3.3.2/../../../../i486-pc-linux-gnu/bin/ld: cannot find -lscg collect2: ld returned 1 exit status but i also have, during al configure something like this: ./RULES/r-gmake.dep:76: OBJ/x86-linux-cc/scgcheck.d: No such file or directory ../RULES/r-gmake.dep:76: OBJ/x86-linux-cc/sense.d: No such file or directory ../RULES/r-gmake.dep:76: OBJ/x86-linux-cc/dmaresid.d: No such file or directory ../RULES/r-gmake.dep:76: OBJ/x86-linux-cc/scsi_scan.d: No such file or directory i've gcc 3.3.2-r5, with glibc 2.3.2-r9, and kernel 2.6.3-rc3 i use those CFLAGS: O2 -march=pentium2 -fomit-frame-pointer Reproducible: Always Steps to Reproduce: 1.emerge cdrtools with my conditions 2. 3. Actual Results: errors Expected Results: install..
*** Bug 41897 has been marked as a duplicate of this bug. ***
Are you using a 2.6 kernel? This _might_ be related to header issues in newer kernels (eject has a similar problem). Here's what I did as a workaround to get it to compile - I'm still rebuilding my system, so I don't know if it works 100%. cd /usr/src/linux mv include include_linux ln -s /usr/include include emerge --oneshot cdrtools rm include mv include_linux include
Created attachment 25851 [details] Fixed ebuild set Schilling also is braindead enough (along with many) to include from /usr/src/linux/include this causes breakage if you use latest kernels there. Attached i have ready to extract in $PORTDIR_OVERLAY/app-cdr a working fix for me. Included in tarball: mini patch to make cdrtools not look in /usr/src/linux/include but instead point to the headers installed by sys-kernel/linux-headers (/usr/include/linux/include) Ebuild that applies the patch. Not attaching redundant seperate files. hope this doesn't inconvencience the devs too much.
I'm knocking my head on the table... So, _this_ could be the reason for bug 30798 (this one is only a duplicate) and I should have checked it earlier. Thanks a lot, Ronald! I will add the patch immideately. *** This bug has been marked as a duplicate of 30798 ***
I applied the patch, but changed the path to the kernel-headers to /usr/include/linux (instead of /usr/include/linux/include which does not exist). But I got a lot of errors. Using /usr/include/linux/include works in the same way like removing /usr/src/linux (as mentioned in bug 30798), so that cdrtools choose a fall-back and finishes compiling.