>>> mjpg-streamer 75c6c4a7809c735b201df949d55287fb60397744 Downloading --2018-10-21 00:21:17-- https://github.com/jacksonliam/mjpg-streamer/archive/75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744.tar.gz Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113 Connecting to github.com (github.com)|192.30.253.112|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://codeload.github.com/jacksonliam/mjpg-streamer/tar.gz/75c6c4a7809c735b201df949d55287fb60397744 [following] --2018-10-21 00:21:18-- https://codeload.github.com/jacksonliam/mjpg-streamer/tar.gz/75c6c4a7809c735b201df949d55287fb60397744 Resolving codeload.github.com (codeload.github.com)... 192.30.253.120, 192.30.253.121 Connecting to codeload.github.com (codeload.github.com)|192.30.253.120|:443... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [application/x-gzip] Saving to: '/home/buildroot/autobuild/run/instance-1/output/build/.mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744.tar.gz.kyC9SW/output' 0K .......... .......... .......... .......... .......... 179K 50K .......... .......... .......... .......... .......... 402K 100K .......... .......... .......... .......... .......... 3.08M 150K .......... .......... .......... .......... .......... 446K 200K .......... .......... .......... .......... .......... 3.05M 250K .......... .......... .......... .......... .......... 3.05M 300K .......... .......... .......... .......... .......... 4.03M 350K .......... .......... .......... .......... .......... 542K 400K .......... .......... .......... .......... .......... 3.12M 450K .......... .......... .......... .......... .......... 3.07M 500K .......... .......... .......... .......... .......... 564K 550K .......... .......... .......... .......... .......... 3.14M 600K .......... .......... .......... .......... .......... 3.07M 650K .......... .......... .......... .......... . 3.39M=0.8s 2018-10-21 00:21:21 (832 KB/s) - '/home/buildroot/autobuild/run/instance-1/output/build/.mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744.tar.gz.kyC9SW/output' saved [708319] mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744.tar.gz: OK (sha256: 617c6cdcf5ad6e9135e8bcd83d7acd33cc4a563b9104bca7def57d807164ae89) >>> mjpg-streamer 75c6c4a7809c735b201df949d55287fb60397744 Extracting gzip -d -c /home/buildroot/autobuild/run/instance-1/dl/mjpg-streamer/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744.tar.gz | tar --strip-components=1 -C /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744 -xf - >>> mjpg-streamer 75c6c4a7809c735b201df949d55287fb60397744 Patching >>> mjpg-streamer 75c6c4a7809c735b201df949d55287fb60397744 Configuring (mkdir -p /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental && cd /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental && rm -f CMakeCache.txt && PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" /home/buildroot/autobuild/run/instance-1/output/host/bin/cmake /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental -DCMAKE_TOOLCHAIN_FILE="/home/buildroot/autobuild/run/instance-1/output/host/share/buildroot/toolchainfile.cmake" -DCMAKE_INSTALL_PREFIX="/usr" -DCMAKE_COLOR_MAKEFILE=OFF -DBUILD_DOC=OFF -DBUILD_DOCS=OFF -DBUILD_EXAMPLE=OFF -DBUILD_EXAMPLES=OFF -DBUILD_TEST=OFF -DBUILD_TESTS=OFF -DBUILD_TESTING=OFF -DBUILD_SHARED_LIBS=ON -DPLUGIN_INPUT_PTP2=OFF -DPLUGIN_INPUT_OPENCV=OFF -DPLUGIN_OUTPUT_VIEWER=ON ) -- The C compiler identification is GNU 4.8.3 -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc -- Check for working C compiler: /home/buildroot/autobuild/run/instance-1/output/host/bin/arm-none-linux-gnueabi-gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done CMAKE_BUILD_TYPE = Release fatal: not a git repository (or any of the parent directories): .git -- Looking for include file sys/inotify.h -- Looking for include file sys/inotify.h - found CMake Warning at plugins/input_opencv/CMakeLists.txt:4 (find_package): By not providing "FindOpenCV.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "OpenCV", but CMake did not find one. Could not find a package configuration file provided by "OpenCV" with any of the following names: OpenCVConfig.cmake opencv-config.cmake Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" provides a separate development package or SDK, be sure it has been installed. -- Found PkgConfig: /home/buildroot/autobuild/run/instance-1/output/host/bin/pkg-config (found version "0.28") -- Checking for module 'libgphoto2' -- Package libgphoto2 was not found in the pkg-config search path. Perhaps you should add the directory containing `libgphoto2.pc' to the PKG_CONFIG_PATH environment variable Package 'libgphoto2', required by 'world', not found -- Could NOT find GPHOTO2 (missing: GPHOTO2_LIBRARY GPHOTO2_INCLUDE_DIR) -- Looking for include file linux/videodev2.h -- Looking for include file linux/videodev2.h - found -- Looking for pthread.h -- Looking for pthread.h - found -- Looking for pthread_create -- Looking for pthread_create - not found -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Found SDL: /home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libSDLmain.a;/home/buildroot/autobuild/run/instance-1/output/host/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libSDL.so;-lpthread (found version "1.2.15") -- Could NOT find protobuf-c (missing: PROTOBUF_C_LIBRARY PROTOBUF_C_INCLUDE_DIR) -- The following features have been enabled: * PLUGIN_INPUT_FILE, File input plugin * PLUGIN_INPUT_HTTP, HTTP input proxy plugin * PLUGIN_INPUT_UVC, Video 4 Linux input plugin * PLUGIN_OUTPUT_FILE, File output plugin * PLUGIN_OUTPUT_HTTP, HTTP server output plugin * PLUGIN_OUTPUT_RTSP, RTSP output plugin * PLUGIN_OUTPUT_UDP, UDP output stream plugin * PLUGIN_OUTPUT_VIEWER, SDL output viewer plugin -- The following OPTIONAL packages have been found: * Threads * SDL -- The following features have been disabled: * WXP_COMPAT, Enable compatibility with WebcamXP * PLUGIN_INPUT_OPENCV, OpenCV input plugin (unmet dependencies) * PLUGIN_INPUT_RASPICAM, Raspberry Pi input camera plugin (unmet dependencies) * PLUGIN_INPUT_PTP2, PTP2 input plugin (unmet dependencies) * ENABLE_HTTP_MANAGEMENT, Enable experimental HTTP management option * PLUGIN_OUTPUT_ZMQSERVER, ZMQ Server output plugin (unmet dependencies) -- The following OPTIONAL packages have not been found: * OpenCV * Gphoto2 CMake Warning at CMakeLists.txt:116 (message): The source directory is the same as binary directory. "make clean" may damage the source tree -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_DOC BUILD_DOCS BUILD_EXAMPLE BUILD_EXAMPLES BUILD_TEST BUILD_TESTING BUILD_TESTS -- Build files have been written to: /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental >>> mjpg-streamer 75c6c4a7809c735b201df949d55287fb60397744 Building PATH="/home/buildroot/autobuild/run/instance-1/output/host/bin:/home/buildroot/autobuild/run/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games:/snap/bin" /usr/bin/make -j8 -C /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental make[1]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[2]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' Scanning dependencies of target input_http make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' Scanning dependencies of target output_rtsp make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' Scanning dependencies of target output_file Scanning dependencies of target input_file Scanning dependencies of target input_uvc make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' Scanning dependencies of target output_udp Scanning dependencies of target mjpg_streamer Scanning dependencies of target output_http make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 4%] Building C object plugins/input_http/CMakeFiles/input_http.dir/input_http.c.o make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 24%] Building C object CMakeFiles/mjpg_streamer.dir/mjpg_streamer.c.o [ 24%] Building C object plugins/output_rtsp/CMakeFiles/output_rtsp.dir/output_rtsp.c.o [ 24%] Building C object plugins/input_file/CMakeFiles/input_file.dir/input_file.c.o [ 24%] Building C object plugins/output_file/CMakeFiles/output_file.dir/output_file.c.o [ 28%] Building C object plugins/output_http/CMakeFiles/output_http.dir/httpd.c.o [ 24%] Building C object plugins/output_udp/CMakeFiles/output_udp.dir/output_udp.c.o [ 32%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/dynctrl.c.o [ 36%] Building C object plugins/input_http/CMakeFiles/input_http.dir/misc.c.o [ 40%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/input_uvc.c.o [ 44%] Building C object plugins/input_http/CMakeFiles/input_http.dir/mjpg-proxy.c.o [ 48%] Building C object CMakeFiles/mjpg_streamer.dir/utils.c.o [ 52%] Linking C shared library output_rtsp.so [ 56%] Linking C shared library input_file.so [ 60%] Linking C shared library output_udp.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 64%] Linking C shared library output_file.so [ 64%] Built target output_rtsp [ 64%] Built target output_udp make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 64%] Built target input_file Scanning dependencies of target output_viewer [ 68%] Building C object plugins/output_http/CMakeFiles/output_http.dir/output_http.c.o make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 72%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/jpeg_utils.c.o make[3]: Entering directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 76%] Building C object plugins/output_viewer/CMakeFiles/output_viewer.dir/output_viewer.c.o [ 80%] Linking C executable mjpg_streamer [ 84%] Linking C shared library input_http.so make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 84%] Built target output_file [ 88%] Building C object plugins/input_uvc/CMakeFiles/input_uvc.dir/v4l2uvc.c.o make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 88%] Built target mjpg_streamer [ 88%] Built target input_http [ 92%] Linking C shared library output_http.so [ 96%] Linking C shared library output_viewer.so /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c: In function 'init_v4l2': /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c:314:20: error: 'V4L2_EVENT_SOURCE_CHANGE' undeclared (first use in this function) sub.type = V4L2_EVENT_SOURCE_CHANGE; ^ /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c:314:20: note: each undeclared identifier is reported only once for each function it appears in /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c: In function 'video_handle_event': /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c:546:18: error: 'V4L2_EVENT_SOURCE_CHANGE' undeclared (first use in this function) case V4L2_EVENT_SOURCE_CHANGE: ^ /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c: In function 'setResolution': /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c:969:5: error: 'for' loop initial declarations are only allowed in C99 mode for (int i = 0; i < NB_BUFFER; i++) { ^ /home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental/plugins/input_uvc/v4l2uvc.c:969:5: note: use option -std=c99 or -std=gnu99 to compile your code make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' plugins/input_uvc/CMakeFiles/input_uvc.dir/build.make:134: recipe for target 'plugins/input_uvc/CMakeFiles/input_uvc.dir/v4l2uvc.c.o' failed make[3]: *** [plugins/input_uvc/CMakeFiles/input_uvc.dir/v4l2uvc.c.o] Error 1 make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' CMakeFiles/Makefile2:286: recipe for target 'plugins/input_uvc/CMakeFiles/input_uvc.dir/all' failed make[2]: *** [plugins/input_uvc/CMakeFiles/input_uvc.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... [ 96%] Built target output_http make[3]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' [ 96%] Built target output_viewer make[2]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' Makefile:129: recipe for target 'all' failed make[1]: *** [all] Error 2 make[1]: Leaving directory '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/mjpg-streamer-experimental' package/pkg-generic.mk:229: recipe for target '/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/.stamp_built' failed make: *** [/home/buildroot/autobuild/run/instance-1/output/build/mjpg-streamer-75c6c4a7809c735b201df949d55287fb60397744/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/autobuild/run/instance-1/buildroot'