-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -m32 -O2 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o vorbis_decoder.lo vorbis_decoder.cpp /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../akode/lib -I/usr/kde/3.3/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -O2 -m32 -O2 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o xiph_decoder.lo xiph_decoder.cpp speex_decoder.cpp: In member function `virtual bool aKode::SpeexDecoder::readFrame(aKode::AudioFrame*)': speex_decoder.cpp:249: error: `speex_decode_int' undeclared (first use this function) speex_decoder.cpp:249: error: (Each undeclared identifier is reported only once for each function it appears in.) speex_decoder.cpp:260: error: `speex_decode_stereo_int' undeclared (first use this function) make[4]: *** [speex_decoder.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/akode/plugins/xiph_decoder' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/akode/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1/akode' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.1/work/kdemultimedia-3.3.1' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.3.1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. Portage 2.0.51-r2 (default-x86-1.4, gcc-3.4.2, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r5 i686) ================================================================= System uname: 2.6.8-gentoo-r5 i686 mobile AMD Athlon(tm) XP 2500+ Gentoo Base System version 1.5.3 distcc 2.18 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [disabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-m32 -O3 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/NX/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control /var/spool/fax/etc /var/vpopmail/domains /var/vpopmail/etc" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-m32 -O3 -march=athlon-4 -fomit-frame-pointer -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo" MAKEOPTS="-j7" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow 3dnowex 3dnowext X X509 Xaw3d aalib accessibility acl acpi activefilter adns afs aim alsa apache2 apm arts asterisk atm audiofile avi bcmath berkdb bidi bitmap-fonts blender-game bluetooth bmp bonobo bzlib calendar camaelon caps cddb cdparanoia cdr chroot clearpasswd codecs cpdflib crypt cscope ctype cups curl curlwrappers cyrus dbase dbm dbx dedicated devfs26 dga dhcp dio directfb divx4linux djbfft dts dvd dvdr dvdread edl eds emacs encode esd ethereal evo exif f77 faad fam fax fbcon fbdev fdftk fftw filepro firebird flac flash flatfile flexresp flood fltk fluidsynth foomaticdb frascend freetds frlargefiles frxp ftp gb gcj gd gd-external gdbm ggi gif gimpprint gmp gnokii gnome gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal howl icc iconv icq idea imagemagic imagemagick imap imlib inetd inifile innodb insecure-drivers ipalias ipv6 irda jabber jack jack-tmpfs java javamail javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kde kerberos ladcca latex lcd lcms ldap libcaca libg++ libgda libwww lirc live lzo lzw-tiff mad maildir maildrop mailwrapper matroska mbox mbrola mcal mcve mecab memlimit mhash mikmod mime ming mmx mmx2 motif mozcalendar mozilla mozsvg mpeg mpi mppe-mppc msn multitarget mysql mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses netcdf network neural nis nls nntp nptl nptlonly oav objc odbc offensive oggvorbis opengl oscar oss pam pcappcmcia pcntl pcre pcsc-lite pda pdflib perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds prelude procmail pvm python qt quicktime readline rhino rtc ruby samba sasl scanner sdl serial session sftplogging shaper shared sharedmem silc simplexml skey slang slp smartcard smime sndfile snmp snortsam soap sockets socks5 softquota soundtouch speex spell spl sqlite sse ssl stats stencil-buffer svg svga sysvipc szip tcltk tcpd tetex tga theora threads tidy tiff tokenizer transcode transparent-proxy truetype unicode usb v4l v4l2 vda vhosts vpopmail wddx wifi wmf wxwindows x86 xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz zlib"
Can you tell us what version of speex you have installed? thanks. So I'll try to reproduce it. BTW for the kde herd: I've tried with 1.0 and 1.1.4 and it works. With 1.1.6 the configure doesn't detect it because it can't find its headers (<=1.1.4 putted them in /usr/include while 1.1.6 put them in /usr/include/speex). Looking at the code a patch for configure is needed.
Sorry for not responding that long. I have speex 1.1.6 installed. I am masking it now for me. How about this? http://lists.liquidneon.com/pipermail/kde-freebsd/2004-October/009191.html Johnny
This is also a problem for kdemultimedia 3.3.2 I got this problem with speex 1.1.6 and 1.1.5 (1.1.4 was not availible in the portage tree anymore). Installing speex-1.0.3 allowed kdemultimedia 3.3.2 to compile. I've also posted a new bug (#74591) for a very similar problem with speex and kdemultimedia.
*** Bug 76159 has been marked as a duplicate of this bug. ***
Also fails with 3.4.0_beta
Upon looking, it appears to be a slightly different error. This was USE="-speex" and reinstalling speex_1.0.3 as suggested. Can't currently to get it to compile no matter what: /bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../akode/lib -I/usr/kde/3.4/include -I/usr/qt/3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=pentium4 -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o speex_decoder.lo speex_decoder.cpp speex_decoder.cpp: In constructor ` aKode::SpeexDecoder::SpeexDecoder(aKode::File*)': speex_decoder.cpp:100: warning: missing initializer for member ` SpeexStereoState::reserved1' speex_decoder.cpp:100: warning: missing initializer for member ` SpeexStereoState::reserved2' speex_decoder.cpp: In member function `virtual bool aKode::SpeexDecoder::readFrame(aKode::AudioFrame*)': speex_decoder.cpp:251: error: cannot convert `int16_t*' to `float*' for argument `3' to `int speex_decode(void*, SpeexBits*, float*)' speex_decoder.cpp:262: error: cannot convert `int16_t*' to `float*' for argument `1' to `void speex_decode_stereo(float*, int, SpeexStereoState*)' make[4]: *** [speex_decoder.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0_beta1/work/kdemultimedia-3.3.91/akode/plugins/xiph_decoder' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0_beta1/work/kdemultimedia-3.3.91/akode/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0_beta1/work/kdemultimedia-3.3.91/akode' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0_beta1/work/kdemultimedia-3.3.91' make: *** [all] Error 2 !!! ERROR: kde-base/kdemultimedia-3.4.0_beta1 failed. !!! Function kde_src_compile, Line 142, Exitcode 2 !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, NOT this status message. --- emerge --info Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.3.4, glibc-2.3.4.20040808-r0, 2.6.10-gentoo-r2 i686) ================================================================= System uname: 2.6.10-gentoo-r2 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz Gentoo Base System version 1.6.4 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Sep 5 2004, 10:27:23)] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9, 1.8.5-r2, 1.9.3 sys-devel/binutils: 2.15.90.0.1.1-r3 sys-devel/libtool: 1.5.2-r5 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium4 -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -mfpmath=sse -O3 -pipe -fomit-frame-pointer -ffast-math" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://mirrors.tds.net/gentoo http://mirror.datapipe.net/gentoo ftp://gentoo.mirrors.pair.com/" LDFLAGS="" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="X aalib acpi aim alsa apache2 apm arts asterisk avi berkdb bitmap-fonts bzlib cdparanoia cdr crypt cups curl curlwrappers directfb divx4linux dvd dvdr encode esd f77 fam fbcom flac font-server foomatic foomaticdb fortran ftp gdbm gif gpm gtk gtk2 imagemagick imlib java jpeg jpeg2k junit kde kerberos libg++ libwww mad mikmod mime mmx mmx2 motif mozsvg mpeg msn mysql ncurses nls oci8 offensive oggvorbis opengl openssh oracle oss pam pda pdflib perl php png ppds python qt quicktime readline samba scanner sdl slang smtp soap sockets speex spell sse sse2 ssl svg svga tcpd tiff truetype truetype-fonts type1-fonts udev usb x86 xml xml2 xmms xsl xv yahoo zaptel zlib"
how come nothing has been actioned on this bug?
It works fine here, with either speex-1.0.3 or speex-1.1.6, and with USE="speex" or USE="-speex"...
*** Bug 85691 has been marked as a duplicate of this bug. ***
Same problem here with kdemultimedia 3.4 /kde/3.4/include -I/usr/qt/3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp -fomit-frame-pointer -ftracer -pipe -fno-crossjumping -fprefetch-loop-arrays -fstrict-aliasing -fvisibility-inlines-hidden -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -c -o vorbis_decoder.lo vorbis_decoder.cpp speex_decoder.cpp: In constructor `aKode::SpeexDecoder::SpeexDecoder(aKode::File*)': speex_decoder.cpp:100: warning: missing initializer for member `SpeexStereoState::reserved1' speex_decoder.cpp:100: warning: missing initializer for member `SpeexStereoState::reserved2' speex_decoder.cpp: In member function `virtual bool aKode::SpeexDecoder::readFrame(aKode::AudioFrame*)': speex_decoder.cpp:249: error: `speex_decode_int' undeclared (first use this function) speex_decoder.cpp:249: error: (Each undeclared identifier is reported only once for each function it appears in.) speex_decoder.cpp:260: error: `speex_decode_stereo_int' undeclared (first use this function) make[4]: *** [speex_decoder.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... vorbis_decoder.cpp: In constructor `aKode::VorbisDecoder::private_data::private_data()': vorbis_decoder.cpp:87: warning: `aKode::VorbisDecoder::private_data::big_endian' will be initialized after vorbis_decoder.cpp:85: warning: `int aKode::VorbisDecoder::private_data::retries' vorbis_decoder.cpp:73: warning: when initialized here make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/akode/plugins/xiph_decoder' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/akode/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/akode' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0' make: *** [all] Error 2 Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 i686) ================================================================= System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 17 2005, 18:50:24)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r6 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -pipe -fno-crossjumping -fprefetch-loop-arrays -fstrict-aliasing" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/lib/mozilla/defaults/pref/usr/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -ftracer -pipe -fno-crossjumping -fprefetch-loop-arrays -fstrict-aliasing -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo" LDFLAGS="-Wl,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/bmg-main" SYNC="rsync://rsync1.fi.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib ada alsa arts artswrappersuid artworkextra audiofile avi bash-completion berkdb bitmap-fonts cdr cjk cpdflib crypt cups curl dba dga directfb dvd dvdr emboss encode esd evo expat fam fbcon firefox flac flash font-server foomaticdb fortran gb gcc gd gd-external gdbm ggi gif glib glibc gmp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal howl imagemagick imlib innodb ipv6 jack java jmx jpeg jpeg2k junit kde kdevelop kerberos krb4 lcms ldap libg++ libwww libxslt mad mikmod mmx motif mozaccess-builtin mozctl mozilla moznoxft mozxmlterm mp3 mpeg msn mysql ncurses nls nntp nptl odbc oggvorbis opengl oscar oss pam pda pdflib perl php plotutils png python qt quicktime readline samba sdl slang slp sndfile snmp sock5 speex spell sse ssl svga tcltk tcpd tetex thunderbird tiff truetype truetype-fonts type1-fonts unicode usb valgrind vim wxGTK wxwindows xface xine xml xml2 xmms xorg xscreensaver xv yahoo zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL
Please say what version of speex you have installed. It could be also useful to attach /var/tmp/portage/kdemultimedia-3.4.0/work/kdemultimedia-3.4.0/config.log
Created attachment 53801 [details] config log
Sorry..i forgot :D [ebuild R ] media-libs/speex-1.1.7
Created attachment 53813 [details] config.log
The ebuild was missing the fix for the speex headers noted at the beginning of this bug (I thought it was added at some point, but obviously I was wrong...) This doesn't really explain the failure, but is probably related. Please try again now. In any case, check that you don't have spurious copies of speex.h around on your system.
Ok, 3.4.0 builds fine now. Thanks. My policy on bugs is: search for package and version, if there are any Bugs. If I don't find one, then open a new one. Well, I am reporting many bugs, without working much on them. I mean, I don't have that much programming experience, and I am having exams at the university. But what I can see, is, that there are many packages, that don't build. My list of ebuilds, that don't compile is currently one screen big (around 25 Packages). Usually once a week, or less often, I run a script, that builds every package, and logs the output to a file. And then I copy the last lines of these logfiles, and pate them in bug reports. Then I pick the error message, and pick some words, which are specific to the bug I report, and put the packagename + version in the summary line. I hope, this is OK. Perhaps, in the Future, Ill have a script, that does all these jobs automatically. Of course, I have to write the summary myself, and do the research, to avoiding dupes. Any comments? I know, my installation is nearly insane - have a look at my use flags ;-). So I'm closing this bug.