curl / Mailing Lists / curl-library / Single Mail

curl-library

Help

From: CHUONG HOANG <chuonghg_at_hotmail.com>
Date: Wed, 25 Jul 2018 14:52:24 +0000

I'm trying to build (cross compile) a libcurl for Embedded Lynxos on Window64. I download curl-7.60.0 and start with configure command and I have error as bellow, what should I do?

Thanks in advance.

[curl-7.60.0] $ ./configure
bash.exe: warning: could not find /tmp, please create!
bash.exe: warning: could not find /tmp, please create!
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... no
checking whether to enable debug build options... no
checking whether to enable compiler optimizer... (assumed) yes
checking whether to enable strict compiler warnings... no
checking whether to enable compiler warnings as errors... no
checking whether to enable curl debug memory tracking... no
checking whether to enable hiding of library internal symbols... yes
checking whether to enable c-ares for DNS lookups... no
checking whether to disable dependency on -lrt... (assumed no)
checking for path separator... :
checking for sed... /cygdrive/c/RW_APPS/LW/2.2.2/usr/bin/sed
checking for grep... /cygdrive/c/RW_APPS/LW/2.2.2/usr/bin/grep
checking for egrep... /cygdrive/c/RW_APPS/LW/2.2.2/usr/bin/grep -E
checking for ar... /cygdrive/c/RW_APPS/LW/2.2.2/ppc_pdn/cdk/win32-xcoff-ppc/bin/ar
checking for a BSD-compatible install... usage: install [-c] [-u uid] [-g gid] [-m mode] src dst
/cygdrive/c/RW_APPS/LW/2.2.2/usr/bin/install -c
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... configure: error: in `/cygdrive/c/Curl/curl-7.60.0.tar/curl-7.60.0/curl-7.60.0':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-07-25