error: undefined reference to 'jconst_huff_encode_one_block'
Closed this issue · 2 comments
robinvanyang commented
hi, I upgrade lib version to the newest version 1.5.2, and when I build the shared library in x86, I came to this error:
...
...
Library/Android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld: warning: shared library text segment is not shareable
jni/libjpeg/libjpeg-turbo-1.5.2/simd/jsimd_i386.c:1077: error: undefined reference to 'jconst_huff_encode_one_block'
jni/libjpeg/libjpeg-turbo-1.5.2/simd/jsimd_i386.c:1089: error: undefined reference to 'jsimd_huff_encode_one_block_sse2'
Hope for your response!
sorccu commented
Sounds like there are new files that need to be compiled. You have to
modify the .mk to include the new files.
…On Mon, Feb 20, 2017 at 17:34 RobinVanYang ***@***.***> wrote:
hi, I upgrade lib version to the newest version 1.5.2, and when I build
the shared library in x86, I came to this error:
`
Library/Android/sdk/ndk-bundle/toolchains/x86-4.9/prebuilt/darwin-x86_64/lib/gcc/i686-linux-android/4.9.x/../../../../i686-linux-android/bin/ld:
warning: shared library text segment is not shareable
jni/libjpeg/libjpeg-turbo-1.5.2/simd/jsimd_i386.c:1077: error: undefined
reference to 'jconst_huff_encode_one_block'
jni/libjpeg/libjpeg-turbo-1.5.2/simd/jsimd_i386.c:1089: error: undefined
reference to 'jsimd_huff_encode_one_block_sse2'
`
Hope for your response!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#6>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAB-_Qh0hDbxGDA2DBjBPt0kr7jWrpj6ks5reVAlgaJpZM4MF5Er>
.
robinvanyang commented
yes, that's it. jchuff-sse2.asm file was added in the newest version(1.5.2). thanks for your great help.