On Wed, Nov 20, 2013 at 12:52 PM, Erik van Pienbroek
<e...@vanpienbroek.nl>wrote:

> Richard Shaw schreef op do 17-10-2013 om 11:48 [-0500]:
>
> >  I can now get it to build an RPM but it will not build the shared
> > library with libtool complaining about:
> >
> >
> > libtool: link: warning: undefined symbols not allowed in
> > x86_64-w64-mingw32 shared libraries
>
> Hi,
>
> Perhaps a bit late, but here goes.
> What you're experiencing is probably an ancient version of libtool which
> is bundled with the package in question which isn't aware of the triplet
> x86_64-w64-mingw32 yet. It can be resolved by manually running these
> commands in your source tree folder:
>
> $ libtoolize --copy --force
> $ autoreconf --install --force
>
> Afterwards you can run the ./configure && make commands as usual to
> build the package.


I had tried a few combinations of libtoolize but hadn't tried --force, but
no dice, same error...

/bin/sh ../libtool  --tag=CC   --mode=link x86_64-w64-mingw32-gcc
-fvisibility=hidden -std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused
-Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign
-Wshadow -I/usr/x86_64-w64-mingw32/sys-root/mingw/include/libusb-1.0   -O2
-g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
--param=ssp-buffer-size=4 -version-info 8:4:4 -release 0.1  -o
libusb.la-rpath /usr/x86_64-w64-mingw32/sys-root/mingw/lib
libusb_la-core.lo
-L/usr/x86_64-w64-mingw32/sys-root/mingw/lib -lusb-1.0
libtool: link: warning: undefined symbols not allowed in x86_64-w64-mingw32
shared libraries

I'm not an autotools fan but to honest I'm not sure it's the problem. I'm
trying to get it to link with the libusb fork which Fedora uses and the
details are getting a bit fuzzy but some things had gotten out of sync and
even with the patch, I'm not sure the functions/name space, whatever is the
same.

Thanks,
Richard
_______________________________________________
mingw mailing list
mingw@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/mingw

Reply via email to