Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 493204 - app-accessibility/speech-tools-2.1-r2 - ../lib/libestbase.so: undefined reference to `snd_pcm_close'
Summary: app-accessibility/speech-tools-2.1-r2 - ../lib/libestbase.so: undefined refer...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jesus Rivero (RETIRED)
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: underlinking 510600
  Show dependency tree
 
Reported: 2013-12-03 10:21 UTC by Jaakko Perttilä
Modified: 2015-01-07 10:06 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
include alsa in oslibs (99_alsa.patch,565 bytes, patch)
2013-12-03 10:23 UTC, Jaakko Perttilä
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jaakko Perttilä 2013-12-03 10:21:20 UTC
This may be happening only with paludis, I can reproduce the error on two machines. Current alsa-lib is media-libs/alsa-lib-1.0.27.2::gentoo


Reproducible: Always

Actual Results:  

x86_64-pc-linux-gnu-g++ -Wall -lncurses -Wl,-O1 -Wl,--as-needed -ldl -o ch_lab ch_lab_main.o -L../lib -lestools -L../lib -lestbase -L../lib -leststring -lncurses -lasound -lncurses -Wl,-O1 -Wl,--as-needed -ldl -lm -lstdc++ -lgcc
../lib/libestbase.so: undefined reference to `snd_pcm_close'
../lib/libestbase.so: undefined reference to `snd_pcm_open'
../lib/libestbase.so: undefined reference to `snd_pcm_state'
../lib/libestbase.so: undefined reference to `snd_pcm_drain'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params'
../lib/libestbase.so: undefined reference to `snd_pcm_wait'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params_set_format'
../lib/libestbase.so: undefined reference to `snd_pcm_prepare'
../lib/libestbase.so: undefined reference to `snd_pcm_resume'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params_any'
../lib/libestbase.so: undefined reference to `snd_strerror'
../lib/libestbase.so: undefined reference to `snd_pcm_writei'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params_set_access'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params_set_channels'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params_set_rate_near'
../lib/libestbase.so: undefined reference to `snd_pcm_drop'
../lib/libestbase.so: undefined reference to `snd_pcm_hw_params_sizeof'
collect2: error: ld returned 1 exit status
make[1]: *** [ch_lab] Error 1
make: *** [main] Error 2
Comment 1 Jaakko Perttilä 2013-12-03 10:23:19 UTC
Created attachment 364506 [details, diff]
include alsa in oslibs

Builds with the patch.
Comment 2 Pacho Ramos gentoo-dev 2015-01-07 10:06:56 UTC
+  07 Jan 2015; Pacho Ramos <pacho@gentoo.org>
+  +files/speech-tools-2.1-underlinking.patch,
+  -files/speech-tools-1.2.96_beta-gcc42.patch,
+  -files/speech-tools-1.2.96_beta-gcc43-include.patch,
+  -files/speech-tools-1.2.96_beta-gcc44.patch,
+  -speech-tools-1.2.96_beta-r2.ebuild, -speech-tools-1.2.96_beta.ebuild,
+  -speech-tools-2.0.95_beta.ebuild, speech-tools-2.1-r2.ebuild:
+  Fix underlinking, bug #493204 by Jaakko Perttilä; drop old
+