Closed Flix01 closed 6 years ago
[Solved] --disable-http
had to be added to configure this way:
./configure --disable-http --host=x86_64-w64-mingw32
instead of:
./configure --host=x86_64-w64-mingw32
.
P.S. Although it probably disables some features, it's OK for me and I hope it helps others :smile: .
src/wincerts.c: In function ‘op_capi_new’:
src/wincerts.c:42:8: error: dereferencing pointer to incomplete type ‘X509_LOOKUP {aka struct x509_lookup_st}’
_lu->method_data=(char *)h_store;
This looks like the winsock headers on your system aren't complete. Did you try mingw/Makefile? That uses the unix makefile instead of the autoconf build; maybe there's some option we're missing. It does a 32-bit build assuming a Fedora environment, but it should be easy to change the tool prefix.
Did you try mingw/Makefile? That uses the unix makefile instead of the autoconf build; maybe there's some option we're missing. It does a 32-bit build assuming a Fedora environment, but it should be easy to change the tool prefix.
@rillian: I've just tried it and it seems to work. It downloads and builds: libogg-1.3.2.tar.xz, openssl-1.0.2l.tar.gz and opus-1.2.1.tar.gz. All I had to do in Makefile was to replace: i686
with x86_64
and then I also commented out these lines:
# cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libgcc_s_sjlj-1.dll $@
# cp /usr/x86_64-w64-mingw32/sys-root/mingw/bin/libwinpthread-1.dll $@
because they are not present on my system (but I can easily search and copy these dlls manually later).
Thanks for your help and your quick reply :smiley: !
Ok, great, that's probably a better work-around than disabling network support. Thanks for checking!
Hello.
I'm cross-compiling opusfile for mingw64 (from Ubuntu 18.04 - 64bit through
./configure --host=x86_64-w64-mingw32
) and I'm experiencing the following errors:Similar errors seem to be reported here: https://aur.archlinux.org/packages/mingw-w64-opusfile/
However it's not clear to me when I should use
--disable-http
to fix them, or if there is a version problem...Any help ?
P.S. I'm using
openssl-1.1.0i-win64-mingw
andopusfile-0.9 or opusfile-master (same errors AFAICR)
.