Dear Sir,
When I try to compile pocketsphinx to porting on android as : http://cmusphinx.sourceforge.net/wiki/building
i got this error:
Compile thumb : pocketsphinx <=
apps/PocketSphinx/project/jni/sphinxbase/fe/fixlog.c
/tmp/cccsYy5b.s: Assembler messages:
/tmp/cccsYy5b.s:42: Error: selected processor does not support clz r2,r0'
/tmp/cccsYy5b.s:119: Error: selected processor does not supportsmull
r1,r2,r0,r3'
/tmp/cccsYy5b.s:121: Error: unshifted register required -- `orr
r1,r1,r2,lsl#20'
make: *** Error 1
How to fix this ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Well, you didn't apply Pocketsphinx.diff which was attached. Or with recent
sphinxbase trunk you need to make sure your compiler defines thumb
preprocessor variable so that asm code is not compiled.
Generic advice with dealing with this experimental unstable code is to try to
understand what is the problem, not post every problem to the forum as soon as
it appeared.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
thank for your answer, i have read about Pocketsphinx.diff, pocketsphinx-
wrapper.c or adds headers and avoids asm But i can't find them. Please
tell me where to find them and how to apply it to my project.
Thank so much.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I suggest you to try pocketsphinx trunk instead. It has a little bit different
approach for android with SWIG. Remember that your compiler need to define thumb, you can just add it to the project properties when you compile
sphinxbase. This way asm instructions will be skipped.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Sir,
When I try to compile pocketsphinx to porting on android as :
http://cmusphinx.sourceforge.net/wiki/building
i got this error:
Compile thumb : pocketsphinx <=
apps/PocketSphinx/project/jni/sphinxbase/fe/fixlog.c
/tmp/cccsYy5b.s: Assembler messages:
/tmp/cccsYy5b.s:42: Error: selected processor does not support
clz r2,r0' /tmp/cccsYy5b.s:119: Error: selected processor does not support
smullr1,r2,r0,r3'
/tmp/cccsYy5b.s:121: Error: unshifted register required -- `orr
r1,r1,r2,lsl#20'
make: *** Error 1
How to fix this ?
Well, you didn't apply Pocketsphinx.diff which was attached. Or with recent
sphinxbase trunk you need to make sure your compiler defines thumb
preprocessor variable so that asm code is not compiled.
Generic advice with dealing with this experimental unstable code is to try to
understand what is the problem, not post every problem to the forum as soon as
it appeared.
thank for your answer, i have read about Pocketsphinx.diff, pocketsphinx-
wrapper.c or adds headers and avoids asm But i can't find them. Please
tell me where to find them and how to apply it to my project.
Thank so much.
Hi
I suggest you to try pocketsphinx trunk instead. It has a little bit different
approach for android with SWIG. Remember that your compiler need to define
thumb, you can just add it to the project properties when you compile
sphinxbase. This way asm instructions will be skipped.