[pulseaudio-tickets] [Bug 92672] New: Compiling pulse audio 7.0

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Oct 25 22:33:30 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=92672

            Bug ID: 92672
           Summary: Compiling pulse audio 7.0
           Product: PulseAudio
           Version: unspecified
          Hardware: x86 (IA32)
                OS: Linux (All)
            Status: NEW
          Severity: blocker
          Priority: medium
         Component: build-system
          Assignee: pulseaudio-bugs at lists.freedesktop.org
          Reporter: saipava at xilinx.com
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
                CC: lennart at poettering.net

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.html

My machine details:
    Lubuntu 32bit running over virtual box.
    Allocated 4gb ram.

Regards,
B. Sai pavan

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20151026/b9b7dba2/attachment.html>


More information about the pulseaudio-bugs mailing list