<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Compiling pulse audio 7.0"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=92672">92672</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Compiling pulse audio 7.0
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>PulseAudio
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86 (IA32)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>blocker
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>build-system
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>saipava@xilinx.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>pulseaudio-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>lennart@poettering.net
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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

<a href="http://www.linuxfromscratch.org/blfs/view/svn/multimedia/pulseaudio.html">http://www.linuxfromscratch.org/blfs/view/svn/multimedia/pulseaudio.html</a>

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

Regards,
B. Sai pavan</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>