- 积分
- 24
贡献165
飞刀54 FD
注册时间2022-6-9
在线时间5 小时
|
发表于 2022-7-10 17:25:32
|
显示全部楼层
一样遇到这个问题,configure就出错了。
root@forlinx:/home/forlinx/work/curl-7.84.0# ./configure --prefix=/home/forlinx/libcurl --host=arm-linux CC=arm-poky-linux-gnueabi-gcc CXX=arm-poky-linux-gnueabi-g++
configure: loading site script /opt/fsl-imx-x11/4.1.15-2.1.0/site-config-cortexa9hf-neon-poky-linux-gnueabi
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make supports nested variables... yes
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 whether to enable ECH support... no
checking for path separator... :
checking for sed... (cached) sed
checking for grep... /bin/grep
checking for egrep... /bin/grep -E
checking for a BSD-compatible install... /usr/bin/install -c
checking for arm-linux-gcc... arm-poky-linux-gnueabi-gcc
checking whether the C compiler works... no
configure: error: in `/home/forlinx/work/curl-7.84.0':
configure: error: C compiler cannot create executables
See `config.log' for more details
|
|