1

Temat: curl

22.03
próbuje skompilować  curla z nie niestandardowymi  opcjami   - ale się wywala 

make[2]: Leaving directory '/home/adam/22.03/openwrt/scripts/config'
 make[1] package/curl/compile
 make[2] -C package/libs/toolchain compile
 make[2] -C package/system/ca-certificates compile
 make[2] -C package/libs/zlib compile
 make[2] -C package/libs/libiconv compile
 make[2] -C feeds/packages/libs/libxml2 compile
 make[2] -C feeds/packages/libs/db47 compile
 make[2] -C package/libs/openssl compile
 make[2] -C feeds/packages/libs/cyrus-sasl compile
 make[2] -C package/libs/ncurses host-compile
 make[2] -C package/libs/ncurses compile
 make[2] -C package/utils/util-linux compile
 make[2] -C feeds/packages/libs/openldap compile
 make[2] -C package/libs/mbedtls compile
 make[2] -C feeds/packages/libs/nghttp2 compile
 make[2] -C feeds/packages/utils/zstd compile
 make[2] -C feeds/packages/net/curl compile
    ERROR: package/feeds/packages/curl failed to build.
make -r package/curl/compile: build failed. Please re-run make with -j1 V=s or V=sc for a higher verbosity level to see what's going on
/home/adam/22.03/openwrt/include/toplevel.mk:228: recipe for target 'package/curl/compile' failed
make: *** [package/curl/compile] Error 1
adam@Z51:~/22.03/openwrt$ make package/curl/compile -j1 V=s
make[2]: Entering directory '/home/adam/22.03/openwrt/scripts/config'
make[2]: 'conf' is up to date.
make[2]: Leaving directory '/home/adam/22.03/openwrt/scripts/config'
make[1]: Entering directory '/home/adam/22.03/openwrt'
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/toolchain'
echo "libc" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libgcc" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libatomic" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libstdcpp" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "libpthread" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
echo "librt" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/toolchain.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/toolchain'
time: package/libs/toolchain/compile#0.18#0.08#0.24
make[2]: Entering directory '/home/adam/22.03/openwrt/package/system/ca-certificates'
echo "ca-bundle" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/ca-certificates.default.install
echo "ca-certificates" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/ca-certificates.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/system/ca-certificates'
time: package/system/ca-certificates/compile#0.20#0.07#0.25
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/zlib'
echo "zlib" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/zlib.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/zlib'
time: package/libs/zlib/compile#0.20#0.06#0.24
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/libiconv'
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/libiconv'
time: package/libs/libiconv/compile#0.49#0.07#0.53
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/libs/libxml2'
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/libs/libxml2'
time: package/feeds/packages/libxml2/compile#0.28#0.09#0.31
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/libs/db47'
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/libs/db47'
time: package/feeds/packages/db47/compile#0.32#0.13#0.38
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/openssl'
echo "libopenssl" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/openssl.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/openssl'
time: package/libs/openssl/compile#0.26#0.07#0.29
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/libs/cyrus-sasl'
echo "libsasl2" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/cyrus-sasl.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/libs/cyrus-sasl'
time: package/feeds/packages/cyrus-sasl/compile#0.51#0.09#0.57
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/ncurses'
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/ncurses'
time: package/libs/ncurses/host-compile#0.31#0.10#0.36
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/ncurses'
echo "terminfo" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/ncurses.default.install
echo "libncurses" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/ncurses.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/ncurses'
time: package/libs/ncurses/compile#0.35#0.11#0.41
make[2]: Entering directory '/home/adam/22.03/openwrt/package/utils/util-linux'
echo "libuuid" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "libblkid" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "libfdisk" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "libmount" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "libsmartcols" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "blkid" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "dmesg" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "fdisk" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
echo "lsblk" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/util-linux.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/utils/util-linux'
time: package/utils/util-linux/compile#0.37#0.10#0.42
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/libs/openldap'
echo "libopenldap" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/openldap.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/libs/openldap'
time: package/feeds/packages/openldap/compile#0.37#0.07#0.40
make[2]: Entering directory '/home/adam/22.03/openwrt/package/libs/mbedtls'
echo "libmbedtls" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/mbedtls.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/package/libs/mbedtls'
time: package/libs/mbedtls/compile#0.29#0.05#0.31
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/libs/nghttp2'
echo "libnghttp2" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/nghttp2.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/libs/nghttp2'
time: package/feeds/packages/nghttp2/compile#0.23#0.07#0.27
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/utils/zstd'
echo "libzstd" >> /home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/pkginfo/zstd.default.install
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/utils/zstd'
time: package/feeds/packages/zstd/compile#0.25#0.06#0.29
make[2]: Entering directory '/home/adam/22.03/openwrt/feeds/packages/net/curl'
rm -f /home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/.built
touch /home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/.built_check
CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1=curl-7.83.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -ffunction-sections -fdata-sections  -I/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -DCURL_DISABLE_NTLM " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1=curl-7.83.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -ffunction-sections -fdata-sections  -I/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/include -I/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include/fortify -I/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/include -DCURL_DISABLE_NTLM " LDFLAGS="-L/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -Wl,--gc-sections " make  -C /home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/. AR="arm-openwrt-linux-muslgnueabi-gcc-ar" AS="arm-openwrt-linux-muslgnueabi-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1=curl-7.83.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -ffunction-sections -fdata-sections" LD=arm-openwrt-linux-muslgnueabi-ld NM="arm-openwrt-linux-muslgnueabi-gcc-nm" CC="arm-openwrt-linux-muslgnueabi-gcc" GCC="arm-openwrt-linux-muslgnueabi-gcc" CXX="arm-openwrt-linux-muslgnueabi-g++" RANLIB="arm-openwrt-linux-muslgnueabi-gcc-ranlib" STRIP=arm-openwrt-linux-muslgnueabi-strip OBJCOPY=arm-openwrt-linux-muslgnueabi-objcopy OBJDUMP=arm-openwrt-linux-muslgnueabi-objdump SIZE=arm-openwrt-linux-muslgnueabi-size CROSS="arm-openwrt-linux-muslgnueabi-" ARCH="arm" ;
make[3]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1'
Making all in lib
make[4]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/lib'
make  all-am
make[5]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/lib'
make[5]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/lib'
make[4]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/lib'
Making all in src
make[4]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/src'
Making all in ../docs
make[5]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/docs'
Making all in .
make[6]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/docs'
make[6]: Nothing to be done for 'all-am'.
make[6]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/docs'
Making all in cmdline-opts
make[6]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/docs/cmdline-opts'
make[6]: Nothing to be done for 'all'.
make[6]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/docs/cmdline-opts'
make[5]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/docs'
make[5]: Entering directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/src'
/bin/bash ../libtool  --tag=CC   --mode=link arm-openwrt-linux-muslgnueabi-gcc  -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1=curl-7.83.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro -DPIC -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers   -L/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -znow -zrelro -Wl,--gc-sections -L/home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib -L/home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib -L/home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib -L/home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib -o curl slist_wc.o tool_binmode.o tool_bname.o tool_cb_dbg.o tool_cb_hdr.o tool_cb_prg.o tool_cb_rea.o tool_cb_see.o tool_cb_wrt.o tool_cfgable.o tool_dirhie.o tool_doswin.o tool_easysrc.o tool_filetime.o tool_findfile.o tool_formparse.o tool_getparam.o tool_getpass.o tool_help.o tool_helpers.o tool_hugehelp.o tool_libinfo.o tool_listhelp.o tool_main.o tool_msgs.o tool_operate.o tool_operhlp.o tool_panykey.o tool_paramhlp.o tool_parsecfg.o tool_progress.o tool_strdup.o tool_setopt.o tool_sleep.o tool_urlglob.o tool_util.o tool_vms.o tool_writeout.o tool_writeout_json.o tool_xattr.o ../lib/strtoofft.o ../lib/timediff.o ../lib/nonblock.o ../lib/warnless.o ../lib/curl_ctype.o ../lib/curl_multibyte.o ../lib/version_win32.o ../lib/dynbuf.o  ../lib/libcurl.la -lnghttp2 -lmbedtls -lmbedx509 -lmbedcrypto -lldap -llber -lzstd -lzstd -lz 
OpenWrt-libtool: link: arm-openwrt-linux-muslgnueabi-gcc -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -mfloat-abi=hard -fmacro-prefix-map=/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1=curl-7.83.1 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z -Wl,now -Wl,-z -Wl,relro -DPIC -fpic -ffunction-sections -fdata-sections -Werror-implicit-function-declaration -Wno-system-headers -znow -zrelro -Wl,--gc-sections -o .libs/curl slist_wc.o tool_binmode.o tool_bname.o tool_cb_dbg.o tool_cb_hdr.o tool_cb_prg.o tool_cb_rea.o tool_cb_see.o tool_cb_wrt.o tool_cfgable.o tool_dirhie.o tool_doswin.o tool_easysrc.o tool_filetime.o tool_findfile.o tool_formparse.o tool_getparam.o tool_getpass.o tool_help.o tool_helpers.o tool_hugehelp.o tool_libinfo.o tool_listhelp.o tool_main.o tool_msgs.o tool_operate.o tool_operhlp.o tool_panykey.o tool_paramhlp.o tool_parsecfg.o tool_progress.o tool_strdup.o tool_setopt.o tool_sleep.o tool_urlglob.o tool_util.o tool_vms.o tool_writeout.o tool_writeout_json.o tool_xattr.o ../lib/strtoofft.o ../lib/timediff.o ../lib/nonblock.o ../lib/warnless.o ../lib/curl_ctype.o ../lib/curl_multibyte.o ../lib/version_win32.o ../lib/dynbuf.o  -L/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/usr/lib -L/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib -L/home/adam/22.03/openwrt/staging_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/usr/lib ../lib/.libs/libcurl.so -lnghttp2 -lmbedtls -lmbedx509 -lmbedcrypto -lldap -llber -lzstd -lz
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_can_authenticate'
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_parse_url_auth_option'
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_decode_mech'
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_continue'
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_start'
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_init'
/home/adam/22.03/openwrt/staging_dir/toolchain-arm_cortex-a7+neon-vfpv4_gcc-11.2.0_musl_eabi/lib/gcc/arm-openwrt-linux-muslgnueabi/11.2.0/../../../../arm-openwrt-linux-muslgnueabi/bin/ld: ../lib/.libs/libcurl.so: undefined reference to `Curl_sasl_cleanup'
collect2: error: ld returned 1 exit status
Makefile:911: recipe for target 'curl' failed
make[5]: *** [curl] Error 1
make[5]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/src'
Makefile:1393: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/src'
Makefile:1226: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1'
Makefile:182: recipe for target '/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/.built' failed
make[2]: *** [/home/adam/22.03/openwrt/build_dir/target-arm_cortex-a7+neon-vfpv4_musl_eabi/curl-7.83.1/.built] Error 2
make[2]: Leaving directory '/home/adam/22.03/openwrt/feeds/packages/net/curl'
time: package/feeds/packages/curl/compile#0.55#0.11#0.63
    ERROR: package/feeds/packages/curl failed to build.
package/Makefile:114: recipe for target 'package/feeds/packages/curl/compile' failed
make[1]: *** [package/feeds/packages/curl/compile] Error 1
make[1]: Leaving directory '/home/adam/22.03/openwrt'
/home/adam/22.03/openwrt/include/toplevel.mk:228: recipe for target 'package/curl/compile' failed
make: *** [package/curl/compile] Error 2
adam@Z51:~/22.03/openwrt$ 

1.co go boli ?
2.moze głupie pytanie ale czy nawet jak go zbuduje czy będę wstanie go zainstalować  w działajcym systemie : w tym sensie ze odinstalowuje starego i instaluje nowego  biorąc pod uwage ze mogę nie ogarnąć zalezności ,  albo czy pójdzie jakoś nadpisać starego wymuszając instalację ??

2

Odp: curl

1. Dodaj sobie libsasl do zależności, bo tego szuka.
2. curl nie jest wymagany do działania systemu, więc tak, możesz spokojnie podmienić.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: curl

mam zaznaczone libsasl2    samego libsasl nie widzę ?  da sie to obejść   - potrzebuję curla z kompresją   wiec zaznaczyłem dodatkowo zlib i zstd   nie wiem czy dobrze kombinuję

4

Odp: curl

Ale nie napisałem żebyś miał zaznaczone tylko żebyś powiedział curlowi że ma go sobie brać do kompilacji. Skoro coś tam zaznaczyłeś i curl chce się kompilować to musi go mieć w zależnościach

Tak, libsasl2

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: curl

ostatecznie skopilowaem to  , ale podmiana curla i libcurl  nie pomogła - chciałem naprawic sklep z nextcluda  ale to nic nie dało .
Jako ze openwrt jest system  "jednego uzytkownika" wszystko działa na root  to  pytanie jest takie : czy dało by sie uruchomić  php z uzytkownika www-data   .
Do czego mi to potrzebne ? juz wyjaśniam  ;
Polecenie Nextcloud occ(pochodzi z „ownCloud Console”) to interfejs wiersza poleceń Nextcloud.
occ znajduje się w nextcloud/katalogu; na przykład /var/www/nextcloudna Ubuntu Linux. occ  to skrypt PHP. Musisz uruchomić go jako użytkownik HTTP , aby upewnić się, że odpowiednie uprawnienia są utrzymywane w plikach i katalogach Nextcloud.
Zagadnienie traktuję jako czysto " naukowe"  .Ewentualnie  jakie kroki trza by zrobić .Samo sudo nie działa .