Dear David
Thanks for your response.
We have installed the correct toolchain as u suggested. We have installed bfin-uclinux-gcc06r2-5 toolchain and also bfin-uclinux-elf-gcc06r2-5 toolchain.
We were able to make the sphinx base without errors but when we tried to run "make clean all" for pocketsphinx the following error showed up----
/usr/local/lib/libsphinxfe.a(fe_interface.o): In function fe_init_dither':/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxfe/fe_interface.c:188: undefined reference togenrand_seed'
:/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxfe/fe_interface.c:183: undefined reference to genrand_seed'
/usr/local/lib/libsphinxfe.a(fe_sigproc.o): In functionfe_dither':/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxfe/fe_sigproc.c:270: undefined reference to genrand_int31'
collect2: ld returned 1 exit status
make[2]: *** [pocketsphinx_batch] Error 1
make[2]: Leaving directory/root/Desktop/sphinx/pocketsphinx/src/programs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/sphinx/pocketsphinx/src'
make: *** [all-recursive] Error 1
We also exported the paths uclinux toolchain bins and sphinxbase bin.
Please help us on it.
Is there any tutorial or documentation for pocketsphinx on uclinux for working on it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Try running make clean and building it again? It could be the case that you first built it for your desktop system and it is trying to link i386 objects into a library for Blackfin.
I can verify that it builds here using the 06r2-5 toolchain.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi guys,
i want to port pocket sphinx on blackfin-uClinux.
but i am getting errors in the make command as follows:
Making all in src
make[1]: Entering directory
/root/Desktop/sphinx/sphinxbase-0.2.1/src' Making all in libsphinxutil make[2]: Entering directory/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxutil'/bin/sh ../../libtool --tag=CC --mode=link bfin-uclinux-gcc -g -O2 -Wall -Wl,-elf2flt -o libsphinxutil.la -rpath /usr/local/lib -version-info 0:0:0 bitvec.lo bio.lo case.lo ckd_alloc.lo cmd_ln.lo err.lo filename.lo genrand.lo glist.lo hash_table.lo heap.lo info.lo pio.lo linklist.lo matrix.lo nextword.lo profile.lo str2words.lo s3_arraylist.lo unlimit.lo slamch.lo slapack_lite.lo blas_lite.lo f2c_lite.lo -lm
libtool: link:
matrix.lo' is not a valid libtool object make[2]: *** [libsphinxutil.la] Error 1 make[2]: Leaving directory/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxutil'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/sphinx/sphinxbase-0.2.1/src'
make: *** [all-recursive] Error 1
after giving make command for the sphinx base.
can anybody help me?
ketan
Dear David
Thanks for your response.
We have installed the correct toolchain as u suggested. We have installed bfin-uclinux-gcc06r2-5 toolchain and also bfin-uclinux-elf-gcc06r2-5 toolchain.
We were able to make the sphinx base without errors but when we tried to run "make clean all" for pocketsphinx the following error showed up----
/usr/local/lib/libsphinxfe.a(fe_interface.o): In function
fe_init_dither':/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxfe/fe_interface.c:188: undefined reference togenrand_seed':/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxfe/fe_interface.c:183: undefined reference to
genrand_seed' /usr/local/lib/libsphinxfe.a(fe_sigproc.o): In functionfe_dither':/root/Desktop/sphinx/sphinxbase-0.2.1/src/libsphinxfe/fe_sigproc.c:270: undefined reference togenrand_int31' collect2: ld returned 1 exit status make[2]: *** [pocketsphinx_batch] Error 1 make[2]: Leaving directory/root/Desktop/sphinx/pocketsphinx/src/programs'make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/Desktop/sphinx/pocketsphinx/src'
make: *** [all-recursive] Error 1
We also exported the paths uclinux toolchain bins and sphinxbase bin.
Please help us on it.
Is there any tutorial or documentation for pocketsphinx on uclinux for working on it?
Try running make clean and building it again? It could be the case that you first built it for your desktop system and it is trying to link i386 objects into a library for Blackfin.
I can verify that it builds here using the 06r2-5 toolchain.