I had trouble emerging k3b (tried k3b-0.12-14 and k3b-0.12-14 ) because it would fail on the file k3blameencoder.cpp. The values for the preset array (V9,V8,...V0) were not defined. When using the encode USE flag k3b has a dependency to lame but it does not specify a minimum version that must be present. I had lame 3.93.1-r1 installed. To resolve the problem I had to manually update lame first (in my case to lame-3.96.1). I do not know in which version of lame exactly the Vx preset defines appear first. You need to check the lame.h in /usr/include/lame/ to see if the Vx defines are present under :"typedef enum preset_mode_e". The ebuild would need to specify the minimum lame version to use for it to update lame if needed.
3.93.1-r1 has been removed just 22 months ago. Upgrade your system properly using --deep, thanks.
I still get the error even with lame-3.96.1 I am using gcc-4.1.1 (also happens with 3.3.6) I am trying to emerge app-cdr/k3b-0.12.14 (my $USE is as follows) USE="alsa css dvdr encode ffmpeg mp3 vcd xinerama -arts -debug -flac -hal -kde -musepack -musicbrainz -sndfile -vorbis" but I get the following errors. /bin/sh ../../../libtool --silent --mode=compile --tag=CXX i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I./../../../libk3b/core -I./../../../libk3b/plugin -I./../../../libk3b/core -I./../../../libk3bdevice -I/usr/kde/3.5/include -I/usr/qt/3/include -I. -I/usr/kde/3.5/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O3 -march=athlon-mp -pipe -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -c -o base_k3blameencodersettingswidget.lo `test -f 'base_k3blameencodersettingswidget.cpp' || echo './'`base_k3blameencodersettingswidget.cpp k3blameencoder.cpp: In member function `virtual bool K3bLameEncoder::initEncoderInternal(const QString&, const K3b::Msf&)': k3blameencoder.cpp:176: error: `V9' undeclared (first use this function) k3blameencoder.cpp:176: error: (Each undeclared identifier is reported only once for each function it appears in.) k3blameencoder.cpp:177: error: `V8' undeclared (first use this function) k3blameencoder.cpp:178: error: `V7' undeclared (first use this function) k3blameencoder.cpp:179: error: `V6' undeclared (first use this function) k3blameencoder.cpp:180: error: `V5' undeclared (first use this function) k3blameencoder.cpp:181: error: `V4' undeclared (first use this function) k3blameencoder.cpp:182: error: `V3' undeclared (first use this function) k3blameencoder.cpp:183: error: `V2' undeclared (first use this function) k3blameencoder.cpp:184: error: `V1' undeclared (first use this function) k3blameencoder.cpp:186: error: `V0' undeclared (first use this function) make[4]: *** [k3blameencoder.lo] Error 1 make[4]: *** Waiting for unfinished jobs.... make[4]: Leaving directory `/var/tmp/portage/k3b-0.12.14/work/k3b-0.12.14/plugins/encoder/lame' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/var/tmp/portage/k3b-0.12.14/work/k3b-0.12.14/plugins/encoder' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/k3b-0.12.14/work/k3b-0.12.14/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/k3b-0.12.14/work/k3b-0.12.14' make: *** [all] Error 2 !!! ERROR: app-cdr/k3b-0.12.14 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile k3b-0.12.14.ebuild, line 96: Called kde_src_compile kde.eclass, line 171: Called kde_src_compile 'all' kde.eclass, line 341: Called kde_src_compile 'myconf' 'configure' 'make' kde.eclass, line 337: Called die !!! died running emake, kde_src_compile:make !!! If you need support, post the topmost build error, and the call stack if relevant. emerge --info follows: bloo ~ # emerge --info Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686) ================================================================= System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(tm) MP 2600+ Gentoo Base System version 1.12.5 Last Sync: Wed, 25 Oct 2006 03:30:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-mp -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /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/" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O3 -march=athlon-mp -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/" LINGUAS="" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aac aalib acl alsa apache2 apm ati audacious berkdb bitmap-fonts cdda cdr cli cracklib crypt css cups curl dbus divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac foomaticdb fortran gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml guile howl imagemagick imlib input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse ipv6 isdnlog java jpeg kerberos kernel_linux ldap libcaca libg++ libwww lirc lirc_devices_mceusb2 live lzo mad matroska mikmod mjpeg mmx mmx2 mmxext motif mp3 mpeg mpeg2 mysql mythtv nas ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda perl php png ppds pppd python qt3 qt4 quicktime readline reflection rtc samba sdl session skey slang smp snmp spell spl sse sse2 ssl stream svga tcpd threads tiff truetype truetype-fonts type1-fonts udev usb userland_GNU v4l v4l2 vcd video_cards_radeon video_cards_v4l video_cards_vesa video_cards_vga video_cards_vmware vorbis win32codecs wxwindows x264 xchatdccserver xine xinerama xml xorg xosd xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
I don't have this problem. Try the following: 1. emerge --sync 2. emerge -vuDNa world 3. revdep-rebuild 4. emerge k3b Also, you can try to run "regenworld" (if your world file is not OK) before emerge -avuDN world If it fails again, you can try to use testing k3b version (x.17), it works fine for me on x86 and amd64 arches Good luck!
(In reply to comment #2) Can you repoduce this with lame-3.97