I'm trying to build linphone for iOS 6 but I get the
following errors. Any ideas?
Linphone and its dependencies are up to date.
Leo.
-e building silk
cd
/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/../build-i386-apple-darwin/mssilk
\
&&
PKG_CONFIG_PATH=/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/lib/pkgconfig
\
CONFIG_SITE=/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//build/iphone-config.site
\
make
-j1 && make install
Making all in sdk
make all-am
cd SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_FIX_v1.0.8 &&
make
AR=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ar
RANLIB="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ranlib"
CC="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-std=c99 -arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS -Wall"
LD="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ld
-arch i386" lib
make[5]: Nothing to be done for `lib'.
/bin/sh ./libtool --tag=CC --mode=compile
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-std=c99 -arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS
-DPACKAGE_NAME=\"mssilk\" -DPACKAGE_TARNAME=\"mssilk\"
-DPACKAGE_VERSION=\"0.1\" -DPACKAGE_STRING=\"mssilk\ 0.1\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"mssilk\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -I.
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//mssilk
-Dasm=__asm
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build-i386-apple-darwin/mssilk/sdk/SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_FIX_v1.0.8/interface
-D_REENTRANT -DORTP_INET6
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/include
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/include/srtp
-Werror -Wall -MT silk_dec.lo -MD -MP -MF .deps/silk_dec.Tpo
-c -o silk_dec.lo
/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//mssilk/silk_dec.c
libtool: compile:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/gcc
-std=c99 -arch i386 -isysroot
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
-miphoneos-version-min=4.0 -DTARGET_OS_IPHONE=1 -D__IOS
-DPACKAGE_NAME=\"mssilk\" -DPACKAGE_TARNAME=\"mssilk\"
-DPACKAGE_VERSION=\"0.1\" "-DPACKAGE_STRING=\"mssilk 0.1\""
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"mssilk\" -DVERSION=\"0.1\" -DSTDC_HEADERS=1
-DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1
-DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1
-DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1
-DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBM=1 -I.
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//mssilk
-Dasm=__asm
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build-i386-apple-darwin/mssilk/sdk/SILK_SDK_SRC_v1.0.8/SILK_SDK_SRC_FIX_v1.0.8/interface
-D_REENTRANT -DORTP_INET6
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/include
-I/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//../liblinphone-sdk/i386-apple-darwin/include/srtp
-Werror -Wall -MT silk_dec.lo -MD -MP -MF .deps/silk_dec.Tpo
-c
/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//mssilk/silk_dec.c
-o silk_dec.o
cc1: warnings being treated as errors
/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//mssilk/silk_dec.c:
In function 'filter_process':
/Users/MyUser/Desktop/Linphone/linphone-iphone/submodules/build/..//mssilk/silk_dec.c:109:
warning: implicit declaration of function 'rtp_get_payload'
make[3]: *** [silk_dec.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [build-mssilk] Error 2
make: *** [build] Error 2