[Android Q&A, Help & Troubleshooting] theperfectpunk:
frameworks/rs/driver/runtime/rs_allocation.c:227:1: error: redefinition of
'rsGetElementAt_char'
ELEMENT_AT(char)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char
^
frameworks/rs/scriptc/rs_allocation.rsh:174:1: note: previous definition is here
GET_ELEMENT_AT(char)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:2:1: note: expanded from here
rsGetElementAt_char
^
bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_program.c
frameworks/rs/driver/runtime/rs_allocation.c:227:1: error: redefinition of
'rsGetElementAt_char'
ELEMENT_AT(char)
^
frameworks/rs/driver/runtime/rs_allocation.c:161:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char
^
frameworks/rs/scriptc/rs_allocation.rsh:174:1: note: previous definition is here
GET_ELEMENT_AT(char)
^
frameworks/rs/scriptc/rs_allocation.rsh:165:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:3:1: note: expanded from here
rsGetElementAt_char
^
frameworks/rs/driver/runtime/rs_allocation.c:227:1: error: redefinition of
'rsGetElementAt_char'
ELEMENT_AT(char)
^
frameworks/rs/driver/runtime/rs_allocation.c:166:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char
^
frameworks/rs/scriptc/rs_allocation.rsh:174:1: note: previous definition is here
GET_ELEMENT_AT(char)
^
frameworks/rs/scriptc/rs_allocation.rsh:169:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, ...
^
<scratch space>:4:1: note: expanded from here
rsGetElementAt_char
^
frameworks/rs/driver/runtime/rs_allocation.c:228:1: error: redefinition of
'rsGetElementAt_char2'
ELEMENT_AT(char2)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char2
^
frameworks/rs/scriptc/rs_allocation.rsh:175:1: note: previous definition is here
GET_ELEMENT_AT(char2)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:5:1: note: expanded from here
rsGetElementAt_char2
^
frameworks/rs/driver/runtime/rs_allocation.c:228:1: error: redefinition of
'rsGetElementAt_char2'
ELEMENT_AT(char2)
^
frameworks/rs/driver/runtime/rs_allocation.c:161:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char2
^
frameworks/rs/scriptc/rs_allocation.rsh:175:1: note: previous definition is here
GET_ELEMENT_AT(char2)
^
frameworks/rs/scriptc/rs_allocation.rsh:165:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:6:1: note: expanded from here
rsGetElementAt_char2
^
frameworks/rs/driver/runtime/rs_allocation.c:228:1: error: redefinition of
'rsGetElementAt_char2'
ELEMENT_AT(char2)
^
frameworks/rs/driver/runtime/rs_allocation.c:166:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char2
^
frameworks/rs/scriptc/rs_allocation.rsh:175:1: note: previous definition is here
GET_ELEMENT_AT(char2)
^
frameworks/rs/scriptc/rs_allocation.rsh:169:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, ...
^
<scratch space>:7:1: note: expanded from here
rsGetElementAt_char2
^
frameworks/rs/driver/runtime/rs_allocation.c:229:1: error: redefinition of
'rsGetElementAt_char3'
ELEMENT_AT(char3)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char3
^
frameworks/rs/scriptc/rs_allocation.rsh:176:1: note: previous definition is here
GET_ELEMENT_AT(char3)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:8:1: note: expanded from here
rsGetElementAt_char3
^
frameworks/rs/driver/runtime/rs_allocation.c:229:1: error: redefinition of
'rsGetElementAt_char3'
ELEMENT_AT(char3)
^
frameworks/rs/driver/runtime/rs_allocation.c:161:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char3
^
frameworks/rs/scriptc/rs_allocation.rsh:176:1: note: previous definition is here
GET_ELEMENT_AT(char3)
^
frameworks/rs/scriptc/rs_allocation.rsh:165:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:9:1: note: expanded from here
rsGetElementAt_char3
^
frameworks/rs/driver/runtime/rs_allocation.c:229:1: error: redefinition of
'rsGetElementAt_char3'
ELEMENT_AT(char3)
^
frameworks/rs/driver/runtime/rs_allocation.c:166:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char3
^
frameworks/rs/scriptc/rs_allocation.rsh:176:1: note: previous definition is here
GET_ELEMENT_AT(char3)
^
frameworks/rs/scriptc/rs_allocation.rsh:169:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, ...
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_char3
^
frameworks/rs/driver/runtime/rs_allocation.c:230:1: error: redefinition of
'rsGetElementAt_char4'
ELEMENT_AT(char4)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char4
^
frameworks/rs/scriptc/rs_allocation.rsh:177:1: note: previous definition is here
GET_ELEMENT_AT(char4)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:11:1: note: expanded from here
rsGetElementAt_char4
^
frameworks/rs/driver/runtime/rs_allocation.c:230:1: error: redefinition of
'rsGetElementAt_char4'
ELEMENT_AT(char4)
^
frameworks/rs/driver/runtime/rs_allocation.c:161:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char4
^
frameworks/rs/scriptc/rs_allocation.rsh:177:1: note: previous definition is here
GET_ELEMENT_AT(char4)
^
frameworks/rs/scriptc/rs_allocation.rsh:165:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:12:1: note: expanded from here
rsGetElementAt_char4
^
frameworks/rs/driver/runtime/rs_allocation.c:230:1: error: redefinition of
'rsGetElementAt_char4'
ELEMENT_AT(char4)
^
frameworks/rs/driver/runtime/rs_allocation.c:166:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, \
^
<scratch space>:130:1: note: expanded from here
rsGetElementAt_char4
^
frameworks/rs/scriptc/rs_allocation.rsh:177:1: note: previous definition is here
GET_ELEMENT_AT(char4)
^
frameworks/rs/scriptc/rs_allocation.rsh:169:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, ...
^
<scratch space>:13:1: note: expanded from here
rsGetElementAt_char4
^
frameworks/rs/driver/runtime/rs_allocation.c:231:1: error: redefinition of
'rsGetElementAt_uchar'
ELEMENT_AT(uchar)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar
^
frameworks/rs/scriptc/rs_allocation.rsh:178:1: note: previous definition is here
GET_ELEMENT_AT(uchar)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:14:1: note: expanded from here
rsGetElementAt_uchar
^
frameworks/rs/driver/runtime/rs_allocation.c:231:1: error: redefinition of
'rsGetElementAt_uchar'
ELEMENT_AT(uchar)
^
frameworks/rs/driver/runtime/rs_allocation.c:161:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar
^
frameworks/rs/scriptc/rs_allocation.rsh:178:1: note: previous definition is here
GET_ELEMENT_AT(uchar)
^
frameworks/rs/scriptc/rs_allocation.rsh:165:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:15:1: note: expanded from here
rsGetElementAt_uchar
^
frameworks/rs/driver/runtime/rs_allocation.c:231:1: error: redefinition of
'rsGetElementAt_uchar'
ELEMENT_AT(uchar)
^
frameworks/rs/driver/runtime/rs_allocation.c:166:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar
^
frameworks/rs/scriptc/rs_allocation.rsh:178:1: note: previous definition is here
GET_ELEMENT_AT(uchar)
^
frameworks/rs/scriptc/rs_allocation.rsh:169:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, ...
^
<scratch space>:16:1: note: expanded from here
rsGetElementAt_uchar
^
frameworks/rs/driver/runtime/rs_allocation.c:232:1: error: redefinition of
'rsGetElementAt_uchar2'
ELEMENT_AT(uchar2)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar2
^
frameworks/rs/scriptc/rs_allocation.rsh:179:1: note: previous definition is here
GET_ELEMENT_AT(uchar2)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:17:1: note: expanded from here
rsGetElementAt_uchar2
^
frameworks/rs/driver/runtime/rs_allocation.c:232:1: error: redefinition of
'rsGetElementAt_uchar2'
ELEMENT_AT(uchar2)
^
frameworks/rs/driver/runtime/rs_allocation.c:161:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar2
^
frameworks/rs/scriptc/rs_allocation.rsh:179:1: note: previous definition is here
GET_ELEMENT_AT(uchar2)
^
frameworks/rs/scriptc/rs_allocation.rsh:165:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y) { \
^
<scratch space>:18:1: note: expanded from here
rsGetElementAt_uchar2
^
frameworks/rs/driver/runtime/rs_allocation.c:232:1: error: redefinition of
'rsGetElementAt_uchar2'
ELEMENT_AT(uchar2)
^
frameworks/rs/driver/runtime/rs_allocation.c:166:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar2
^
frameworks/rs/scriptc/rs_allocation.rsh:179:1: note: previous definition is here
GET_ELEMENT_AT(uchar2)
^
frameworks/rs/scriptc/rs_allocation.rsh:169:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x, uint32_t y, ...
^
<scratch space>:19:1: note: expanded from here
rsGetElementAt_uchar2
^
frameworks/rs/driver/runtime/rs_allocation.c:233:1: error: redefinition of
'rsGetElementAt_uchar3'
ELEMENT_AT(uchar3)
^
frameworks/rs/driver/runtime/rs_allocation.c:156:5: note: expanded from macro
'ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:10:1: note: expanded from here
rsGetElementAt_uchar3
^
frameworks/rs/scriptc/rs_allocation.rsh:180:1: note: previous definition is here
GET_ELEMENT_AT(uchar3)
^
frameworks/rs/scriptc/rs_allocation.rsh:161:13: note: expanded from macro
'GET_ELEMENT_AT'
rsGetElementAt_##T(rs_allocation a, uint32_t x) { \
^
<scratch space>:20:1: note: expanded from here
rsGetElementAt_uchar3
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sample.c
bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_sampler.c
bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_idct.c
bc: libclcore.bc <= frameworks/rs/driver/runtime/rs_dct.c
20 errors generated.
make: *** [out/target/product/generic/obj/SHARED_LIBRARIES/libclcore.bc_intermediates/rs_allocation.bc] Error 1
make: *** Waiting for unfinished jobs....

m trying to compile aosp for pantech burst P9070(presto)

please help i can't figure out how to get past this error