Menu

wave2feat compilation

Help
Arslan
2007-07-31
2012-09-22
  • Arslan

    Arslan - 2007-07-31

    Hi everyone,

    I am trying to use sphinxtrain library to perform a conversion from .wav to .mfc.
    It works fine while I use the binary file generated by the compilation wave2feat.

    The problem is I can't use the binary file, I eed to integrate this conversion block to my C++ programmed application.

    so I am trying to compile wave2feat.c independently so I can intergrate it () after some modification into my code.

    Why that I can't compile it correcly?

    indeed here is the compilation command I use:

    gcc -Wall wave2feat.c -I ~/SphinxTrain/include -I ~/SphinxTrain/src/programs/wave2feat -L ~/SphinxTrain/lib.x86_64-unknown-linux-gnu -lcep_feat -lclust -lcommon -lio -lmllr -lmodinv -lrpcc -ls2io -o wave2feat

    and I get this errors:

    /gctmp/carslani/ccnC9ovm.o(.text+0xa7): In function fe_convert_files': : undefined reference tofe_init'
    /gctmp/carslani/ccnC9ovm.o(.text+0x2d6): In function fe_convert_files': : undefined reference tofe_start_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0x3f9): In function fe_convert_files': : undefined reference tofe_process_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0x5cf): In function fe_convert_files': : undefined reference tofe_process_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0x6e7): In function fe_convert_files': : undefined reference tofe_end_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0x839): In function fe_convert_files': : undefined reference tofe_close'
    /gctmp/carslani/ccnC9ovm.o(.text+0x94c): In function fe_convert_files': : undefined reference tofe_start_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0xa6f): In function fe_convert_files': : undefined reference tofe_process_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0xc4d): In function fe_convert_files': : undefined reference tofe_process_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0xd6d): In function fe_convert_files': : undefined reference tofe_end_utt'
    /gctmp/carslani/ccnC9ovm.o(.text+0xe85): In function fe_convert_files': : undefined reference tofe_close'
    /gctmp/carslani/ccnC9ovm.o(.text+0x1138): In function fe_parse_options': : undefined reference toparse_cmd_ln'
    /gctmp/carslani/ccnC9ovm.o(.text+0x117b): In function fe_parse_options': : undefined reference tofe_init_params'
    collect2: ld returned 1 exit status

    I don't get it, all these header's function are defined in fe.h witch is included in wave2feat.c

    Do you know what is wrong, is my compilation command line is incomplete, do I miss a step.

    I know I'am asking you a lot, but I really need you here guys, I'm stuck again.

    Thank's for reading me.
    Best regards.

     
    • Nickolay V. Shmyrev

      You should link sphinx libraries too: -Lsphinx_libs_prefx -lsphinxfe -lsphinxutil and probably others

       

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.