mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-10-29 05:40:25 -04:00
This test program is a pthread application, while Makefile has no flags
for linker about pthread library. This can cause below error.
$ make pcm-multi-thread
CCLD pcm-multi-thread
/usr/bin/ld: pcm-multi-thread.o: undefined reference to symbol 'pthread_cancel@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
Makefile:523: recipe for target 'pcm-multi-thread' failed
make: *** [pcm-multi-thread] Error 1
This commit fixes the bug by adding a corresponding flag.
Fixes: 147093ac5b8d('test: Add pcm-multi-thread program')
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
|
||
|---|---|---|
| .. | ||
| lsb | ||
| ucm | ||
| audio_time.c | ||
| chmap.c | ||
| client_event_filter.c | ||
| code.c | ||
| control.c | ||
| latency.c | ||
| Makefile.am | ||
| midifile.3 | ||
| midifile.c | ||
| midifile.h | ||
| midiloop.c | ||
| namehint.c | ||
| oldapi.c | ||
| omixer.c | ||
| pcm-multi-thread.c | ||
| pcm.c | ||
| pcm_min.c | ||
| playmidi1.c | ||
| queue_timer.c | ||
| rawmidi.c | ||
| seq-decoder.c | ||
| seq-sender.c | ||
| seq.c | ||
| timer.c | ||
| user-ctl-element-set.c | ||