[pulseaudio-discuss] Compiling pulse audio 7.0

Sai Pavan Boddu sai.pavan.boddu at xilinx.com
Sun Oct 25 22:26:18 PDT 2015


+ Puseaudio-discuss

Ping!

Thanks,
Sai Pavan

> -----Original Message-----
> From: Sai Pavan Boddu
> Sent: Friday, October 23, 2015 10:49 AM
> To: 'pulseaudio-bugs at lists.freedesktop.org'
> Subject: Compiling pulse audio 7.0
> 
> Hi all,
> 
> I need pulse audio static files(libpulse.a and libpulse-simple.a) for building by
> QEMU tool statically.
> Ubuntu package manger is not providing me any static versions, I only have
> .SO files.
> 
> So I got down to compile pulse audio from source, and I see the following
> errors
> 
> modules/alsa/alsa-util.c: In function 'pa_alsa_set_sw_params':
> modules/alsa/alsa-util.c:464:5: warning: implicit declaration of function
> 'snd_pcm_sw_params_set_period_event' [-Wimplicit-function-declaration]
>      if ((err = snd_pcm_sw_params_set_period_event(pcm, swparams,
> period_event)) < 0) {
>      ^
> modules/alsa/alsa-util.c:469:65: error: 'SND_PCM_TSTAMP_ENABLE'
> undeclared (first use in this function)
>      if ((err = snd_pcm_sw_params_set_tstamp_mode(pcm, swparams,
> SND_PCM_TSTAMP_ENABLE)) < 0) {
>                                                                  ^
> modules/alsa/alsa-util.c:469:65: note: each undeclared identifier is reported
> only once for each function it appears in
> modules/alsa/alsa-util.c: In function 'pa_alsa_open_by_device_string':
> modules/alsa/alsa-util.c:692:33: error: 'SND_PCM_NO_AUTO_RESAMPLE'
> undeclared (first use in this function)
>                                  SND_PCM_NO_AUTO_RESAMPLE|
>                                  ^
> modules/alsa/alsa-util.c:693:33: error: 'SND_PCM_NO_AUTO_CHANNELS'
> undeclared (first use in this function)
>                                  SND_PCM_NO_AUTO_CHANNELS|
>                                  ^
> modules/alsa/alsa-util.c:694:49: error: 'SND_PCM_NO_AUTO_FORMAT'
> undeclared (first use in this function)
>                                  (reformat ? 0 : SND_PCM_NO_AUTO_FORMAT))) < 0) {
>                                                  ^
> modules/alsa/alsa-util.c: In function 'pa_alsa_safe_avail':
> modules/alsa/alsa-util.c:1137:5: warning: implicit declaration of function
> 'snd_pcm_avail' [-Wimplicit-function-declaration]
>      n = snd_pcm_avail(pcm);
>      ^
> 
> Do I need to install any deps still. I just believe "apt-get build-dep
> pulseaudio" should be enough. If I am missing any thing more here please let
> me know.
> 
> Below is the link, from where I followed the steps to compile
> 
> http://www.linuxfromscratch.org/blfs/view/svn/multimedia/pulseaudio.ht
> ml
> 
> My machine details:
> 	Lubuntu 32bit running over virtual box.
> 	Allocated 4gb ram.
> 
> Regards,
> B. Sai pavan



More information about the pulseaudio-discuss mailing list