Pulseaudio speaker.monitor & build error

Asked by Heero Yui

IO get the packages sources of pulse in : http://packages.ubuntu.com/trusty/pulseaudio and the patches to apply
I apply all the patches described in the patches/series file witha classical methode patch -p1 < www.patch

When I try to build it ;
./configure
---{ pulseaudio 4.0 }---

    prefix: /usr/local
    sysconfdir: ${prefix}/etc
    localstatedir: ${prefix}/var
    modlibexecdir: ${exec_prefix}/lib/pulse-4.0/modules
    System Runtime Path: /usr/local/var/run/pulse
    System State Path: /usr/local/var/lib/pulse
    System Config Path: /usr/local/var/lib/pulse
    Compiler: gcc -std=gnu99
    CFLAGS: -g -O2 -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
    LIBS: -lcap -lpthread -lrt -ldl -lm

    Enable X11: no
    Enable OSS Output: yes
    Enable OSS Wrapper: yes
    Enable EsounD: yes
    Enable Alsa: yes
    Enable Android audio HAL: no
    Enable CoreAudio: no
    Enable Solaris: no
    Enable WaveOut: no
    Enable GLib 2.0: yes
    Enable Gtk+ 3.0: yes
    Enable GConf: yes
    Enable Avahi: yes
    Enable Jack: yes
    Enable Async DNS: yes
    Enable LIRC: no
    Enable Xen PV driver: no
    Enable D-Bus: yes
      Enable BlueZ: no
    Enable udev: yes
      Enable HAL->udev compat: yes
    Enable systemd login: yes
    Enable TCP Wrappers: no
    Enable libsamplerate: yes
    Enable IPv6: yes
    Enable OpenSSL (for Airtunes): yes
    Enable fftw: yes
    Enable orc: yes
    Enable Adrian echo canceller: yes
    Enable speex (resampler, AEC): yes
    Enable WebRTC echo canceller: yes
    Enable gcov coverage: no
    Enable unit tests: no
    Database
      tdb: no
      gdbm: no
      simple database: yes

    System User: pulse
    System Group: pulse
    Access Group: pulse-access
    Enable per-user EsounD socket: yes
    Force preopen: no
    Preopened modules: all

    Legacy Database Entry Support: yes

I have 2 build error :
.libs/module_alsa_card_la-module-alsa-card.o: In function `module_alsa_card_LTX_pa__done':
/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/modules/alsa/module-alsa-card.c:824: undefined reference to `pa_alsa_extcon_free'
.libs/module_alsa_card_la-module-alsa-card.o: In function `module_alsa_card_LTX_pa__init':
/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/modules/alsa/module-alsa-card.c:757: undefined reference to `pa_alsa_extcon_new'

/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/daemon/main.c:1178: undefined reference to `pa_inotify_stop'
/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/daemon/main.c:1028: undefined reference to `pa_inotify_start'

After comment all problematics lines I have an error on speaker.monitor. It added many unneeded sample and the realtime with the microphove became really bad.

Have you an idea to start searching of this bug?

thank you.

HY

Question information

Language:
English (United Kingdom) Edit question
Status:
Expired
For:
Ubuntu pulseaudio Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Heero Yui (yui-heero) said :
#1

(sorry return error)

 ---{ pulseaudio 4.0 }---

    prefix: /usr/local
    sysconfdir: ${prefix}/etc
    localstatedir: ${prefix}/var
    modlibexecdir: ${exec_prefix}/lib/pulse-4.0/modules
    System Runtime Path: /usr/local/var/run/pulse
    System State Path: /usr/local/var/lib/pulse
    System Config Path: /usr/local/var/lib/pulse
    Compiler: gcc -std=gnu99
    CFLAGS: -g -O2 -Wall -W -Wextra -pipe -Wno-long-long -Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2 -Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs -Wformat-nonliteral -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes -Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings -Wno-unused-parameter -ffast-math -Wp,-D_FORTIFY_SOURCE=2 -fno-common -fdiagnostics-show-option
    LIBS: -lcap -lpthread -lrt -ldl -lm

    Enable X11: no
    Enable OSS Output: yes
    Enable OSS Wrapper: yes
    Enable EsounD: yes
    Enable Alsa: yes
    Enable Android audio HAL: no
    Enable CoreAudio: no
    Enable Solaris: no
    Enable WaveOut: no
    Enable GLib 2.0: yes
    Enable Gtk+ 3.0: yes
    Enable GConf: yes
    Enable Avahi: yes
    Enable Jack: yes
    Enable Async DNS: yes
    Enable LIRC: no
    Enable Xen PV driver: no
    Enable D-Bus: yes
      Enable BlueZ: no
    Enable udev: yes
      Enable HAL->udev compat: yes
    Enable systemd login: yes
    Enable TCP Wrappers: no
    Enable libsamplerate: yes
    Enable IPv6: yes
    Enable OpenSSL (for Airtunes): yes
    Enable fftw: yes
    Enable orc: yes
    Enable Adrian echo canceller: yes
    Enable speex (resampler, AEC): yes
    Enable WebRTC echo canceller: yes
    Enable gcov coverage: no
    Enable unit tests: no
    Database
      tdb: no
      gdbm: no
      simple database: yes

    System User: pulse
    System Group: pulse
    Access Group: pulse-access
    Enable per-user EsounD socket: yes
    Force preopen: no
    Preopened modules: all

    Legacy Database Entry Support: yes

I have 2 build error :
.libs/module_alsa_card_la-module-alsa-card.o: In function `module_alsa_card_LTX_pa__done':
/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/modules/alsa/module-alsa-card.c:824: undefined reference to `pa_alsa_extcon_free'
.libs/module_alsa_card_la-module-alsa-card.o: In function `module_alsa_card_LTX_pa__init':
/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/modules/alsa/module-alsa-card.c:757: undefined reference to `pa_alsa_extcon_new'

/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/daemon/main.c:1178: undefined reference to `pa_inotify_stop'
/home/edupin/dev/pro/ubuntu/pulseaudioPacket/pulseaudio-4.0/src/daemon/main.c:1028: undefined reference to `pa_inotify_start'

After comment all problematics lines I have an error on speaker.monitor. It added many unneeded sample and the realtime with the microphove became really bad.

Have you an idea to start searching of this bug?

thank you.

HY

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Henk Poley (henkpoley) said :
#3

Maybe reopen this? On Ubuntu 14.04.1 LTS this exact error still happens with a `apt-get build-dep pulseaudio` to pull in the required development libraries and a `apt-get source pulseaudio` to fetch pulseaudio and patch in the ubuntu patches.

It appears that pulseaudio cannot be built on stock ubuntu trusty.

Revision history for this message
Henk Poley (henkpoley) said :
#4

pulseaudio 5.0 from ppa:ubuntu-audio-dev/pulse-testing can be fetched and built by the method I described above. This is enough for me, but there are probably people who want to work with the exact version that came with their distro.