Emerge app-cdr/cdw fails with: i686-pc-linux-gnu-gcc -O2 -march=athlon-xp -fomit-frame-pointer -o cdw -Wl,--export-dynamic -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 main.o color.o options.o thread.o isosize.o log.o cddb.o help.o gtkgui.o gtk_thread.o gtk_cddb.o -lncurses -lform -lmenu thread.o(.text+0x27b1): In function `run_command': : undefined reference to `pthread_create' thread.o(.text+0x27d5): In function `run_command': : undefined reference to `pthread_create' thread.o(.text+0x27e9): In function `run_command': : undefined reference to `pthread_join' thread.o(.text+0x27fd): In function `run_command': : undefined reference to `pthread_join' gtk_thread.o(.text+0x22e5): In function `run_command_gtk': : undefined reference to `pthread_create' gtk_thread.o(.text+0x2309): In function `run_command_gtk': : undefined reference to `pthread_create' gtk_thread.o(.text+0x231d): In function `run_command_gtk': : undefined reference to `pthread_join' gtk_thread.o(.text+0x2331): In function `run_command_gtk': : undefined reference to `pthread_join' collect2: ld returned 1 exit status make[2]: ** [cdw] Erro 1 make[2]: Leaving directory `/var/tmp/portage/cdw-0.2.3/work/cdw-0.2.3/src' make[1]: ** [all-recursive] Erro 1 make[1]: Leaving directory `/var/tmp/portage/cdw-0.2.3/work/cdw-0.2.3' make: ** [all] Erro 2 Reproducible: Always Steps to Reproduce:
I think the problem might be solved by using -lpthread on the linking line. But I don't know autotools enought to suggest a patch.
let's see the output from emerge --info
I figured out the problem. This bug is a duplicate of bug 80113, the problem is in libc, not on cdw. *** This bug has been marked as a duplicate of 80113 ***