انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۴٫۱۰ اوبونتو منتشر شد 🎉

نویسنده موضوع: INSTALL HTS 2.3 for HTK 3.4.1 on Ubuntu 16.04 has error  (دفعات بازدید: 913 بار)

0 کاربر و 3 مهمان درحال مشاهده موضوع.

آفلاین aghapour.ah2

  • Newbie
  • *
  • ارسال: 1
  • جنسیت : پسر
INSTALL HTS 2.3 for HTK 3.4.1 on Ubuntu 16.04 has error
« : 22 خرداد 1395، 01:08 ب‌ظ »
میخواستم htk را نصب کنم ولی با خطاهایی مواجه شدم و بدلیل تازه کار بودن نتوانستم مشکلات را برطرف کنم.
بعد از configure/. دستور make را که اجرا میکنم با خطاهای زیر مواجه میشوم.

(cd HTKLib && make HTKLib.a) \   || case "" in *k*) fail=yes;; *) exit
> 1;; esac; make[1]: Entering directory '/home/ahad/Desktop/htk/HTKLib'
> gcc  -Wall -Wno-switch -g -O2 -I. -DPHNALG   -c -o esignal.o esignal.c
> In file included from /usr/include/string.h:630:0,
>                  from esignal.h:34,
>                  from esignal.c:29: esignal.c: In function ‘ReadHeader’: esignal.c:974:29: error: ‘ARCH’ undeclared (first use in
> this function)
>     if (strcmp(architecture, ARCH) == 0)    /* native architecture */
>                              ^ esignal.c:974:29: note: each undeclared identifier is reported only once for each function it appears in
> esignal.c: In function ‘WriteHeader’: esignal.c:1184:25: error: ‘ARCH’
> undeclared (first use in this function)
>           architecture = ARCH;
>                          ^ esignal.c: In function ‘GetLine’: esignal.c:1760:4: warning: ignoring return value of ‘fgets’, declared
> with attribute warn_unused_result [-Wunused-result]
>     fgets(buf, len+1, file);
>     ^ esignal.c: In function ‘GetLong’: esignal.c:1808:4: warning: ignoring return value of ‘fgets’, declared with attribute
> warn_unused_result [-Wunused-result]
>     fgets(buf, len+1, file);
>     ^ <builtin>: recipe for target 'esignal.o' failed make[1]: *** [esignal.o] Error 1 make[1]: Leaving directory
> '/home/ahad/Desktop/htk/HTKLib' Makefile:141: recipe for target
> 'HTKLib/HTKLib.a' failed make: *** [HTKLib/HTKLib.a] Error 1

قبلا lib11-dev و gcc اخرین ورژن نصب شده است.
با تشکر