Unable to compile pjsua for armv6 iOS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Check which compiler is being used. You may have to explicitly specify 
the compiler before calling configure, e.g.:

export DEVPATH=/Applications/Xcode.app/Contents/Developer
export CC=${DEVPATH}/usr/bin/gcc

Bill

On 4/22/2014 4:07 AM, Maksim Solovjov wrote:
> Hi all,
> I am new to PJSIP and iOS development, so forgive me, if my questions
> are stupid.
>
> I am trying to compile pjsua for armv6, using:
>
> ARCH='-arch armv6' ./configure-iphone
> But I get error:
> checking whether the C compiler works... no
> aconfigure: error: in `/Users/MaksimSolovjov/Documents/iOS/pjproject-2.2.1':
> aconfigure: error: C compiler cannot create executables
> See `config.log' for more details
>
> Here are some snippets from config.log:
> clang: error: argument to '-V' is missing (expected 1 value)
> clang: error: no input files
> aconfigure:2798: $? = 1
>
> clang: error: unknown argument: '-qversion'
> [-Wunused-command-line-argument-hard-error-in-future]
> clang: note: this will be a hard error (cannot be downgraded to a
> warning) in the future
> clang: error: no input files
>
> ld: file is universal (5 slices) but does not contain a(n) armv6 slice
>
> I have iOS SDK7 installed and XCode 5.
> Can someone help me?
>
> Any help will be highly appreciated!
>
> _______________________________________________
> Visit our blog: http://blog.pjsip.org
>
> pjsip mailing list
> pjsip at lists.pjsip.org
> http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org




[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux