Comments

Flat
HTK Make all ERROR
User: Mohit
Date: 6/2/2012 7:29 am
Views: 9304
Rating: 15

when i run make all command i get following error


alok@alok-Lenovo-B560:~/bin/htk-3.4$ mak
(cd HTKTools && make all) \
          || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/alok/bin/htk-3.4/HTKTools'
if [ ! -d /home/alok/bin/htk-3.4/bin -a X_ = X_yes ] ; then mkdir -p /home/alok/bin/htk-3.4/bin ; fi
if [ xHSLab = xHSLab ] ; then \
                gcc -o HSLab -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -I../HTKLib HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
                else \
                gcc -o HSLab -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -I../HTKLib HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
HSLab.c: In function ‘FileExists’:
HSLab.c:1209:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable]
HSLab.c: In function ‘DoSpecial’:
HSLab.c:1596:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory `/home/alok/bin/htk-3.4/HTKTools'
make: *** [htktools] Error 1

need help....

Re: HTK Make all ERROR
User: mohitpanwar2007
Date: 6/2/2012 7:34 am
Views: 595
Rating: 16

when i run make all command i get following error


alok@alok-Lenovo-B560:~/bin/htk-3.4$ make all
(cd HTKTools && make all) \
          || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/alok/bin/htk-3.4/HTKTools'
if [ ! -d /home/alok/bin/htk-3.4/bin -a X_ = X_yes ] ; then mkdir -p /home/alok/bin/htk-3.4/bin ; fi
if [ xHSLab = xHSLab ] ; then \
                gcc -o HSLab -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -I../HTKLib HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm -lX11 ; \
                else \
                gcc -o HSLab -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="i686"' -Wall -Wno-switch -g -O2 -I../HTKLib HSLab.c ../HTKLib/HTKLib.a -L/usr/X11R6/lib  -lm ; fi
HSLab.c: In function ‘FileExists’:
HSLab.c:1209:12: warning: variable ‘isEXF’ set but not used [-Wunused-but-set-variable]
HSLab.c: In function ‘DoSpecial’:
HSLab.c:1596:13: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
make[1]: *** [HSLab] Error 1
make[1]: Leaving directory `/home/alok/bin/htk-3.4/HTKTools'
make: *** [htktools] Error 1

need help....

Re: HTK Make all ERROR
User: kmaclean
Date: 6/2/2012 11:58 am
Views: 250
Rating: 17

from this post: Speech Recognition using the Raspberry Pi

try this:

./configure --without-x --disable-hslab
make all
make install

Re: HTK Make all ERROR
User: franc0
Date: 7/1/2012 5:47 am
Views: 651
Rating: 16

im also having the same problem... need help

Re: HTK Make all ERROR
User: myldo
Date: 7/1/2012 5:52 am
Views: 490
Rating: 17

katada@katada-Aspire-4750:~/Desktop/thesis/htk$ make all
(cd HTKLib && make HTKLib.a) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/katada/Desktop/thesis/htk/HTKLib'
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.null.o HGraf.null.c
In file included from /usr/include/stdio.h:28:0,
                 from HShell.h:40,
                 from HGraf.null.c:25:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make[1]: *** [HGraf.null.o] Error 1
make[1]: Leaving directory `/home/katada/Desktop/thesis/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1
katada@katada-Aspire-4750:~/Desktop/thesis/htk$

need help..........

 

Re: HTK Make all ERROR
User: mritunjay kumar
Date: 9/2/2015 3:29 am
Views: 61
Rating: 0

katada@katada-Aspire-4750:~/Desktop/thesis/htk$ make all
(cd HTKLib && make HTKLib.a) \
      || case "" in *k*) fail=yes;; *) exit 1;; esac;
make[1]: Entering directory `/home/katada/Desktop/thesis/htk/HTKLib'
gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.null.o HGraf.null.c
In file included from /usr/include/stdio.h:28:0,
                 from HShell.h:40,
                 from HGraf.null.c:25:
/usr/include/features.h:324:26: fatal error: bits/predefs.h: No such file or directory
compilation terminated.
make[1]: *** [HGraf.null.o] Error 1
make[1]: Leaving directory `/home/katada/Desktop/thesis/htk/HTKLib'
make: *** [HTKLib/HTKLib.a] Error 1
katada@katada-Aspire-4750:~/Desktop/thesis/htk$

need help..........

Re: HTK Make all ERROR
User: Peddi Srinivasa Rao
Date: 10/26/2015 1:15 pm
Views: 684
Rating: 0

We are facing this error due to compiling a 32bit on top of 64 bit Ubuntu machine.

install both 32 and 64 bit compilers.

sudo apt-get install libx11-dev:i386 libx11-dev

PreviousNext