#18 Fix #16. lmbench compilation on F28.
Merged by jforbes. Opened by low.
low/kernel-tests master  into  master

Download 18.patch

Now compiles fine. I guess it may need more work, as it’s likely to break on previous Fedora (untested, but I’m afraid LDFLAGS=-ltirpc usage may fail on older fedora not providing libtirpc).

Pull-Request has been merged by jforbes

Doing the performance test with fedora 29 and kernel still leads to this issue.

Log:

Test suite called with performance
In file included from lib_tcp.c:9:
bench.h:38:10: fatal error: rpc/rpc.h: No such file or directory
#include
^~~~~~~~~~~
compilation terminated.
gmake[2]: *** [Makefile:244: ../bin/x86_64-linux-gnu/lib_tcp.o] Error 1
make[1]: *** [Makefile:114: lmbench] Error 2
make: *** [Makefile:20: build] Error 2
In file included from lib_tcp.c:9:
bench.h:38:10: fatal error: rpc/rpc.h: No such file or directory
#include
^~~~~~~~~~~
compilation terminated.
gmake[2]: *** [Makefile:244: ../bin/x86_64-linux-gnu/lib_tcp.o] Error 1
make[1]: *** [Makefile:114: lmbench] Error 2
make: *** [Makefile:23: results] Error 2

Hi,

Do you have libntirpc-devel installed ?

After a reset of my machine and re-installing all the packages the issue does not occur any more. I cannot reproduce it.

Thanks for your reply.

Metadata