checking for main in -lfltk... no configure: error: missing fltk !!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r2 failed. !!! Function econf, Line 334, Exitcode 1 !!! econf failed config.log shows: configure:1493: g++ -o conftest -mcpu=athlon -O3 -pipe -I/usr/include/fltk-1.1 - L/usr/lib/fltk-1.1 conftest.c -lfltk 1>&5 /usr/lib/fltk-1.1/libfltk.so: undefined reference to `Fl_Text_Diqplay::grapped_l ine_counter(Fl_Text_Buffer*, int, int, int, bool, int, int*, int*, int*, int*, b ool)' collect2: ld returned 1 exit status # nm /usr/lib/fltk-1.1/libfltk.so|grep Fl_Text_Diq U _ZN15Fl_Text_Diqplay20grapped_line_counterEP14Fl_Text_BufferiiibiPiS2_S2_S2_b
you've probably updated freetype since you emerged fltk ... re-emerge fltk and see if alsamixergui still fails
I'm getting the same error. I remerged fltk and then again alsamixergui but it still fails. The error is the same as in above.
which version of fltk do you have?
I just ran into this bug as well. I reinstalled fltk (1.1.2-r1) and tried to rebuild alsamixergui - the configure failed again claiming it couldn't find the fltk libs. I did the configure by hand with "-xv" set and it looked like it was not looking for the fltk libraries in the right directory. In the configure script I added "-L/usr/lib/fltk-1.1" to the LIBS variable just before the test compile for fltk and it still failed - but a bit differently. The configure seemed to be doing "gcc -o conftest conftest.c" and this gave errors : "undefined reference to numericsort" as well as a bunch of c++ errors ("undefined reference to operator new...). "g++ -o conftest conftst.c..." gave the error "undefined reference to numericsort()" nm shows "T" for fl_numericsort - but replacing the numericsort with fl_numericsort didn't work. Being a stubborn type, I grepped for numericsort in the source and found nothing. So I removed the test for fltk in the configure and without it configure was happy. Make, however, was not, I needed to add "-I/usr/include/fltk-1.1" to the flags for compiling and added "-L/usr/lib/libfltk-1.1 -lfltk -lfltk_forms" and make worked jest fine and so did alsaguimixer - at least it started, displayed reasonable looking stuff and all that. I have no idea how to reintegrate this into configure though (configure being way beyond my poor benighted brain).
alright. it seems like a linking issue with fltk and libstdc++. i've put in a workaround for this in the latest fltk ebuild. please: emerge sync emerge fltk alsamixergui this only happens under glibc-2.3.1, for some strange reason, oh well.
*** Bug 17894 has been marked as a duplicate of this bug. ***
*** Bug 16335 has been marked as a duplicate of this bug. ***