From: Ralf W. <Ral...@gm...> - 2005-12-14 19:29:45
|
Hi Pierre, * Pierre Ossman wrote on Wed, Dec 14, 2005 at 10:09:35AM CET: > Michael Gerdau wrote: > >>The main polypaudio library is supposed to become a DLL. When trying to > >>link it though, libtool complains loudly about only finding a static > >>version of libm. I'm at a loss what should be done to remedy this. > automake & co generates the makefile, so there's few additions on my > part. But here is what is finally executed: > > /bin/sh ../libtool --mode=link i386-mingw32msvc-gcc -D_GNU_SOURCE > -I/home/ossman/polypaudio -I/usr/local/cross-w32//include > -I/usr/local/cross-w32//include > -DDLSEARCHPATH=\"/usr/local/cross-w32//lib/polypaudio-0.8\" > -DDEFAULT_CONFIG_DIR=\"/usr/local/cross-w32//etc/polypaudio\" > -DPOLYPAUDIO_BINARY=\"/usr/local/cross-w32//bin/polypaudio\" > '-DDEBUG_TRAP=__asm__("int $3")' -g -O2 -pipe -W -Wall -pedantic > -std=gnu9x -Wno-unused-parameter -no-undefined -o > libpolyp-simple-0.8.la -rpath /usr/local/cross-w32//lib -version-info > 0:0:0 libpolyp_simple_0.8_la-polyplib-simple.lo libpolyp-0.8.la > libpolyp-mainloop-0.8.la -lm > > Which gives me: > > *** Warning: linker path does not have real file for library -lm. > If I bastardise libtool and remove the check for the above, it links > fine. I haven't gotten to the point of linking the library to something > functional yet so I don't know if it produces a correct dll. I believe I fixed that in Libtool branch-1-5 after 1.5.20 (and CVS HEAD). So it will be in 1.5.22, which I hope we can release very soon. But thanks for reporting this, reminds me to test that this actually works now. Cheers, Ralf |