Summary: | Unable to compile media-sound/vkeybd-0.1.15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alexey Maximov <amax> |
Component: | Current packages | Assignee: | Gentoo Sound Team <sound> |
Status: | VERIFIED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 99445 | ||
Bug Blocks: |
Description
Alexey Maximov
2005-03-19 08:58:38 UTC
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. |