Hi all, Iam getting compilation error while trying to compile froyo-dsp version of android for omap3evm
Error log frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:241: error: redefinition of 'OutputIterator ustl::copy(InputIterator, InputIterator, OutputIterator) [with InputIterator = const int8_t*, OutputIterator = int8_t*]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:238: error: 'OutputIterator ustl::copy(InputIterator, InputIterator, OutputIterator) [with InputIterator = const char*, OutputIterator = char*]' previously declared here frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:242: error: redefinition of 'OutputIterator ustl::copy(InputIterator, InputIterator, OutputIterator) [with InputIterator = int8_t*, OutputIterator = int8_t*]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:239: error: 'OutputIterator ustl::copy(InputIterator, InputIterator, OutputIterator) [with InputIterator = char*, OutputIterator = char*]' previously declared here frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:264: error: redefinition of 'OutputIterator ustl::copy_backward(InputIterator, InputIterator, OutputIterator) [with InputIterator = int8_t*, OutputIterator = int8_t*]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:261: error: 'OutputIterator ustl::copy_backward(InputIterator, InputIterator, OutputIterator) [with InputIterator = char*, OutputIterator = char*]' previously declared here frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:283: error: redefinition of 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = int8_t*, T = int8_t]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:280: error: 'void ustl::fill(ForwardIterator, ForwardIterator, const T&) [with ForwardIterator = char*, T = char]' previously declared here frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:300: error: redefinition of 'OutputIterator ustl::copy_n(InputIterator, size_t, OutputIterator) [with InputIterator = int8_t*, OutputIterator = int8_t*]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:298: error: 'OutputIterator ustl::copy_n(InputIterator, size_t, OutputIterator) [with InputIterator = char*, OutputIterator = char*]' previously declared here frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:302: error: redefinition of 'OutputIterator ustl::copy_n(InputIterator, size_t, OutputIterator) [with InputIterator = const int8_t*, OutputIterator = int8_t*]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:297: error: 'OutputIterator ustl::copy_n(InputIterator, size_t, OutputIterator) [with InputIterator = const char*, OutputIterator = char*]' previously declared here frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:323: error: redefinition of 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = int8_t*, T = int8_t]' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/ualgobase.h:320: error: 'OutputIterator ustl::fill_n(OutputIterator, size_t, const T&) [with OutputIterator = char*, T = char]' previously declared here In file included from frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/sostream.h:14, from frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/bktrace.cpp:10: frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mostream.h: In function 'ustl::ostream& ustl::operator<<(ustl::ostream&, char)': frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mostream.h:242: error: redefinition of 'ustl::ostream& ustl::operator<<(ustl::ostream&, char)' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mostream.h:226: error: 'ustl::ostream& ustl::operator<<(ustl::ostream&, int8_t)' previously defined here In file included from frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/bktrace.cpp:10: frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/sostream.h: In function 'ustl::ostringstream& ustl::operator<<(ustl::ostringstream&, char)': frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/sostream.h:148: error: redefinition of 'ustl::ostringstream& ustl::operator<<(ustl::ostringstream&, char)' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/sostream.h:135: error: 'ustl::ostringstream& ustl::operator<<(ustl::ostringstream&, int8_t)' previously defined here In file included from frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mistream.h:13, from frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/bktrace.cpp:11: frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/strmsize.h: In function 'size_t ustl::stream_size_of(char)': frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/strmsize.h:34: error: redefinition of 'size_t ustl::stream_size_of(char)' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/strmsize.h:23: error: 'size_t ustl::stream_size_of(int8_t)' previously defined here In file included from frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/bktrace.cpp:11: frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mistream.h: In function 'ustl::istream& ustl::operator>>(ustl::istream&, char&)': frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mistream.h:261: error: redefinition of 'ustl::istream& ustl::operator>>(ustl::istream&, char&)' frameworks/base/media/libdrm/mobile2/src/util/ustl-1.0/mistream.h:245: error: 'ustl::istream& ustl::operator>>(ustl::istream&, int8_t&)' previously defined here make: *** [out/target/product/omap3evm/obj/STATIC_LIBRARIES/libdrm2_intermediates/src/util/ustl-1.0/bktrace.o] Error 1 Any one came across this error type. How to resolve this error? Thanks and regards, Ananth -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting