curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

i686-w64-mingw32-gcc, openssl, libcurl: libtool: error: unrecognised option: '-I../include'

From: Thomas Glanzmann via curl-library <curl-library_at_lists.haxx.se>
Date: Thu, 20 Oct 2022 11:10:29 +0200

Hello everyone,
I use i686-w64-mingw32-gcc on Debian 11.5/amd64 to compile openssl and
libcurl for Windows. Recently I get the following error while compiling:

make[2]: Entering directory '/srv/kvm/scratch/vlconnect/curl/src'
  CC tool_libinfo.o
/bin/bash ../libtool --tag=RC --mode=compile -I../include -DCURL_EMBED_MANIFEST -i curl.rc -o curl.o
libtool: error: ignoring unknown tag RC
Usage: /srv/kvm/scratch/vlconnect/curl/libtool [OPTION]... [MODE-ARG]...
Try 'libtool --help' for more information.
libtool: error: unrecognised option: '-I../include'
make[2]: *** [Makefile:20990: curl.o] Error 1
make[2]: Leaving directory '/srv/kvm/scratch/vlconnect/curl/src'
make[1]: *** [Makefile:1488: all-recursive] Error 1
make[1]: Leaving directory '/srv/kvm/scratch/vlconnect/curl/src'
make: *** [Makefile:1238: all-recursive] Error 1

I used git bisect to track down the commit
6de7322c03d5b4d91576a7d9fc893e03cc9d1057 which introduced the regression for
me. I confirmed that reverting that commit resolves my issue.

Find a script to reproduce the issue and the full build output here:

https://tg.st/u/ad68a31462958a3ef0c801258bf5e8dde310d9fe062416d37d42f1e996af6bdb.txt

Am I doing something stupid? Any idea how to resolve the issue other than
reverting 6de7322c03d5b4d91576a7d9fc893e03cc9d1057?

Cheers,
        Thomas
-- 
Unsubscribe: https://lists.haxx.se/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2022-10-20