Home > OS >  Mipsel - openwrt - Linux - GCC - 7.4.0 links to compile libcurl won't compile
Mipsel - openwrt - Linux - GCC - 7.4.0 links to compile libcurl won't compile

Time:09-25

compilation is the same. C file, link libraries are existing just use mipsel - openwrt - Linux - GCC - 4.8 can be compiled executable , using the new mipsel - openwrt - Linux - GCC - 7.4.0 forever stuck in link error, and the cross compile tools directly compiled from the openwrt, currently tested openssl, sqlite3, pthread is able to run normally, just compile links the curl problem, how do I solve?
Now try:
1, copied from the openwrt source code package dynamic library file to compile folder, modify the makefile link option to the local - no!
2, copy mipsel - openwrt - Linux - the compiler GCC - 4.8 library file to compile folder, modify the makefile link option to the local - no!
3, from the website to download openssl and curl source to the local, cross-compilation generate dynamic libraries, which USES mipsel - openwrt - Linux - GCC compile - 7.4.0 openssl can be successfully generated, compiled the curl -- -- -- -- -- - no! Is also a link error!


An error is as follows:


Error links are direct links openwrt source package path:





Using mipsel - openwrt - Linux - GCC compile - 7.4.0 MD5 encrypted link libssl. So can be through:


All the error message:
aron566 @ ubuntu: ~/temp/OPENWRT_HTTP $ make
Mipsel - openwrt - Linux - GCC 7.4.0 - i./- i./openssl - I/home/aron566/openwrt - master/staging_dir/target - mipsel_24kc_musl/usr/include - l./- L/home/aron566/openwrt - master/staging_dir/target - mipsel_24kc_musl/usr/lib - c HTTP. C - LSSL - lcrypto - lcurl - LDL - STD=gnu99
Mipsel - openwrt - Linux - GCC 7.4.0 - i./- i./openssl - I/home/aron566/openwrt - master/staging_dir/target - mipsel_24kc_musl/usr/include - l./- L/home/aron566/openwrt - master/staging_dir/target - mipsel_24kc_musl/usr/lib -o "HTTP" HTTP. O - LSSL - lcrypto - lcurl - LDL - STD=gnu99
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld: warning: libmbedtls. So. 12, men by the.//libcurl. So, not found (try using rpath - or - rpath - link)
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld: warning: libmbedx509. So. 0, men by the.//libcurl. So, not found (try using rpath - or - rpath - link)
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld: warning: libmbedcrypto. So. 3, men by the.//libcurl. So, not found (try using rpath - or - rpath - link)
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_x509_crt_parse_der '
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_ctr_drbg_seed '
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_x509_crt_init '
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_x509_crt_free '
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_ctr_drbg_random '
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_x509_crl_free '
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_pk_init '
,,,,,,,
/home/aron566/NEW_TOOLCHAIN/openwrt - toolchain -- ramips -- mt76x8_gcc 7.4.0 _musl. Linux - x86_64/toolchain - mipsel_24kc_gcc - 7.4.0 _musl/bin/../lib/GCC/mipsel - openwrt - Linux - musl/7.4.0/../../../../mipsel - openwrt - Linux - musl/bin/ld:.//libcurl. So: undefined reference to ` mbedtls_ssl_get_bytes_avail '
nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related