In function gauden_dist_precompute':
/root/pocketsphinx/src/libpocketsphinx/ms_gauden.c:344: undefined reference tologmath_log'
/root/pocketsphinx/src/libpocketsphinx/ms_gauden.c:347: undefined reference to
`logmath_ln_to_log'
collect2: ld returned 1 exit status
make: *** Error 1
Could anyone tell me what's going on here?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
When I was building the pocketsphinxandroiddemo, something went wrong. Here's
the message when ndk-build.
gauden_dist_precompute': /root/pocketsphinx/src/libpocketsphinx/ms_gauden.c:344: undefined reference to
logmath_log'/root/pocketsphinx/src/libpocketsphinx/ms_gauden.c:347: undefined reference to
`logmath_ln_to_log'
collect2: ld returned 1 exit status
make: *** Error 1
Could anyone tell me what's going on here?
It failed to link to sphinxbase (sphinxbase.a)
Thank you. I'm using eclipse, would you please tell me what should I do now?
Check the whole build log, not just the excerpt from it if sphinxbase.a was
built if and not why and if yes why it's not linked.
edit file Android.mk. Change Line 162 : LOCAL_STATIC_LIBRARIES := sphinxutil
sphinxfe sphinxfeat sphinxlm pocketsphinx
to : LOCAL_STATIC_LIBRARIES := pocketsphinx sphinxlm sphinxfeat sphinxfe
sphinxutil
Thanks zheng, I've committed this fix to subversion. If you have any other
fixed please submit them.