Menu

Error executing ndk-build for PocketSphinx

Help
2011-10-28
2012-09-22
  • Ashtin Winters

    Ashtin Winters - 2011-10-28

    Any help here would be greatly appreciated.

    [username@hog jni]$ sudo /home/username/Desktop/android-ndk-r6b/ndk-build -B
    
    Compile thumb  : pocketsphinx_jni <= pocketsphinx_wrap.c
    
    /home/username/Desktop/PocketSphinxDemo/jni/pocketsphinx_wrap.c: In function 'Java_edu_cmu_pocketsphinx_pocketsphinxJNI_Decoder_1processRaw_1_1SWIG_10':
    
    /home/username/Desktop/PocketSphinxDemo/jni/pocketsphinx_wrap.c:1441: warning: assignment discards qualifiers from pointer target type
    
    Compile thumb  : pocketsphinx <= acmod.c
    
    Compile thumb  : pocketsphinx <= bin_mdef.c
    
    Compile thumb  : pocketsphinx <= blkarray_list.c
    
    Compile thumb  : pocketsphinx <= dict.c
    
    Compile thumb  : pocketsphinx <= dict2pid.c
    
    Compile thumb  : pocketsphinx <= fsg_history.c
    
    Compile thumb  : pocketsphinx <= fsg_lextree.c
    
    Compile thumb  : pocketsphinx <= fsg_search.c
    
    Compile arm    : pocketsphinx <= hmm.c
    
    Compile thumb  : pocketsphinx <= mdef.c
    
    Compile arm    : pocketsphinx <= ms_gauden.c
    
    Compile arm    : pocketsphinx <= ms_mgau.c
    
    Compile arm    : pocketsphinx <= ms_senone.c
    
    Compile thumb  : pocketsphinx <= ngram_search.c
    
    Compile thumb  : pocketsphinx <= ngram_search_fwdtree.c
    
    Compile thumb  : pocketsphinx <= ngram_search_fwdflat.c
    
    Compile thumb  : pocketsphinx <= phone_loop_search.c
    
    Compile thumb  : pocketsphinx <= pocketsphinx.c
    
    Compile thumb  : pocketsphinx <= ps_lattice.c
    
    Compile thumb  : pocketsphinx <= ps_mllr.c
    
    Compile arm    : pocketsphinx <= ptm_mgau.c
    
    Compile arm    : pocketsphinx <= s2_semi_mgau.c
    
    Compile thumb  : pocketsphinx <= tmat.c
    
    Compile thumb  : pocketsphinx <= vector.c
    
    StaticLibrary  : libpocketsphinx.a
    
    Compile thumb  : sphinxlm <= fsg_model.c
    
    Compile thumb  : sphinxlm <= jsgf.c
    
    yacc  /home/username/Desktop/sphinx/sphinxbase/src/libsphinxbase/lm/jsgf_parser.y
    
    yacc: e - line 60 of "/home/username/Desktop/sphinx/sphinxbase/src/libsphinxbase/lm/jsgf_parser.y", syntax error
    
    %pure-parser
    
    ^
    
    make: *** [/home/username/Desktop/sphinx/sphinxbase/src/libsphinxbase/lm/jsgf_parser.c] Error 1
    
    [username@hog jni]$
    
     
  • Nickolay V. Shmyrev

    You need to install "bison" implementation of yacc parser, not the original
    yacc.

     

Log in to post a comment.