gcc --version to check the gcc version, it must dowgrade to gcc 4.4.

On Monday, June 18, 2012 at 12:33:52 PM UTC-7, Jean-Baptiste Queru wrote:
>
> ICS can't be built with a gcc 4.7 host compiler. Maybe not even with 
> 4.6, in fact. 
>
> JBQ 
>
> On Mon, Jun 18, 2012 at 12:30 PM, Nandan <[email protected] 
> <javascript:>> wrote: 
> > I am trying to build Android ics on my fedora17  system, i am getting 
> the 
> > follwing errors 
> > 
> > gcc version 4.7.0 
> > java version "1.6.0_33 
> > . uname -a 
> > linux local 3.4.0-1.fc17.x86_64 #1 SMP Sun Jun 3 06:35:17 UTC 2012 
> x86_64 
> > x86_64 x86_64 GNU/Linux 
> > 
> > 
> > could someone help me to resolve this? 
> > 
> > host Java: doclava 
> > (out/host/common/obj/JAVA_LIBRARIES/doclava_intermediates/classes) 
> > Note: external/doclava/src/com/google/doclava/Stubs.java uses unchecked 
> or 
> > unsafe operations. 
> > Note: Recompile with -Xlint:unchecked for details. 
> > Install: out/host/linux-x86/framework/doclava.jar 
> > host C++: aapt <= frameworks/base/tools/aapt/AaptAssets.cpp 
> > In file included from frameworks/base/include/utils/AssetManager.h:25:0, 
> >                  from frameworks/base/tools/aapt/AaptAssets.h:10, 
> >                  from frameworks/base/tools/aapt/AaptAssets.cpp:5: 
> > 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<AaptSymbols>]’: 
> > frameworks/base/tools/aapt/AaptAssets.h:446:59:   required from here 
> > frameworks/base/include/utils/KeyedVector.h:193: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:193:31: note: declarations 
> in 
> > dependent base ‘android::KeyedVector<android::String8, 
> > android::sp<AaptSymbols> >’ are not found by unqualified lookup 
> > frameworks/base/include/utils/KeyedVector.h:193:31: note: use 
> > ‘this->indexOfKey’ instead 
> > 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<AaptGroup>]’: 
> > frameworks/base/tools/aapt/AaptAssets.cpp:1636:41:   required from here 
> > frameworks/base/include/utils/KeyedVector.h:193: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:193:31: note: declarations 
> in 
> > dependent base ‘android::KeyedVector<android::String8, 
> > android::sp<AaptGroup> >’ are not found by unqualified lookup 
> > frameworks/base/include/utils/KeyedVector.h:193:31: note: use 
> > ‘this->indexOfKey’ instead 
> > 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:193: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:193: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:193:31: note: use 
> > ‘this->indexOfKey’ instead 
> > make: *** 
> > [out/host/linux-x86/obj/EXECUTABLES/aapt_intermediates/AaptAssets.o] E 
> > 
> > Regards, 
> > Nandan 
> > 
> > -- 
> > You received this message because you are subscribed to the "Android 
> > Building" mailing list. 
> > To post to this group, send email to [email protected] 
> <javascript:> 
> > To unsubscribe from this group, send email to 
> > [email protected] <javascript:> 
> > For more options, visit this group at 
> > http://groups.google.com/group/android-building?hl=en 
>
>
>
> -- 
> Jean-Baptiste M. "JBQ" Queru 
> Technical Lead, Android Open Source Project, Google. 
>
> Questions sent directly to me that have no reason for being private 
> will likely get ignored or forwarded to a public forum with no further 
> warning. 
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to