[pulseaudio-discuss] Win32 compilation

Julien Langlois julien.langlois at gmail.com
Tue Jun 26 01:44:55 PDT 2007


Hello,

I'm trying to compile Pulseaudio for Windows. As i don't like very
much M$ system, i have a mingw environment on my linux (crossdev on
Gentoo) and i cross compile.

So for compile, i do :

# ./configure --host=mingw32
# make

after reading error or warning, i installed dependencies :
 - libatomic_ops
 - libsamplerate
 - libsndfile
using ./configure --host=mingw32 --prefix=/usr/mingw32/usr && make &&
sudo make install

But i've a last error when creating dynamic libs (see in detail in attached)

So i'm looking for anyone who already made a Windows compilation of Pulseaudio.

Thanks in advance

    Julien Langlois
-------------- next part --------------
*** Warning: This system can not link to static lib archive libpulsecore.la.
*** I have the capability to make that library automatically link in when
*** you link to this library.  But I can only do this if you have a
*** shared version of the library, which you do not appear to have.
libtool: link: warning: `/usr/mingw32/mingw/lib//libsamplerate.la' seems to be moved
libtool: link: warning: `/usr/mingw32/mingw/lib//libsndfile.la' seems to be moved
rm -fr  .libs/libiochannel.dll.a
mingw32-gcc -shared  .libs/iochannel.o  -L/home/juju/pulse/pulseaudio-0.9.6/src/.libs ./.libs/libsocket-util.dll.a -L/home/juju/pulse/pulseaudio-0.9.6/libltdl/.libs -L/usr/mingw32/mingw/lib/ -lwsock32 -lws2_32 -lwininet  -Wl,--export-all-symbols -o .libs/libiochannel.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libiochannel.dll.a
Creating library file: .libs/libiochannel.dll.a
.libs/iochannel.o: In function `pa_iochannel_read':
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:227: undefined reference to `_pa_read'
.libs/iochannel.o: In function `pa_iochannel_write':
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:211: undefined reference to `_pa_write'
.libs/iochannel.o: In function `pa_iochannel_free':
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:177: undefined reference to `_pa_close'
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:179: undefined reference to `_pa_close'
.libs/iochannel.o: In function `pa_iochannel_new':
/home/juju/pulse/pulseaudio-0.9.6/src/./pulse/xmalloc.h:63: undefined reference to `_pa_xmalloc'
.libs/iochannel.o: In function `pa_iochannel_new':
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:153: undefined reference to `_pa_make_nonblock_fd'
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:158: undefined reference to `_pa_make_nonblock_fd'
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:148: undefined reference to `_pa_make_nonblock_fd'
.libs/iochannel.o: In function `pa_iochannel_free':
/home/juju/pulse/pulseaudio-0.9.6/src/pulsecore/iochannel.c:182: undefined reference to `_pa_xfree'
collect2: ld returned 1 exit status
make[3]: *** [libiochannel.la] Erreur 1
make[3]: quittant le r?pertoire ? /home/juju/pulse/pulseaudio-0.9.6/src ?
make[2]: *** [all] Erreur 2
make[2]: quittant le r?pertoire ? /home/juju/pulse/pulseaudio-0.9.6/src ?
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le r?pertoire ? /home/juju/pulse/pulseaudio-0.9.6 ?
make: *** [all] Erreur 2


More information about the pulseaudio-discuss mailing list