>>> Test phase [not enabled]: media-sound/vkeybd-0.1.15 >>> Install vkeybd-0.1.15 into /var/tmp/portage/vkeybd-0.1.15/image/ category media-sound cc -Wall -O -DVKB_TCLFILE=\"/usr/share/vkeybd/vkeybd.tcl\" -DVKBLIB_DIR=\"/usr/share/vkeybd\" -DVERSION_STR=\"0.1.15\" -DVKB_USE_AWE -DVKB_USE_MIDI -DVKB_USE_ALSA -I/usr/X11R6/include -c -o oper_awe.o oper_awe.c cc -Wall -O -DVKB_TCLFILE=\"/usr/share/vkeybd/vkeybd.tcl\" -DVKBLIB_DIR=\"/usr/share/vkeybd\" -DVERSION_STR=\"0.1.15\" -DVKB_USE_AWE -DVKB_USE_MIDI -DVKB_USE_ALSA -I/usr/X11R6/include -c -o oper_midi.o oper_midi.c cc -o vkeybd vkb.o vkb_device.o oper_awe.o oper_midi.o oper_alsa.o -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lasound -lm vkb.o(.text+0x1c): In function `main': : undefined reference to `cca_extract_args' oper_alsa.o(.text+0x213): In function `seq_open': : undefined reference to `cca_init' oper_alsa.o(.text+0x224): In function `seq_open': : undefined reference to `cca_server_connected' oper_alsa.o(.text+0x234): In function `seq_open': : undefined reference to `cca_event_new_with_type' oper_alsa.o(.text+0x25f): In function `seq_open': : undefined reference to `cca_event_set_string' oper_alsa.o(.text+0x270): In function `seq_open': : undefined reference to `cca_send_event' oper_alsa.o(.text+0x36d): In function `seq_open': : undefined reference to `cca_server_connected' collect2: ld returned 1 exit status make: *** [vkeybd] Error 1 !!! ERROR: media-sound/vkeybd-0.1.15 failed. !!! Function src_install, Line 42, Exitcode 2 !!! Installation Failed !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. 2. 3. amazing ~ # emerge info Portage 2.0.51.19 (default-linux/x86/2005.0, 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) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 17 2005, 16:36:13)] distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.9.5, 1.5, 1.6.3, 1.7.9-r1, 1.4_p6 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="-march=i686 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /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/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" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=i686 -O2 -pipe -fomit-frame-pointer -fvisibility-inlines-hidden" DISTDIR="/media/MEDIA1/gentoo/distfiles" FEATURES="autoaddcvs autoconfig buildpkg distlocks prelink sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LANG="ru_RU.CP1251" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags" MAKEOPTS="-j1" PKGDIR="/media/MEDIA1/gentoo/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/media/MEDIA1/gentoo/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acl acpi acpi4linux activefilter alsa apm arts artswrappersuid audiofile avi bash-completion bitmap-fonts bluetooth caps cdda cddb cdio cdparanoia cdr crypt cups curl dga directfb dts dv dvb dvd dvdr dvdread emboss encode exif fam fbcon ffmpeg fftw flac foomaticdb freetype ftp gd ggi gif gimp glitz gnokii gnutls gphoto2 gpm gstreamer gtk2 guile hal howl iconv ieee1394 imagemagick imap imlib innodb jack jack-tmpfs joystick jpeg jpeg2k kde kdeenablefinal kerberos ladcca ladspa lcd lcms ldap libcaca libg++ libgda libwww lirc live lm_sensors lmtp logitech-mouse lua lufsusermount lzo mad maildir mailwrapper matroska mbox mikmod mjpeg mmx mng mozilla mozsvg mp3 mpeg mppe-mppc mythtv nas ncurses network nntp no-old-linux nptl nptlonly ntlm oav odbc ogg oggvorbis openal opengl pam pcmcia pcre pda pdflib pic plotutils png portaudio povray pvm pwdb qt quicktime quotas rdesktop readline real rtc samba sasl scanner sdl silc skey slang slp smartcard socks5 speex spell ssl stream svg svga svgz symlink sysfs tcltk tcpd tetex theora threads tidy tiff transcode truetype truetype-fonts usb utf8 v4l v4l2 vcd vcdimager vidix vlm wifi wmf wxwindows xine xml xml2 xv xvid yv12 zeroconf zlib linguas_ru" Unset: ASFLAGS, CBUILD, CTARGET, LC_ALL
please remove the line where you define LDFLAGS and try again
aditionally, the linker seems the fail on the ladcca functions. Does re-emerging ladcca fix your problem? Please provide feedback if it cures your problem or not.
remove the LDFLAGS definition from your make.conf and try again. feel free to reopen if you'Re going to provide the requested informations. thanks
# emerge media-sound/vkeybd >>> Install vkeybd-0.1.15 into /var/tmp/portage/vkeybd-0.1.15/image/ category media-sound cc -Wall -O -DVKB_TCLFILE=\"/usr/share/vkeybd/vkeybd.tcl\" -DVKBLIB_DIR=\"/usr/share/vkeybd\" -DVERSION_STR=\"0.1.15\" -DVKB_USE_AWE -DVKB_USE_MIDI -DVKB_USE_ALSA -I/usr/X11R6/include -c -o oper_awe.o oper_awe.c cc -Wall -O -DVKB_TCLFILE=\"/usr/share/vkeybd/vkeybd.tcl\" -DVKBLIB_DIR=\"/usr/share/vkeybd\" -DVERSION_STR=\"0.1.15\" -DVKB_USE_AWE -DVKB_USE_MIDI -DVKB_USE_ALSA -I/usr/X11R6/include -c -o oper_midi.o oper_midi.c cc -o vkeybd vkb.o vkb_device.o oper_awe.o oper_midi.o oper_alsa.o -ltk8.4 -ltcl8.4 -L/usr/X11R6/lib -lX11 -ldl -lasound -lmvkb.o: In function `main': vkb.c:(.text+0x1c): undefined reference to `cca_extract_args' oper_alsa.o: In function `seq_open': oper_alsa.c:(.text+0x213): undefined reference to `cca_init' oper_alsa.c:(.text+0x224): undefined reference to `cca_server_connected' oper_alsa.c:(.text+0x234): undefined reference to `cca_event_new_with_type' oper_alsa.c:(.text+0x25f): undefined reference to `cca_event_set_string' oper_alsa.c:(.text+0x270): undefined reference to `cca_send_event' oper_alsa.c:(.text+0x36d): undefined reference to `cca_server_connected' collect2: ld returned 1 exit status make: *** [vkeybd] Error 1 !!! ERROR: media-sound/vkeybd-0.1.15 failed. !!! Function src_install, Line 42, Exitcode 2 !!! Installation Failed !!! If you need support, post the topmost build error, NOT this status message. with # USE="-ladcca" emerge media-sound/vkeybd all ok Some info: [ebuild R ] media-sound/vkeybd-0.1.15 +alsa +ladcca* -oss # emerge info | grep LDFLAGS Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS re-emerging ladcca don't help [ebuild R ] media-libs/ladcca-0.4.0-r1 Any suggestions ?
How is this resolved? Looks to be ongoing to me. Anyway, I got vkeybd-0.1.15 to work with ladcca by editing /var/tmp/portage/vkeybd-0.1.15/work/vkeybd/Makefile and changing USE_LADCCA = 0 to USE_LADCCA = 1 and doing "make && make install" after the emerge failed.
The problem was caused because the makefile required a local modification to link against the ladcca library. This was resolved in bug #99445. Closing this bug now.