Hi
I wanted to run LMBench on IMX8MP. I downloaded the tool from
https://lmbench.sourceforge.net/run_lmbench.html
However, we I run the tool on imx8mp Linux, I receive the following error:
root@imx8mp-lpddr4-evk:/lmbench-3.0-a9/src# make results
../scripts/gnu-os: unable to guess system type
This script, last modified 2004-08-18, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from
ftp://ftp.gnu.org/pub/gnu/config/
If the version you run (../scripts/gnu-os) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches@gnu.org> in order to provide the needed
information to handle your system.
config.guess timestamp = 2004-08-18
uname -m = aarch64
uname -r = 6.1.22-rt8
uname -s = Linux
uname -v = #1 SMP PREEMPT_RT Wed Dec 20 13:47:47 UTC 2023
/usr/bin/uname -p =
/bin/uname -X =
hostinfo =
/bin/universe =
/usr/bin/arch -k =
/bin/arch =
/usr/bin/oslevel =
/usr/convex/getsysinfo =
UNAME_MACHINE = aarch64
UNAME_RELEASE = 6.1.22-rt8
UNAME_SYSTEM = Linux
UNAME_VERSION = #1 SMP PREEMPT_RT Wed Dec 20 13:47:47 UTC 2023
make[1]: Entering directory '/lmbench-3.0-a9/src'
gcc -O - DRUSAGE -DHAVE_uint=1 -DHAVE_int64_t=1 -DHAVE_socklen_t -DHAVE_DRAND48 -DHAVE_SCHED_SETAFFINITY=1 -c lib_tcp.c -o ../bin//lib_tcp.o
In file included from lib_tcp.c:9:
bench.h:39:17 : fatal error: rpc/rpc.h: No such file or directory
39 | #include <rpc/rpc.h>
| ^~~~~~~~~~~
compilation terminated.
make[1]: *** [ Makefile:227: ../bin//lib_tcp.o] Error 1
make[1]: Leaving directory '/lmbench-3.0-a9/src'
make: *** [Makefile:114: lmbench] Error 2
I also installed the libtirpc3 but the problem was not solved!
Thank you.