Has anyone who has successfully gotten the PocketSphinxAndroidDemo to compile
and run encountered a problem similar to this? By default, ndk-build compiles
using the armeabi ABI, so in theory, if this was a target processor error,
then everyone else should have likely had the same problem with compiling. Of
course, I don't think this is the case. If you have encountered a similar
problem or have any ideas why my version might be problematic, please let me
know. I'm using Ubuntu, Eclipse, and CDT.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2011-03-03
I managed to get my code to compile by editing Android.mk to set some of the
sources to compile with ARM:
include $(CLEAR_VARS)LOCAL_C_INCLUDES:=$(SPHINX_PATH)/sphinxbase/include/android$(SPHINX_PATH)/sphinxbase/include
LOCAL_CFLAGS+=-DHAVE_CONFIG_H
LOCAL_CFLAGS+=-DANDROID_NDK
LOCAL_PATH:=$(SPHINX_PATH)/sphinxbase/src/libsphinxbase/feat
LOCAL_MODULE:=sphinxfeat
LOCAL_SRC_FILES:=\agc.c\cmn.c.arm\cmn_prior.c.arm\feat.c\lda.c.arm
Though, I'm surprised that these weren't already configured with .arm, since
other sources are marked correctly in Android.mk. Does anyone have any ideas
why my scenario is different?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think this problem is specific for your configuration. If you could provide
the information about it things will be easier to understand. In particular
Android SDK version, target processor, OS, etc. Such information helps to
understand why differences appear.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This question is a follow-up to a question I asked in this thread
(I was asked to create a new thread related to this topic).
I have some errors related to ARM registers:
Has anyone who has successfully gotten the PocketSphinxAndroidDemo to compile
and run encountered a problem similar to this? By default, ndk-build compiles
using the armeabi ABI, so in theory, if this was a target processor error,
then everyone else should have likely had the same problem with compiling. Of
course, I don't think this is the case. If you have encountered a similar
problem or have any ideas why my version might be problematic, please let me
know. I'm using Ubuntu, Eclipse, and CDT.
I managed to get my code to compile by editing Android.mk to set some of the
sources to compile with ARM:
Though, I'm surprised that these weren't already configured with .arm, since
other sources are marked correctly in Android.mk. Does anyone have any ideas
why my scenario is different?
Hello
I think this problem is specific for your configuration. If you could provide
the information about it things will be easier to understand. In particular
Android SDK version, target processor, OS, etc. Such information helps to
understand why differences appear.