Hello guys, I updated my pjsip source and everything compiled properly. Thanks David On Sat, Nov 7, 2015 at 10:59 PM David Villasmil Govea < david.villasmil at gmail.com> wrote: > Hello guys, > > I had compiled PJSIP on yosemite without any problems. I want to recompile > again and I'm getting: > > "make dep" runs without errors, when running "make" I get: > > | => make > for dir in pjlib/build pjlib-util/build pjnath/build third_party/build > pjmedia/build pjsip/build pjsip-apps/build ; do \ > if /Applications/Xcode.app/Contents/Developer/usr/bin/make -C $dir all; > then \ > true; \ > else \ > exit 1; \ > fi; \ > done > /Applications/Xcode.app/Contents/Developer/usr/bin/make -f > /Users/David/Downloads/pjproject-2.3/build/rules.mak APP=PJLIB app=pjlib > ../lib/libpj-x86_64-apple-darwin15.0.0.a > gcc -c -Wall -DPJ_AUTOCONF=1 -O2 -DPJ_IS_BIG_ENDIAN=0 > -DPJ_IS_LITTLE_ENDIAN=1 -I../include \ > -o output/pjlib-x86_64-apple-darwin15.0.0/os_core_darwin.o \ > ../src/pj/os_core_darwin.m > In file included from ../src/pj/os_core_darwin.m:33: > In file included from > /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10: > In file included from > /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: > In file included from > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:6: > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:15: > error: expected ';' after @class > @class NSArray<ObjectType>; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:7:16: > error: cannot find protocol declaration for 'ObjectType' > @class NSArray<ObjectType>; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:34:25: > error: cannot find protocol declaration for 'ObjectType' > @interface NSEnumerator<ObjectType> : NSObject <NSFastEnumeration> > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:34:37: > error: expected identifier or '(' > @interface NSEnumerator<ObjectType> : NSObject <NSFastEnumeration> > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:36:13: > error: expected ')' > - (nullable ObjectType)nextObject; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:36:3: > note: to match this '(' > - (nullable ObjectType)nextObject; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:25: > error: cannot find protocol declaration for 'ObjectType' > @interface NSEnumerator<ObjectType> (NSExtendedEnumerator) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:1: > error: duplicate interface definition for class 'NSEnumerator' > @interface NSEnumerator<ObjectType> (NSExtendedEnumerator) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:34:12: > note: previous definition is here > @interface NSEnumerator<ObjectType> : NSObject <NSFastEnumeration> > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:37: > error: method type specifier must start with '-' or '+' > @interface NSEnumerator<ObjectType> (NSExtendedEnumerator) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:40:38: > error: expected a type > @interface NSEnumerator<ObjectType> (NSExtendedEnumerator) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:42:1: > error: expected selector for Objective-C method > @property (readonly, copy) NSArray<ObjectType> *allObjects; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h:42:36: > error: cannot find protocol declaration for 'ObjectType' > @property (readonly, copy) NSArray<ObjectType> *allObjects; > ^ > In file included from ../src/pj/os_core_darwin.m:33: > In file included from > /System/Library/Frameworks/AppKit.framework/Headers/AppKit.h:10: > In file included from > /System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:10: > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:32: > error: cannot find protocol declaration for 'ObjectType' > @interface NSArray<__covariant ObjectType> : NSObject <NSCopying, > NSMutableCopying, NSSecureCoding, NSFastEnumeration> > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:44: > error: expected identifier or '(' > @interface NSArray<__covariant ObjectType> : NSObject <NSCopying, > NSMutableCopying, NSSecureCoding, NSFastEnumeration> > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:19:4: > error: expected a type > - (ObjectType)objectAtIndex:(NSUInteger)index; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:21:40: > error: expected ')' > - (instancetype)initWithObjects:(const ObjectType [])objects > count:(NSUInteger)cnt NS_DESIGNATED_INITIALIZER; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:21:33: > note: to match this '(' > - (instancetype)initWithObjects:(const ObjectType [])objects > count:(NSUInteger)cnt NS_DESIGNATED_INITIALIZER; > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:20: > error: cannot find protocol declaration for 'ObjectType' > @interface NSArray<ObjectType> (NSExtendedArray) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:1: > error: duplicate interface definition for class 'NSArray' > @interface NSArray<ObjectType> (NSExtendedArray) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:16:12: > note: previous definition is here > @interface NSArray<__covariant ObjectType> : NSObject <NSCopying, > NSMutableCopying, NSSecureCoding, NSFastEnumeration> > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:32: > error: method type specifier must start with '-' or '+' > @interface NSArray<ObjectType> (NSExtendedArray) > ^ > /System/Library/Frameworks/Foundation.framework/Headers/NSArray.h:26:33: > error: expected a type > @interface NSArray<ObjectType> (NSExtendedArray) > ^ > fatal error: too many errors emitted, stopping now [-ferror-limit=] > 20 errors generated. > make[2]: *** [output/pjlib-x86_64-apple-darwin15.0.0/os_core_darwin.o] > Error 1 > make[1]: *** [libpj-x86_64-apple-darwin15.0.0.a] Error 2 > make: *** [all] Error 1 > > Anyone getting this? > > Thanks! > > > -- > DVG > > -- > Imagination is more important than knowledge > Albert Einstein > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20151109/7b01e347/attachment.html>