Can we please add a compile-time check for gcc >= 4.7?  Docs or no
docs, it's not OK that we fail with an inscrutable error message when
you build build with the default Ubuntu toolchain.

Do you know who owns this stuff, Dave?

On Sun, Mar 24, 2013 at 1:43 PM, Dave Hylands <[email protected]> wrote:
> Hi lap,
>
> That means that you're using a 4.7 or newer toolchain, which isn't supported. 
> See:
> https://developer.mozilla.org/en-US/docs/Mozilla/Firefox_OS/Firefox_OS_build_prerequisites#64_bit_install_examples.3A
>
> The section for ubuntu 12.10 mentions what need to be done to use 4.6 or 
> earlier host compiler.
>
> Dave Hylands
>
> ----- Original Message -----
>> From: "lap" <[email protected]>
>> To: [email protected]
>> Sent: Sunday, March 24, 2013 8:05:13 AM
>> Subject: Re: [b2g] ./config.sh error[please disregard my previous message]
>>
>> On 2013?03?24? 11:50, lap wrote:
>> > On 2013?03?23? 13:59, lap wrote:
>> >> hi,
>> >>
>> >> i am running "./config.sh unagi",but when i almost finish it,i got
>> >> this error. please somebody help.
>> >> thank you:-)
>> >>
>> >> external/freetype/: discarding 1 commits
>> >> external/skia/: discarding 9 commits
>> >> external/sqlite/: discarding 2 commits
>> >> frameworks/base/: discarding 1107 commits
>> >> gecko/: discarding 10413 commits
>> >> error: external/bluetooth/bluez/:
>> >> platform/external/bluetooth/bluez
>> >> checkout 1023c91c66e9c3bd1132480051993bf7827770f6
>> >> error: external/bluetooth/hcidump/:
>> >> platform/external/bluetooth/hcidump checkout
>> >> 02b1eb24fbb3d0135a81edb4a2175b1397308d7d
>> >> error: external/dbus/: platform/external/dbus checkout
>> >> c7517b6195dc6926728352113e6cc335da3f9c9e
>> >> error: external/dhcpcd/: platform/external/dhcpcd checkout
>> >> 1e00fb67022d0921af0fead263f81762781b9ffa
>> >> error: external/freetype/: platform/external/freetype checkout
>> >> aeb407daf3711a10a27f3bc2223c5eb05158076e
>> >> error: external/jpeg/: platform/external/jpeg checkout
>> >> a62e464d672a4623233180e4023034bf825f066e
>> >> error: external/libpng/: platform/external/libpng checkout
>> >> 9c3730f0efa69f580f03463c237cd928f3196404
>> >> error: external/mksh/: platform/external/mksh checkout
>> >> ec646e8f5e7dac9a77d1de549c6ed92c04d0cd4b
>> >> error: external/moztt/: moztt checkout
>> >> 302ab954f16d0ad708e87a1cf5e94f5d93f174c9
>> >> error: external/skia/: platform/external/skia checkout
>> >> 7d90c85f2c0e3b747f7c7eff8bc9253b0063b439
>> >> error: external/sonivox/: platform/external/sonivox checkout
>> >> 7c967779dfc61ac1f346e972de91d4bfce7dccbb
>> >> error: external/sqlite/: platform/external/sqlite checkout
>> >> fb30e613139b8836fdc8e81e166cf3a76e5fa17f
>> >> error: external/webrtc/: platform/external/webrtc checkout
>> >> 137024dc8a2e9251a471e20518a9c3ae06f81f23
>> >> error: external/yaffs2/: platform/external/yaffs2 checkout
>> >> 0afa916204c664b3114429637b63af1321a0aeca
>> >> error: external/zlib/: platform/external/zlib checkout
>> >> f96a1d1ebfdf1cd582210fd09c23d8f59e0ae094
>> >> error: frameworks/base/: platform/frameworks/base checkout
>> >> eb2bc75803ca179353c24c364a9c8a8ce23e8b78
>> >> error: gaia/: gaia.git checkout
>> >> 0d589c6991bb4335d69957df3b68596d8aa38964
>> >>
>> >> -lap
>> > hey guys,
>> >
>> > can somebody help with it?  now i am "Repo sync failed", so i can't
>> > to
>> > build it. if someone know how to fix it, please give me a faver:-)
>> >
>> > -lap
>>
>> ok now , i already solved it. so. it is ok. :-D
>>
>> but now i got something i really don't know
>>
>> frameworks/base/include/utils/KeyedVector.h: In instantiation of
>> 'const
>> VALUE& android::DefaultKeyedVector<KEY, VALUE>::valueFor(const KEY&)
>> const [with KEY = android::String8; VALUE = android::sp<AaptDir>]':
>> frameworks/base/tools/aapt/AaptAssets.cpp:1700:53:   required from
>> here
>> frameworks/base/include/utils/KeyedVector.h:196:31: error:
>> 'indexOfKey'
>> was not declared in this scope, and no declarations were found by
>> argument-dependent lookup at the point of instantiation
>> [-fpermissive]
>> frameworks/base/include/utils/KeyedVector.h:196:31: note:
>> declarations
>> in dependent base 'android::KeyedVector<android::String8,
>> android::sp<AaptDir> >' are not found by unqualified lookup
>> frameworks/base/include/utils/KeyedVector.h:196:31: note: use
>> 'this->indexOfKey' instead
>>
>> if someone know this, please help me this time, i was running
>> "./build.sh" of unagi,
>> and i was porting a new device.
>>
>> -lap
>>
>>
>> _______________________________________________
>> dev-b2g mailing list
>> [email protected]
>> https://lists.mozilla.org/listinfo/dev-b2g
>>
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to