[Compile Error] Makefile_kaldi2.gpu

May 26, 2015 at 9:47 AM
Hello.

I compiled "Makefile_kaldi2.gpu" file, and I got the following error message:
make: *** No rule to make target `.build/x86_64.gpu.release.acml/MachineLearning/cn/NetworkDescriptionLanguage.o', needed by `bin/x86_64.gpu.release.acml/cn.exe'. Stop.
I already compiled "Makefile_kaldi.gpu" successfully, but I don't know why it is not compiled and showed this error message only.

Best regards,
Donghyun
Jun 1, 2015 at 11:58 AM
Hello.

I updated "Makefile_kaldi2.gpu" today (Just did "git pull origin linux-gcc")

and compiled this file, but I got the following error message:
make: *** [.build/x86_64.gpu.release.acml/DataReader/Kaldi2Reader/HTKMLFWriter.o] 1 error
I think some codes for Kaldi2Reader are updated these days, right?


Best regards,
Donghyun
Jul 24, 2015 at 8:31 PM
Hi Donghyun,

I am getting the same error mentioned in this tread. Did you manage to overcome this?
DataReader/Kaldi2Reader/HTKMLFWriter.cpp:292:3: error: expected ‘}’ at end of input
DataReader/Kaldi2Reader/HTKMLFWriter.cpp:292:3: error: expected ‘}’ at end of input
DataReader/Kaldi2Reader/HTKMLFWriter.cpp: At global scope:
DataReader/Kaldi2Reader/HTKMLFWriter.cpp:292:3: error: expected ‘}’ at end of input
make: *** [.build/x86_64.gpu.release.acml/DataReader/Kaldi2Reader/HTKMLFWriter.o] Error 1
Thanks,
Lahiru
Jul 24, 2015 at 10:35 PM
Could you let us know what version of g++ you used? It looks like a compiler issue, we recently modified the code to support g++4.7 and above.

Guoguo

Jul 25, 2015 at 1:52 AM
Hi Guoguo,

g++ --version
g++ (Ubuntu 4.8.2-19ubuntu1) 4.8.2

Thanks,
Lahiru
Jul 27, 2015 at 3:43 PM
This error still persists in the master. Anyone checked?
Jul 27, 2015 at 4:04 PM
Sorry I overlooked the email. I don't g++ 4.8 on my computer. I'll ask Yu to test it.

Guoguo
Jul 27, 2015 at 9:43 PM
Hi,

I can use gcc4.8 to compile it. Could you send me your complete log? sjtuzy@gmail.com

thanks,
Yu