Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-18652

building ssl for android: cannot find crtbegin_so.o: No such file or directory

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Reported
    • Priority: Not Evaluated
    • Resolution: Unresolved
    • Affects Version/s: Qt Creator 4.2.1
    • Fix Version/s: None
    • Component/s: Android Support
    • Labels:
      None
    • Environment:

      Description

      I tried to take steps fromĀ "Adding OpenSSL Support for Android" tutorial
      In 8th step, the main one, I got error:

      /usr/bin/ld: cannot find crtbegin_so.o: No such file or directory
      Makefile.shared:169: recipe for target 'link_a.gnu' failed
      

      but

      ls /opt/android/ndk/platforms/android-21/arch-arm64/usr/lib/
      

      shows, that "crtbegin_so.o" exists

      UPD: if I do all steps as in tutorial, I will get this error:

      ./setEnv.sh: line 129: syntax error near unexpected token `)'
      ./setEnv.sh: line 129: ` arch-arm64)'
      

      cause this is incorrect script:

      case $_ANDROID_ARCH in
        arch-arm) 
          ANDROID_TOOLS="arm-linux-androideabi-gcc arm-linux-androideabi-ranlib arm-linux-androideabi-ld"
        ;;
        arch-x86) 
          ANDROID_TOOLS="i686-linux-android-gcc i686-linux-android-ranlib i686-linux-android-ld"
        ;; 
        *)
        echo "ERROR ERROR ERROR"
        arch-arm64)
          ANDROID_TOOLS="aarch64-linux-android-gcc aarch64-linux-android-ranlib aarch64-linux-android-ld"
        ;;
        ;;
      esac
      

      Its just advice, to rewatch this manual

        Attachments

          Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            Activity

              People

              Assignee:
              portale Alessandro Portale
              Reporter:
              ilnuribat Ilnur Ibatullin
              Votes:
              3 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:

                  Gerrit Reviews

                  There are no open Gerrit changes