Making file error in old open cv version

I try to install opencv 3.4.0 on Linux and get this error.
How to fix it ?

cmake -D CMAKE_BUILD_TYPE=RELEASE
-D CMAKE_INSTALL_PREFIX=/usr/local
-D WITH_TBB=OFF
-D WITH_IPP=OFF
-D WITH_1394=OFF
-D BUILD_WITH_DEBUG_INFO=OFF
-D BUILD_DOCS=OFF
-D INSTALL_C_EXAMPLES=ON
-D INSTALL_PYTHON_EXAMPLES=ON
-D BUILD_EXAMPLES=OFF
-D OPENCV_PC_FILE_NAME=opencv4.pc
-D OPENCV_ENABLE_NONFREE=ON
-D BUILD_TESTS=OFF
-D BUILD_PERF_TESTS=OFF
-D WITH_QT=ON
-D WITH_CUDA=OFF
-D WITH_OPENGL=ON
-D OPENCV_EXTRA_MODULES_PATH=…/…/opencv_contrib-3.4.0/modules
-D WITH_V4L=ON
-D WITH_FFMPEG=ON
-D WITH_XINE=ON
-D BUILD_NEW_PYTHON_SUPPORT=ON
…/

It can generate file. But, the making process was interrupted.

please do NOT try with no more maintained 3.4, current versions should compile fine, even on ubuntu 18 (??)

also, please, no useless screenshots of errors here, post TEXT instead, thank you.

then, the real error is not visible here, it must be a few lines up in your output. care to look again ?