Skip to content
Snippets Groups Projects
Closed C compiler cannot create executables(iOS)
  • View options
  • C compiler cannot create executables(iOS)

    • View options
  • Closed created by wang keyu

    Hi there!

    I've followed instructions in the README but build fail on iOS .

    git clone https://review.jami.net/ring-project
    cd ring-project
    ./make-ring.py --init
    ./make-ring.py --dependencies --distribution iOS
    ./make-ring.py --install --distribution iOS

    The build process stops with the following messages:

    autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --include=m4 --force --warnings=all
    autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader --include=m4 --force --warnings=all
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=all
    configure.ac:18: installing 'build-aux/ar-lib'
    configure.ac:18: installing 'build-aux/compile'
    configure.ac:14: installing 'build-aux/config.guess'
    configure.ac:14: installing 'build-aux/config.sub'
    configure.ac:17: installing 'build-aux/install-sh'
    configure.ac:17: installing 'build-aux/missing'
    Makefile.am: installing './INSTALL'
    bin/Makefile.am: installing 'build-aux/depcomp'
    parallel-tests: installing 'build-aux/test-driver'
    autoreconf: Leaving directory `.'
    configure: WARNING: unrecognized options: --disable-libarchive
    checking build system type... i386-apple-darwin20.3.0
    checking host system type... x86_64-apple-darwin_ios
    checking for a BSD-compatible install... /usr/local/bin/ginstall -c
    checking whether build environment is sane... yes
    checking for x86_64-apple-darwin_ios-strip... no
    checking for strip... strip
    checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
    checking for gawk... no
    checking for mawk... no
    checking for nawk... no
    checking for awk... awk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether make supports the include directive... yes (GNU style)
    checking for x86_64-apple-darwin_ios-gcc... xcrun -sdk  clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk -mios-simulator-version-min=11.3
    checking whether the C compiler works... no
    configure: error: in `/Users/potian/jami/ring-project/daemon/build-ios-x86_64':
    configure: error: C compiler cannot create executables
    See `config.log' for more details
    Traceback (most recent call last):
      File "./make-ring.py", line 655, in <module>
        main()
      File "./make-ring.py", line 642, in main
        run_install(parsed_args)
      File "./make-ring.py", line 354, in run_install
        return subprocess.run(["./compile-ios.sh"], cwd="./client-ios", check=True)
      File "/opt/anaconda3/lib/python3.7/subprocess.py", line 487, in run
        output=stdout, stderr=stderr)
    subprocess.CalledProcessError: Command '['./compile-ios.sh']' returned non-zero exit status 1.

    config.log

    I'm on macOS Big Sur, Xcode 12.4 with iOS 11.4 Simulator installed.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first