Menu

makefile error pocketsphinx Makefile:558

Help
Developer
2018-08-09
2018-08-09
  • Developer

    Developer - 2018-08-09

    I recieved this error while executing the make check for pocketspinx. Can anyone advise on a solution besides redefine the delcaration of the variable?

    Thanks

    phone_search.Tpo -c allphone_search.c -fPIC -DPIC -o .libs/allphone_search.o
    allphone_search.c: In function ‘allphone_search_free’:
    allphone_search.c:651:5: warning: implicit declaration of function ‘allphone_clear_segments’; did you mean ‘allphone_search_seg_next’? [-Wimplicit-function-declaration]
    allphone_clear_segments(allphs);
    ^~~~~~~~~~~~~~~~~~~~~~~
    allphone_search_seg_next
    allphone_search.c: At top level:
    allphone_search.c:759:1: warning: conflicting types for ‘allphone_clear_segments’
    allphone_clear_segments(allphone_search_t * allphs)
    ^~~~~~~~~~~~~~~~~~~~~~~
    allphone_search.c:759:1: error: static declaration of ‘allphone_clear_segments’ follows non-static declaration
    allphone_search.c:651:5: note: previous implicit declaration of ‘allphone_clear_segments’ was here
    allphone_clear_segments(allphs);
    ^~~~~~~~~~~~~~~~~~~~~~~
    Makefile:558: recipe for target 'allphone_search.lo' failed
    make[2]: [allphone_search.lo] Error 1
    make[2]: Leaving directory '/home/design/speechrec/pocketsphinx/src/libpocketsphinx'
    Makefile:382: recipe for target 'check-recursive' failed
    make[1]:
    [check-recursive] Error 1
    make[1]: Leaving directory '/home/design/speechrec/pocketsphinx/src'
    Makefile:477: recipe for target 'check-recursive' failed
    make: *** [check-recursive] Error 1

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.