linphone-developers
[Top][All Lists]
Advanced

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

Re: [Linphone-developers] mediastreamer2/tools/mediastream.c throws erro


From: ravindra pai
Subject: Re: [Linphone-developers] mediastreamer2/tools/mediastream.c throws error for iphone.
Date: Tue, 11 Mar 2014 23:10:39 +0530

Hi,
    Thanks for responding :) .
1) I did git pull. I am at latest commit, that fixed the above error.

2) I have done make veryclean and make all. I encountered the different error,

Making install in sdk

/Applications/Xcode.app/Contents/Developer/usr/bin/make  install-am

cd SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_FIX_v1.0.9 && /Applications/Xcode.app/Contents/Developer/usr/bin/make AS="as" AR="xcrun ar" RANLIB="xcrun ranlib" CC="xcrun clang -std=c99  -arch armv7 -mcpu=cortex-a8 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -miphoneos-version-min=4 -DTARGET_OS_IPHONE=1 -D__IOS -fms-extensions -Wall -mno-thumb" LD="xcrun ld -arch armv7" USE_NEON=yes ADDED_DEFINES+=IPHONE TOOLCHAIN_PREFIX=XXXX  lib

make[5]: Nothing to be done for `lib'.

make[5]: Nothing to be done for `install-exec-am'.

/usr/bin/install -c -D SILK_SDK_SRC_v1.0.9/SILK_SDK_SRC_FIX_v1.0.9/libSKP_SILK_SDK.a /Users/ravindra/linphone-iphone/submodules/build/..//../liblinphone-sdk/armv7-apple-darwin/lib/libSKP_SILK_SDK.a

/usr/bin/install: illegal option -- D

usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

               [-o owner] file1 file2

       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

               [-o owner] file1 ... fileN directory

       install -d [-v] [-g group] [-m mode] [-o owner] directory ...

make[5]: *** [install-data-local] Error 64

make[4]: *** [install-am] Error 2

make[3]: *** [install] Error 2

make[2]: *** [install-recursive] Error 1

make[1]: *** [build-mssilk] Error 2

make: *** [build] Error 2

Fix:

------

I just edited the Makefile in mssilk/sdk/ and removed -D option.

install-data-local: $(silk_src_dir)

        $(INSTALL) -D $(silk_src_dir)/$(silk_lib) $(DESTDIR)$(prefix)/lib/$(silk_lib)


Thanks again,

Ravindra M


 


On Tue, Mar 11, 2014 at 7:08 PM, BIENKOWSKI Guillaume <address@hidden> wrote:
Hello,

Could you pull the last version? It might be an artefact when we integrated the tester compilation for iOS.
If this is still here, could you produce a longer log? Maybe on pastebin.

Regards,



On Tue, Mar 11, 2014 at 11:48 AM, ravindra pai <address@hidden> wrote:
Hi All,
         make all in submodules/build directory yields the following error.

In file included from /Users/ravindra/linphone-iphone/submodules/build/..//linphone/mediastreamer2/tools/mediastream.c:51:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h:9:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h:8:

In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:8:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h:371:1: error: expected identifier or '('

@class NSString, Protocol;

^

I am using xcode 5.02, OSX mavericks.

Please help, thanks for your time.

Ravindra M


_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



_______________________________________________
Linphone-developers mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/linphone-developers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]