On Sun, Aug 04, 2019 at 07:01:29AM +0000, Ju-Hyoung Lee wrote: > Hi all, > > This is Azure VM with Ubuntu 18.04, the 'bash build.sh' failed with below error. I post the required information below also. > This is Azure Standard_NC24r VM size. So it has GPU and RDMA enabled. I don't know what it means "cc: error: unrecognized command line option '-Wcast-function-type'; did you mean '-Wbad-function-cast'?" I did not modify any file. If you need any, please let me know. > > <how to repro> > %git clone <repo of rdma-core> > %cd rdma-core > %bash build. sh > > <error> > root@juhlee-137339034-1:~/rdma-core# bash build.sh > CMake Error at /usr/share/cmake-3.10/Modules/FindPackageHandleStandardArgs.cmake:137 (message): > Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Isn't this clear enough what the problem is? You need to install pkgconfig to build. Jason