[arch-general] pulseaudio troubles

2009-10-04 Thread Juan Diego
Good day everyone

Im having some troubles compiling the lastest version of pulseaudio
from the sources

Im getting the same error when I use the PKGBUILD from the version
0.9.15 (from the community repo)

any ideas of how to fix this?

by the way, according to this:
http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode is not a good
idea to have an init script for pulseaudio

this is the output of make:



make  all-recursive
make[1]: Entering directory `/home/removed/p/src/pulseaudio-0.9.19'
Making all in src
make[2]: Entering directory
`/home/removed/p/src/pulseaudio-0.9.19/src'
make  all-am
make[3]: Entering directory
`/home/removed/p/src/pulseaudio-0.9.19/src'
  CCLD   mcalign-test
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xmalloc'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_sample_spec_valid'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_timeval_store'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_from_string'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_timeval_add'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_timeval_diff'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_timeval_load'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_msleep'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_bytes_snprint'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xmemdup'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_contains'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_free'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_get_host_name'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_sample_format_is_be'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_get_user_name'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_sets'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_get_fqdn'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xstrdup'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_utf8_to_locale'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_timeval_cmp'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xstrndup'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xfree'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_path_get_filename'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_get_binary_name'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_set'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xmalloc0'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_utf8_valid'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_get'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_locale_to_utf8'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_channel_map_valid'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_rtclock_now'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_utf8_filter'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_iterate'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_get_home_dir'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_xrealloc'
/home/removed/p/src/pulseaudio-0.9.19/src/.libs/libpulsecommon-0.9.19.so:
undefined reference to `pa_proplist_gets'

Re: [arch-general] pulseaudio troubles

2009-10-04 Thread Biru Ionut

On 10/04/2009 06:15 PM, Juan Diego wrote:

Good day everyone

Im having some troubles compiling the lastest version of pulseaudio
from the sources

Im getting the same error when I use the PKGBUILD from the version
0.9.15 (from the community repo)

any ideas of how to fix this?

by the way, according to this:
http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode is not a good
idea to have an init script for pulseaudio

this is the output of make:



try to add before ./configure unset LDFLAGS


--
Ionut


Re: [arch-general] pulseaudio troubles

2009-10-04 Thread Juan Diego
yes, it worked, but why? I didn't have defined any LD_FLAGS variable,
is it defined in makepkg?

On Mon, Oct 5, 2009 at 12:22 AM, Biru Ionut biru.io...@gmail.com wrote:
 On 10/04/2009 06:15 PM, Juan Diego wrote:

 Good day everyone

 Im having some troubles compiling the lastest version of pulseaudio
 from the sources

 Im getting the same error when I use the PKGBUILD from the version
 0.9.15 (from the community repo)

 any ideas of how to fix this?

 by the way, according to this:
 http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode is not a good
 idea to have an init script for pulseaudio

 this is the output of make:


 try to add before ./configure unset LDFLAGS


 --
 Ionut



Re: [arch-general] pulseaudio troubles

2009-10-04 Thread Juan Diego
and thanks for you info :)

On Mon, Oct 5, 2009 at 1:58 AM, Juan Diego juantas...@gmail.com wrote:
 yes, it worked, but why? I didn't have defined any LD_FLAGS variable,
 is it defined in makepkg?

 On Mon, Oct 5, 2009 at 12:22 AM, Biru Ionut biru.io...@gmail.com wrote:
 On 10/04/2009 06:15 PM, Juan Diego wrote:

 Good day everyone

 Im having some troubles compiling the lastest version of pulseaudio
 from the sources

 Im getting the same error when I use the PKGBUILD from the version
 0.9.15 (from the community repo)

 any ideas of how to fix this?

 by the way, according to this:
 http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode is not a good
 idea to have an init script for pulseaudio

 this is the output of make:


 try to add before ./configure unset LDFLAGS


 --
 Ionut




Re: [arch-general] pulseaudio troubles

2009-10-04 Thread bardo
2009/10/4 Juan Diego juantas...@gmail.com:
 Good day everyone

Hi!

 Im having some troubles compiling the lastest version of pulseaudio
 from the sources

 Im getting the same error when I use the PKGBUILD from the version
 0.9.15 (from the community repo)

I just built 0.9.19 without modifying the PKGBUILD, in a clean chroot
on x86_64, with the default makepkg.conf, including the latest
LDFLAGS. I've been having some problems with pulse and the newest
kernel (no audio on Intel HDA, while alsa works fine), so I'm holding
back the upgrade until I can properly test it.

 any ideas of how to fix this?

Try the chroot method, it's the best way to get rid of other
software's interferences. For info see:
http://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

 by the way, according to this:
 http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode is not a good
 idea to have an init script for pulseaudio

Thanks for pointing it out. My general opinion is I'd keep providing
the script because the system-wide daemon is supported upstream. They
don't encourage its usage, but neither do I. I'd want some more
feedback from the community on this point, however. Attaching the
script to the wiki and removing it from the package could be another
good solution.

bardo


Re: [arch-general] pulseaudio troubles

2009-10-04 Thread Damjan Georgievski
 by the way, according to this:
 http://www.pulseaudio.org/wiki/WhatIsWrongWithSystemMode is not a good
 idea to have an init script for pulseaudio

 Thanks for pointing it out. My general opinion is I'd keep providing
 the script because the system-wide daemon is supported upstream. They
 don't encourage its usage, but neither do I. I'd want some more
 feedback from the community on this point, however.

I'm using pulseaudio as a system service and I've never had any issues with it

 Attaching the script to the wiki and removing it from the package
 could be another good solution.



-- 
damjan