编译android源码时出现错误 求助
targetStaticExecutable:bmlunlock(out/target/product/generic/obj/EXECUTABLES/bmlunlock...
target StaticExecutable: bmlunlock (out/target/product/generic/obj/EXECUTABLES/bmlunlock_intermediates/LINKED/bmlunlock)
out/target/product/generic/obj/SHARED_LIBRARIES/libjpeg_intermediates/jdcolor.o: In function `ycc_rgb_565_convert':
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
out/target/product/generic/obj/SHARED_LIBRARIES/libjpeg_intermediates/jdcolor.o:/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: more undefined references to `yvup2rgb565_venum' follow
out/target/product/generic/obj/SHARED_LIBRARIES/libjpeg_intermediates/jdcolor.o: In function `ycc_rgba_8888_convert':
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
jdcolor.c里是这样的:
#ifdef ANDROID_RGB
METHODDEF(void)
ycc_rgba_8888_convert (j_decompress_ptr cinfo,
JSAMPIMAGE input_buf, JDIMENSION input_row,
JSAMPARRAY output_buf, int num_rows)
#ifdef ANDROID_JPEG_USE_VENUM
/*
* Converts YCC->RGBA8888 using VeNum instructions.
*/
{
my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert;
JSAMPROW inptr0, inptr1, inptr2;
JSAMPROW outptr;
JDIMENSION row;
for (row = 0; row < (JDIMENSION)num_rows; row++)
{
inptr0 = input_buf[0][input_row];
inptr1 = input_buf[1][input_row];
inptr2 = input_buf[2][input_row];
input_row++;
outptr = *output_buf++;
yvup2abgr8888_venum((UINT8*) inptr0,
(UINT8*) inptr2,
(UINT8*) inptr1,
(UINT8*) outptr,
cinfo->output_width);
}
}
不胜感激..venum是什么?
不好意思没分了T_T 展开
out/target/product/generic/obj/SHARED_LIBRARIES/libjpeg_intermediates/jdcolor.o: In function `ycc_rgb_565_convert':
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: undefined reference to `yvup2rgb565_venum'
out/target/product/generic/obj/SHARED_LIBRARIES/libjpeg_intermediates/jdcolor.o:/media/Linux/sktdroid/external/jpeg/jdcolor.c:298: more undefined references to `yvup2rgb565_venum' follow
out/target/product/generic/obj/SHARED_LIBRARIES/libjpeg_intermediates/jdcolor.o: In function `ycc_rgba_8888_convert':
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
/media/Linux/sktdroid/external/jpeg/jdcolor.c:229: undefined reference to `yvup2abgr8888_venum'
jdcolor.c里是这样的:
#ifdef ANDROID_RGB
METHODDEF(void)
ycc_rgba_8888_convert (j_decompress_ptr cinfo,
JSAMPIMAGE input_buf, JDIMENSION input_row,
JSAMPARRAY output_buf, int num_rows)
#ifdef ANDROID_JPEG_USE_VENUM
/*
* Converts YCC->RGBA8888 using VeNum instructions.
*/
{
my_cconvert_ptr cconvert = (my_cconvert_ptr) cinfo->cconvert;
JSAMPROW inptr0, inptr1, inptr2;
JSAMPROW outptr;
JDIMENSION row;
for (row = 0; row < (JDIMENSION)num_rows; row++)
{
inptr0 = input_buf[0][input_row];
inptr1 = input_buf[1][input_row];
inptr2 = input_buf[2][input_row];
input_row++;
outptr = *output_buf++;
yvup2abgr8888_venum((UINT8*) inptr0,
(UINT8*) inptr2,
(UINT8*) inptr1,
(UINT8*) outptr,
cinfo->output_width);
}
}
不胜感激..venum是什么?
不好意思没分了T_T 展开
展开全部
我的2.1 源码里没有 yvup2abgr8888_venum((UINT8*) inptr0,
(UINT8*) inptr2,
(UINT8*) inptr1,
(UINT8*) outptr,
cinfo->output_width);
你的是如个版本的,不是venum,是yvup2abgr8888_venum 是一个函数,Android.mk 应该有问题。1) 含有函数yvup2abgr8888_venum 的c没有编,2)少了引用的库文件
bmlunlock模块的Android.mk 贴上来看看
(UINT8*) inptr2,
(UINT8*) inptr1,
(UINT8*) outptr,
cinfo->output_width);
你的是如个版本的,不是venum,是yvup2abgr8888_venum 是一个函数,Android.mk 应该有问题。1) 含有函数yvup2abgr8888_venum 的c没有编,2)少了引用的库文件
bmlunlock模块的Android.mk 贴上来看看
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询