Pytorch make installation fail, any idea what went wrong? I am trying to use deep steam sdk

[ 16%] Building NVCC (Device) object CMakeFiles/myplugins.dir/myplugins_generated_mish.cu.o
/home/rai/tensorrtx/yolov4/mish.cu: In member function ‘virtual nvinfer1::Dims nvinfer1::MishPlugin::getOutputDimensions(int, const nvinfer1::Dims*, int)’:
/home/rai/tensorrtx/yolov4/mish.cu:44:74: warning: ‘DimsCHW’ is deprecated [-Wdeprecated-declarations]
return DimsCHW(inputs[0].d[0], inputs[0].d[1], inputs[0].d[2]);
^
/usr/include/aarch64-linux-gnu/NvInfer.h:206:33: note: declared here
class TRT_DEPRECATED DimsCHW : public Dims3
^~~~~~~
[ 33%] Building NVCC (Device) object CMakeFiles/myplugins.dir/myplugins_generated_yololayer.cu.o
Scanning dependencies of target myplugins
[ 50%] Linking CXX shared library libmyplugins.so
[ 50%] Built target myplugins
Scanning dependencies of target yolov4
[ 66%] Building CXX object CMakeFiles/yolov4.dir/plugin_factory.cpp.o
In file included from /home/rai/tensorrtx/yolov4/plugin_factory.cpp:1:0:
/home/rai/tensorrtx/yolov4/common.h: In function ‘unsigned int samples_common::getElementSize(nvinfer1::DataType)’:
/home/rai/tensorrtx/yolov4/common.h:271:12: warning: enumeration value ‘kBOOL’ not handled in switch [-Wswitch]
switch (t)
^
/home/rai/tensorrtx/yolov4/plugin_factory.cpp: In member function ‘virtual nvinfer1::IPlugin* nvinfer1::PluginFactory::createPlugin(const char*, const void*, size_t)’:
/home/rai/tensorrtx/yolov4/plugin_factory.cpp:13:26: error: ‘createPReLUPlugin’ is not a member of ‘nvinfer1::plugin’
plugin = plugin::createPReLUPlugin(serialData, serialLength);
^~~~~~~~~~~~~~~~~
compilation terminated due to -Wfatal-errors.
CMakeFiles/yolov4.dir/build.make:62: recipe for target ‘CMakeFiles/yolov4.dir/plugin_factory.cpp.o’ failed
make[2]: *** [CMakeFiles/yolov4.dir/plugin_factory.cpp.o] Error 1
CMakeFiles/Makefile2:104: recipe for target ‘CMakeFiles/yolov4.dir/all’ failed
make[1]: *** [CMakeFiles/yolov4.dir/all] Error 2
Makefile:83: recipe for target ‘all’ failed
make: *** [all] Error 2