I am trying to import pocketsphinx into an STM32F7. Up until now I am trying to static compile and link sphinxbase. However as it seems sphinxbase needs Bison for the Language model to compile. Has anyone compiled sphinxbase with an arm toolchain before? Is it possible to have bison inside an STM32 microcontroller ? I am comfused
Costas
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am getting undefined reference to "mmap","munmap, "sysconf" , "getrusage" on mmio.c and profile.c even though I have imported mman.h , resource.h ,time.h and unistd.h . Any idea?
Can I not use memory mapping for the pocketsphinx with STM32?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
lrt
process_begin: CreateProcess(NULL, lrt, ...) failed.
make (e=2): The system cannot find the file specified.
make: [pre-build] Error 2 (ignored)
and more important this:
acmod.c line 84. Folder '0:/' doesnot contain acoustic model definition 'mdef'
I have a usb stick mounted on 0:/ containing the tested acoustic model with mdef and all needed files. But I get the above. Does this means It can't see it or there is something else? I listed all the files inside the USB and they get recognized by the STM.
I tried getting the log file but it says me this : cannot redirect log out put , pocketsphinx line 234
on my STM LCD
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi community,
I am trying to import pocketsphinx into an STM32F7. Up until now I am trying to static compile and link sphinxbase. However as it seems sphinxbase needs Bison for the Language model to compile. Has anyone compiled sphinxbase with an arm toolchain before? Is it possible to have bison inside an STM32 microcontroller ? I am comfused
Costas
Already discussed at
https://sourceforge.net/p/cmusphinx/discussion/help/thread/149e5409/
bison should not be a problem.
Hi Nikolay,
I am getting this compiling error in Windows with eclipse oxygen,I am not in linux:
Have you seen it before, have you any idea?
You can remove that file from the sources and just leave the generated c file.
Thanks Nickolay, its ok now. However I get the below:
In this passage :
in bitarr.c I get this:
Should I make 7 a double or there is something else going on?
Change sphinxbase/include/prim_type from
to
I am getting undefined reference to "mmap","munmap, "sysconf" , "getrusage" on mmio.c and profile.c even though I have imported mman.h , resource.h ,time.h and unistd.h . Any idea?
Can I not use memory mapping for the pocketsphinx with STM32?
You can disable mmap with defines, see ADSPBLACKFIN define in the code, you can define a similar thing.
Hi Nickolay,
I get the below errors :
and more important this:
acmod.c line 84. Folder '0:/' doesnot contain acoustic model definition 'mdef'I have a usb stick mounted on 0:/ containing the tested acoustic model with mdef and all needed files. But I get the above. Does this means It can't see it or there is something else? I listed all the files inside the USB and they get recognized by the STM.
One question..
Do I need to rewrite the pocketsphinx.c so I can use f_open ( FatFs USB drive) instead of fopen from stdio??