Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#40365 - [clalsadrv] build fails

Attached to Project: Community Packages
Opened by Joel Teichroeb (klusark) - Wednesday, 14 May 2014, 20:55 GMT
Last edited by Jelle van der Waa (jelly) - Monday, 28 March 2016, 10:23 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To speps (archspeps)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wall -I. -fPIC -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -O2 -c -o clalsadrv.o clalsadrv.cc
g++ -shared -Wl,-O1,--sort-common,--as-needed,-z,relro -Wl,-soname,libclalsadrv.so.2 -o libclalsadrv.so.2.0.0 clalsadrv.o -lasound
g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../libs -D_FORTIFY_SOURCE=2 -O2 -Wall -MMD -MP -DVERSION=\"\" -c -o loopback.o loopback.cc
g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../libs -D_FORTIFY_SOURCE=2 -O2 -Wall -MMD -MP -DVERSION=\"\" -c -o latency.o latency.cc
g++ -Wl,-O1,--sort-common,--as-needed,-z,relro -L../libs -lasound -L/usr/lib64 -o alsa-loopback loopback.o -lclthreads -lclalsadrv -lpthread -lrt
/usr/bin/ld: loopback.o: undefined reference to symbol 'snd_pcm_mmap_commit@@ALSA_0.9'
/usr/lib64/libasound.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:31: recipe for target 'alsa-loopback' failed
make: *** [alsa-loopback] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
Aborting...


Steps to reproduce:
sudo extra-x86_64-build
This task depends upon

Closed by  Jelle van der Waa (jelly)
Monday, 28 March 2016, 10:23 GMT
Reason for closing:  Works for me
Additional comments about closing:  Builds works for me.
Comment by mattia (nTia89) - Thursday, 13 November 2014, 20:36 GMT
I confirm the bug.
I get the same error but with an extra output attached under the reported one:

/usr/bin/ld: latency.o: undefined reference to symbol 'snd_pcm_mmap_commit@@ALSA_0.9'
/usr/lib64/libasound.so: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:39: recipe for target 'alsa-latency' failed
make: *** [alsa-latency] Error 1
Comment by Jelle van der Waa (jelly) - Monday, 28 March 2016, 10:18 GMT
Build works fine on my machine, are you building in a clean chroot?
Comment by mattia (nTia89) - Monday, 28 March 2016, 10:22 GMT
yes, now it builds fine!
we can close it

Loading...