make all
User: diwakarg
Date: 11/29/2016 10:16 pm
Views: 2564
Rating: 0

sitecsp@acl-pg-06:~/HTK/htk$ make all

(cd HTKLib && make HTKLib.a) \

 || case "" in *k*) fail=yes;; *) exit 1;; esac;

make[1]: Entering directory `/home/sitecsp/HTK/htk/HTKLib'

gcc  -m32 -ansi -D_SVID_SOURCE -DOSS_AUDIO -D'ARCH="x86_64"' -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o HGraf.o HGraf.c

In file included from /usr/include/stdio.h:27:0,

                 from HShell.h:40,

                 from HGraf.c:54:

/usr/include/features.h:374:25: fatal error: sys/cdefs.h: No such file or directory

 #  include <sys/cdefs.h>


compilation terminated.

make[1]: *** [HGraf.o] Error 1

make[1]: Leaving directory `/home/sitecsp/HTK/htk/HTKLib'

make: *** [HTKLib/HTKLib.a] Error 1

While installing I am getting the following error. Can anybody please help me.
Thank you in advance.
Re: make all
User: colbec
Date: 11/30/2016 2:58 am
Views: 4
Rating: 1

Your compile routine cannot find the file cdefs.h. This file on my computer (opensuse) is supplied by the system package glibc-devel and lives in "/usr/include/sys/cdefs.h". So either you have it installed but it is in a different location than usual, or you don't have the development package installed for your system. Check through your package manager for cdefs.h making sure to look for the file name inside the packages.