Hello,

I recently started to try to build 2.2 for my peak on OS X Yosemite.
I ran the osx bootstrap script and also made sure gcc-4.6 is installed
properly. I adjusted some file to point at g++-4.6 like it was mentioned in
MDN.

The build process ran for some minutes but now stopped at this point:

host C: adb <= system/core/adb/get_my_path_darwin.c
> system/core/adb/get_my_path_darwin.c:17:2: warning: #import is a
> deprecated GCC extension [-Wdeprecated]
> In file included from /usr/include/dispatch/dispatch.h:51:0,
>                  from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
>                  from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
>                  from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
>                  from
> /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
>                  from
> /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
>                  from system/core/adb/get_my_path_darwin.c:17:
> /usr/include/dispatch/object.h:143:15: error: expected identifier or '('
> before '^' token
> In file included from /usr/include/dispatch/dispatch.h:51:0,
>                  from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
>                  from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
>                  from
> /System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
>                  from
> /System/Library/Frameworks/CoreServices.framework/Headers/CoreServices.h:19,
>                  from
> /System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:20,
>                  from system/core/adb/get_my_path_darwin.c:17:
> /usr/include/dispatch/object.h:362:3: error: unknown type name
> 'dispatch_block_t'
> system/core/adb/get_my_path_darwin.c: In function 'get_my_path':
> system/core/adb/get_my_path_darwin.c:23:5: warning: 'GetCurrentProcess' is
> deprecated (declared at
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:415)
> [-Wdeprecated-declarations]
> system/core/adb/get_my_path_darwin.c:25:5: warning:
> 'ProcessInformationCopyDictionary' is deprecated (declared at
> /System/Library/Frameworks/ApplicationServices.framework/Frameworks/HIServices.framework/Headers/Processes.h:579)
> [-Wdeprecated-declarations]
> make: ***
> [out/host/darwin-x86/obj/EXECUTABLES/adb_intermediates/get_my_path_darwin.o]
> Error 1
>

As I said I'm using gcc-4.6 but it seems to me that it's still not
compatibly with the android / b2g source??

Does anyone build on Yosemite and can tell me what I need to fix in my
build environment?

Regards,
Jovan
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to