'make check' error
Hi all,
Today I ‘git clone’ && configure && make && make check
And get following error,
fp-test.c:50:10: fatal error: fail.h: No such file or directory
#include "fail.h"
^~~~~~~~I look at the commit:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=3ac1f81329f4dfdc10a51e180f9cf28dbcb02a3c;hp=b44b5abeae4a3b54ccbd7137f59c0a8923cecec9
Seems it’s old commit, I think I got ‘make check’ work after this commit. So I don’t know anywhere wrong.
Any hints?
Thanks,
Li Qiang
Quoted 10 lines · Li Qiang
Hi all,
Today I ‘git clone’ && configure && make && make check
And get following error,
fp-test.c:50:10: fatal error:
fail.h: No such file or directory#include "fail.h" ^~~~~~~~
Quoted 7 lines
I look at the commit:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=3ac1f81329f4dfdc10a51e180f9cf28dbcb02a3c;hp=b44b5abeae4a3b54ccbd7137f59c0a8923cecec9Seems it’s old commit, I think I got ‘make check’ work after this commit. So I don’t know anywhere wrong.
Any hints?
fail.h is part of berkeley-testfloat-3 -- I suspect the berkeley-testfloat-3 git submodule wasn't checked out.
Make sure both berkeley-softfloat-3 and berkeley-testfloat-3 are checked out at $src/tests/fp. If not, you can get them with "git submodule init && git submodule update".
Hope that helps,
Emilio
Thanks Emilio,
I found the ssh connection is very slow and the submodule wasn’t checked out completely. I uses the https connection and it works as normal.
Thanks,
Li Qiang
发件人: Emilio G. Cota
发送时间: 2019年3月10日 1:38
收件人: Li Qiang
抄送: [email protected]
主题: Re: 'make check' error
Quoted 10 lines · Li Qiang
Hi all,
Today I ‘git clone’ && configure && make && make check
And get following error,
fp-test.c:50:10: fatal error:
fail.h: No such file or directory#include "fail.h" ^~~~~~~~
Quoted 7 lines
I look at the commit:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=3ac1f81329f4dfdc10a51e180f9cf28dbcb02a3c;hp=b44b5abeae4a3b54ccbd7137f59c0a8923cecec9Seems it’s old commit, I think I got ‘make check’ work after this commit. So I don’t know anywhere wrong.
Any hints?
fail.h is part of berkeley-testfloat-3 -- I suspect the berkeley-testfloat-3 git submodule wasn't checked out.
Make sure both berkeley-softfloat-3 and berkeley-testfloat-3 are checked out at $src/tests/fp. If not, you can get them with "git submodule init && git submodule update".
Hope that helps,
Emilio