When I install the SphinxTrain following the instructions,simply type "./configure" and then "make" ,information appeared as follows:
[root@localhost SphinxTrain]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking whether byte ordering is bigendian... (cached) no
checking for perl5... (cached) /usr/bin/perl
checking for festival... (cached) /usr/bin/festival
creating ./config.status
creating config/config
creating config/system.mak
creating scripts_pl/sphinxDocGen.sh [root@localhost SphinxTrain]# make
making in . ...
making in bin ...
making in scripts_pl ...
making in scripts_pl/00.verify ...
making in scripts_pl/01.vector_quantize ...
making in scripts_pl/02.ci_schmm ...
making in scripts_pl/03.makeuntiedmdef ...
making in scripts_pl/04.cd_schmm_untied ...
making in scripts_pl/05.buildtrees ...
making in scripts_pl/06.prunetree ...
making in scripts_pl/07.cd-schmm ...
making in scripts_pl/08.deleted-interpolation ...
making in scripts_pl/09.make_s2_models ...
making in scripts_pl/mc ...
making in include ...
making in src ...
making in src/libs ...
making in src/libs/libcep_feat ...
making in src/libs/libcommon ...
making in src/libs/libmllr ...
making in src/libs/librpcc ...
making in src/libs/libclust ...
making in src/libs/libio ...
making in src/libs/libmodinv ...
making in src/libs/libs2io ...
making in src/programs ...
making in src/programs/agg_seg ...
making in src/programs/bldtree ...
making in src/programs/bw ...
making in src/programs/count_3phone ...
gcc -I../../../include -g -O2 -Wall -c phone_word_io.c -o obj.i686-pc-linux-gnu/phone_word_io.o
phone_word_io.c:68: error: conflicting types for 'malloc'
phone_word_io.c:68: error: conflicting types for 'malloc'
make[3]: [obj.i686-pc-linux-gnu/phone_word_io.o] Error 1
make[2]: [.make_build_dirs] Error 2
make[1]: [.make_build_dirs] Error 2
make: [.make_build_dirs] Error 2
because I am a new guy,so I need help to handle this ,thanks in advance!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I install the SphinxTrain following the instructions,simply type "./configure" and then "make" ,information appeared as follows:
[root@localhost SphinxTrain]# ./configure
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for ranlib... (cached) ranlib
checking for ar... (cached) ar
checking whether byte ordering is bigendian... (cached) no
checking for perl5... (cached) /usr/bin/perl
checking for festival... (cached) /usr/bin/festival
creating ./config.status
creating config/config
creating config/system.mak
creating scripts_pl/sphinxDocGen.sh
[root@localhost SphinxTrain]# make
making in . ...
making in bin ...
making in scripts_pl ...
making in scripts_pl/00.verify ...
making in scripts_pl/01.vector_quantize ...
making in scripts_pl/02.ci_schmm ...
making in scripts_pl/03.makeuntiedmdef ...
making in scripts_pl/04.cd_schmm_untied ...
making in scripts_pl/05.buildtrees ...
making in scripts_pl/06.prunetree ...
making in scripts_pl/07.cd-schmm ...
making in scripts_pl/08.deleted-interpolation ...
making in scripts_pl/09.make_s2_models ...
making in scripts_pl/mc ...
making in include ...
making in src ...
making in src/libs ...
making in src/libs/libcep_feat ...
making in src/libs/libcommon ...
making in src/libs/libmllr ...
making in src/libs/librpcc ...
making in src/libs/libclust ...
making in src/libs/libio ...
making in src/libs/libmodinv ...
making in src/libs/libs2io ...
making in src/programs ...
making in src/programs/agg_seg ...
making in src/programs/bldtree ...
making in src/programs/bw ...
making in src/programs/count_3phone ...
gcc -I../../../include -g -O2 -Wall -c phone_word_io.c -o obj.i686-pc-linux-gnu/phone_word_io.o
phone_word_io.c:68: error: conflicting types for 'malloc'
phone_word_io.c:68: error: conflicting types for 'malloc'
make[3]: [obj.i686-pc-linux-gnu/phone_word_io.o] Error 1
make[2]: [.make_build_dirs] Error 2
make[1]: [.make_build_dirs] Error 2
make: [.make_build_dirs] Error 2
because I am a new guy,so I need help to handle this ,thanks in advance!
I'm having the same problem, I'm using FC3. I guess we need to re-install version to FC2 or use Cygwin.