[pulseaudio-discuss] Trouble when cross-compiling

Lennart Poettering lennart at poettering.net
Tue Aug 5 07:23:04 PDT 2008


On Tue, 05.08.08 14:04, rdiezmail-pulseaudio at yahoo.de (rdiezmail-pulseaudio at yahoo.de) wrote:

> Hi all:
> 
> I'm having trouble cross-compiling PulseAudio for an embedded PowerPC Linux. "embedded" means in this case "cut-down", i.e., some OS features are missing.
> 
> I don't really need the whole PulseAudio suite, the test device hasn't even got a sound card, I just wanted to create a small network client application and play the sound remotely on my PC sound server. I already have the server binaries for Windows and Linux, I only need to cross-compile the client library (libpulse.so.0.5.0).
> 
> Is there a way to configure and build just libpulse, and leave everything else out? It looks like the configure script wants to build everything and check every library dependency beforehand. Trying to cross-compile liboil, libsamplerate, libsndfile, libatomic_ops, libspeexdsp, libgdbm and all PulseAudio components is a nightmare.
> 
> If the answer is "no", I guess I can fool the ./configure script. What do I need to do to build and install just libpulse?

It's usually the best idea to build the full PA stack, install it with
DESTDIR and remove what you do not need, before copying the remainder into
your main tree.

Lennart

-- 
Lennart Poettering                        Red Hat, Inc.
lennart [at] poettering [dot] net         ICQ# 11060553
http://0pointer.net/lennart/           GnuPG 0x1A015CC4



More information about the pulseaudio-discuss mailing list