Celeron Coppermine 850 Mhz compiler flags: CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS}" Last few lines of compiler output: checking for gcc... gcc checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1.1) works... yes checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1.1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for c++... c++ checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1.1) works... yes checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1.1) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for fl_numericsort in -lfltk... no configure: error: missing fltk !!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed. !!! Function econf, Line 11, Exitcode 1 !!! econf failed
Is your FLTK installation hosed, by any chance? I cannot reproduce the problem. Try re-merging fltk and see if it solves the problem.
I don't think so. I have tried emerge -e alsamixergui as well with the same failure. >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> x11-libs/fltk-1.1.1 merged. >>> Recording x11-libs/fltk in "world" favorites file... x11-libs/fltk selected: none protected: 1.1.1 omitted: none >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. fancypiper / # emerge -u alsamixergui Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/alsamixergui-0.9.0.1.2-r1 to / >>> md5 ;-) alsamixergui-0.9.0rc1-2.tar.gz >>> Unpacking source... >>> Unpacking alsamixergui-0.9.0rc1-2.tar.gz patching file Makefile.am patching file configure patching file configure.in patching file src/Fl_AM.cxx patching file src/Fl_Pixmap_Button.H >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1 .1) works... yes checking whether the C compiler (gcc -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1 .1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for c++... c++ checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk -1.1) works... yes checking whether the C++ compiler (c++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk -1.1) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether c++ accepts -g... yes checking dependency style of c++... gcc3 checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for fl_numericsort in -lfltk... no configure: error: missing fltk !!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed. !!! Function econf, Line 11, Exitcode 1 !!! econf failed
You can use gnome-alsamixer instead (but it does not seem to be emergeable) http://www.paw.co.za/projects/gnome-alsamixer/
Get the same problem with alsamixergui here. Emerged fltk again but no joy. My CFLAGS="-march=athlon-mp -O2 -pipe -fomit-frame-pointer". Tried building fltk manually and sticking it in /usr/local/ but alsamixergui still failed to find it.
I still cannot reproduce this bug. Can you try changing the CFLAGS to something more conservative; especially the -march part, to something generic, like i686 or equivallent?
gentoo-r10, gcc-3.2.1 I re-emerged fltk-.1.1.2 then alsamixergui gives this. checking for c++... g++ checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1.1) works... yes checking whether the C++ compiler (g++ -march=pentium3 -O3 -pipe -L/usr/lib/fltk-1.1) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for fl_numericsort in -lfltk... no configure: error: missing fltk !!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed. !!! Function econf, Line 11, Exitcode 1 !!! econf failed
*** Bug 13324 has been marked as a duplicate of this bug. ***
seems to be a gcc3 bug works on my gcc2.95 machine, now trying on my gcc3.2.1
yes, this is a gcc 3 issue i'm getting the same error msg on my gcc 3 box
This fails on my machine, it's running gcc-2.95.3 emerge info Portage 2.0.46-r4 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7) ================================================================= System uname: 2.4.19-gentoo-r10 i686 Celeron (Coppermine) USE="x86 avi crypt encode jpeg kde libg++ mmx ncurses pdflib qtmt xmms berkdb bo nobo gdbm gif gnome gnome-libs gtk gtkhtml guile imlib libwww motif nls oggvorbi s pam perl png python qt readline scanner sdl slang ssl svga tcltk tcpd tetex ti ff X -3dnow -apm -pcmcia -pda -gphoto2 -cdr cups dga aalib arts lcms quicktime a lsa java esd mikmod oss nas mozilla mpeg ggi ggz spell truetype xml xml2 samba d oc gpm -dvd -fbcon flash opengl xv" ARCH="x86" COMPILER="" CHOST="i686-pc-linux-gnu" CFLAGS="-mcpu=i686 -O3 -pipe" CXXFLAGS="-mcpu=i686 -O3 -pipe" ACCEPT_KEYWORDS="x86 ~x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi g /usr/kde/3/share/config /usr/kde/3.1/share/config:/usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="/opt/ibm-jre-1.3.1" AUTOCLEAN="no" SYNC="rsync://192.168.100.5/gentoo-portage/" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
Aniruddha Shankar please attache the whole log and more info's about the version of the depending packages
*** Bug 13387 has been marked as a duplicate of this bug. ***
seems -r2 works for gcc3 can anyone confirm this ?
r2 ebuild works; System uname: 2.4.20 i686 Pentium III (Coppermine) USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx motif mpeg ncurses nls pdflib png qt qtmt quicktime sdl spell svga truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline java gpm tcpd pam ssl perl python esd imlib oggvorbis opengl mozilla X gtk -gnome -kde -arts" ARCH="x86" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" MAKEOPTS="-j2" JDK_HOME="" JAVA_HOME="/opt/blackdown-jre-1.3.1" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" GENTOO_MIRRORS="http://www.ibiblio.org/pub/Linux/distributions/gentoo"
r2 merges for me without errors, but r1 doesn't configure because of the same problem (it can't find fltk correctly) CFLAGS="-march=athlon-tbird -O3 -pipe" CXXFLAGS="${CFLAGS}" USE="X 3dnow mmx mozilla ncurses oggvorbis opengl oss perl ssl svga xmms acpi qt kde cdr encode gdbm gpm java jpeg maildir alsa"
r2 also builds for me without error but at runtime I get this: alsamixergui: relocation error: alsamixergui: undefined symbol: _ZTI8Fl_Menu_ I just finished upgrading this machine to 1.4-gcc3 so I'm probably using old libraries that need recompiling. But fltk I just finished emerging and r1 couldn't find it.
I have the same problem with a new install of gentoo. >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... >>> x11-libs/fltk-1.1.2-r1 merged. >>> Recording x11-libs/fltk in "world" favorites file... x11-libs/fltk selected: none protected: 1.1.2-r1 omitted: none >>> clean: No packages selected for removal. >>> Regenerating /etc/ld.so.cache... >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. bash-2.05b# emerge alsamixergui Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/alsamixergui-0.9.0.1.2-r1 to / >>> md5 ;-) alsamixergui-0.9.0rc1-2.tar.gz >>> Unpacking source... >>> Unpacking alsamixergui-0.9.0rc1-2.tar.gz patching file Makefile.am patching file configure patching file configure.in patching file src/Fl_AM.cxx patching file src/Fl_Pixmap_Button.H >>> Source unpacked. creating cache ./config.cache checking for a BSD compatible install... /bin/install -c checking whether build environment is sane... yes checking for mawk... no checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for gcc... gcc checking whether the C compiler (gcc -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) works... yes checking whether the C compiler (gcc -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for c++... g++ checking whether the C++ compiler (g++ -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) works... yes checking whether the C++ compiler (g++ -march=athlon -O3 -pipe -fomit-frame-pointer -L/usr/lib/fltk-1.1) is a cross-compiler... no checking whether we are using GNU C++... yes checking whether g++ accepts -g... yes checking dependency style of g++... gcc3 checking for a BSD compatible install... /bin/install -c checking whether ln -s works... yes checking for fl_numericsort in -lfltk... no configure: error: missing fltk !!! ERROR: media-sound/alsamixergui-0.9.0.1.2-r1 failed. !!! Function econf, Line 334, Exitcode 1 !!! econf failed
I just re-merged fltk just in case and I still get the same error. This is from config.log: configure:1474: checking for fl_numericsort in -lfltk configure:1493: gcc -o conftest -mcpu=i586 -O -pipe -fomit-frame-pointer -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 `operator new[](unsigned)' /usr/lib/fltk-1.1/libfltk.so: undefined reference to `vtable for __cxxabiv1::__si_class_type_info' /usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator delete(void*)' /usr/lib/fltk-1.1/libfltk.so: undefined reference to `__cxa_pure_virtual' /usr/lib/fltk-1.1/libfltk.so: undefined reference to `vtable for __cxxabiv1::__class_type_info' /usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator delete[](void*)' /usr/lib/fltk-1.1/libfltk.so: undefined reference to `operator new(unsigned)' collect2: ld returned 1 exit status # ldd libfltk.so.1.1 libpthread.so.0 => /lib/libpthread.so.0 (0x155d9000) libm.so.6 => /lib/libm.so.6 (0x1562a000) libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x1564d000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x1565a000) libpng.so.3 => /usr/lib/libpng.so.3 (0x1572c000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x15757000) libz.so.1 => /usr/lib/libz.so.1 (0x15776000) libc.so.6 => /lib/libc.so.6 (0x15783000) libdl.so.2 => /lib/libdl.so.2 (0x158aa000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x2aaaa000)
Hmm. Well, I just tried -r2 which compiles and works perfectly, so I guess this bug has already been fixed. Now the problem is that emerge wants to (D)owngrade the port to -r1 which, as you all know, does NOT compile with gcc3.
fixed with upstream version