cmake -DBUILDSWIGNODE=OFF -DBUILDSWIGPYTHON=ON -DBUILDSWIGJAVA=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DUSBPLAT=ON -DJSONPLAT=OFF -DENABLEEXAMPLES=OFF -DBUILD_TESTS=OFF -DBUILDARCH=arm .. -- The C compiler identification is GNU 8.3.0 -- The CXX compiler identification is GNU 8.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- 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 -- Performing Test HAS_C__Wall -- Performing Test HAS_C__Wall - Success -- Performing Test HAS_C__Werror_main -- Performing Test HAS_C__Werror_main - Success -- Performing Test HAS_C__Wformat -- Performing Test HAS_C__Wformat - Success -- Performing Test HAS_C__Wmain -- Performing Test HAS_C__Wmain - Success -- Performing Test HAS_C__Wuninitialized -- Performing Test HAS_C__Wuninitialized - Success -- Performing Test HAS_C__Winit_self -- Performing Test HAS_C__Winit_self - Success -- Performing Test HAS_C__Werror_implicit -- Performing Test HAS_C__Werror_implicit - Success -- Performing Test HAS_C__Werror_missing_parameter_type -- Performing Test HAS_C__Werror_missing_parameter_type - Success -- Performing Test HAS_CXX__Wall -- Performing Test HAS_CXX__Wall - Success -- Performing Test HAS_CXX__Werror_main -- Performing Test HAS_CXX__Werror_main - Success -- Performing Test HAS_CXX__Wformat -- Performing Test HAS_CXX__Wformat - Success -- Performing Test HAS_CXX__Wmain -- Performing Test HAS_CXX__Wmain - Success -- Performing Test HAS_CXX__Wuninitialized -- Performing Test HAS_CXX__Wuninitialized - Success -- Performing Test HAS_CXX__Winit_self -- Performing Test HAS_CXX__Winit_self - Success -- Performing Test HAS_CXX__Wnon_virtual_dtor -- Performing Test HAS_CXX__Wnon_virtual_dtor - Success -- Performing Test HAS_CXX__Woverloaded_virtual -- Performing Test HAS_CXX__Woverloaded_virtual - Success -- Performing Test HAS_CXX__Wreorder -- Performing Test HAS_CXX__Wreorder - Success CMake Warning at CMakeLists.txt:112 (message): - Install git to compile a production libmraa! -- INFO - libmraa Version v2.1.0 -- INFO - cmake Version 3.13.4 -- INFO - Override arch is arm -- Found PythonInterp: /usr/bin/python2.7 (found suitable version "2.7.16", minimum required is "2.7") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython2.7.so (found suitable exact version "2.7.16") -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.7.3", minimum required is "3") -- Found PythonLibs: /usr/lib/x86_64-linux-gnu/libpython3.7m.so (found suitable exact version "3.7.3") -- INFO - Adding onewire backend support -- INFO - Adding support for platform ALL -- INFO - Adding support for all platforms INFO - Adding ARM platforms -- INFO - Adding USB platforms -- Found SWIG: /usr/bin/swig3.0 (found version "3.0.12") -- PYTHON2 attempting to build! CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message): Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): src/python/python2/CMakeLists.txt:9 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- PYTHON3 attempting to build! CMake Warning (dev) at /usr/share/cmake-3.13/Modules/UseSWIG.cmake:564 (message): Policy CMP0078 is not set. Run "cmake --help-policy CMP0078" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): src/python/python3/CMakeLists.txt:9 (swig_add_library) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY) -- Install Google Test to enable additional unit testing -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_TESTS -- Build files have been written to: /media/video/test/mraa-2.1.0/build.rednose django@django019:/media/video/test/mraa-2.1.0/build.rednose$ make Scanning dependencies of target mraa [ 2%] Building C object src/CMakeFiles/mraa.dir/mraa.c.o [ 5%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio.c.o [ 7%] Building C object src/CMakeFiles/mraa.dir/gpio/gpio_chardev.c.o [ 10%] Building C object src/CMakeFiles/mraa.dir/i2c/i2c.c.o [ 13%] Building C object src/CMakeFiles/mraa.dir/pwm/pwm.c.o [ 15%] Building C object src/CMakeFiles/mraa.dir/spi/spi.c.o [ 18%] Building C object src/CMakeFiles/mraa.dir/aio/aio.c.o [ 21%] Building C object src/CMakeFiles/mraa.dir/uart/uart.c.o [ 23%] Building C object src/CMakeFiles/mraa.dir/led/led.c.o /media/video/test/mraa-2.1.0/src/led/led.c: In function ‘mraa_led_init’: /media/video/test/mraa-2.1.0/src/led/led.c:148:59: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(dev->led_path, (const char*) directory, sizeof(directory)); ^ /media/video/test/mraa-2.1.0/src/led/led.c: In function ‘mraa_led_init_raw’: /media/video/test/mraa-2.1.0/src/led/led.c:179:59: warning: argument to ‘sizeof’ in ‘strncpy’ call is the same expression as the source; did you mean to use the size of the destination? [-Wsizeof-pointer-memaccess] strncpy(dev->led_path, (const char*) directory, sizeof(directory)); ^ /media/video/test/mraa-2.1.0/src/led/led.c: In function ‘mraa_led_get_trigfd’: /media/video/test/mraa-2.1.0/src/led/led.c:29:33: warning: ‘%s’ directive output may be truncated writing 7 bytes into a region of size between 0 and 63 [-Wformat-truncation=] snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "trigger"); ^~ ~~~~~~~~~ /media/video/test/mraa-2.1.0/src/led/led.c:29:5: note: ‘snprintf’ output between 9 and 72 bytes into a destination of size 64 snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "trigger"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/led/led.c: In function ‘mraa_led_get_brightfd’: /media/video/test/mraa-2.1.0/src/led/led.c:44:33: warning: ‘%s’ directive output may be truncated writing 10 bytes into a region of size between 0 and 63 [-Wformat-truncation=] snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "brightness"); ^~ ~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/led/led.c:44:5: note: ‘snprintf’ output between 12 and 75 bytes into a destination of size 64 snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "brightness"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/led/led.c: In function ‘mraa_led_get_maxbrightfd’: /media/video/test/mraa-2.1.0/src/led/led.c:59:33: warning: ‘%s’ directive output may be truncated writing 14 bytes into a region of size between 0 and 63 [-Wformat-truncation=] snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "max_brightness"); ^~ ~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/led/led.c:59:5: note: ‘snprintf’ output between 16 and 79 bytes into a destination of size 64 snprintf(buf, MAX_SIZE, "%s/%s", dev->led_path, "max_brightness"); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 26%] Building C object src/CMakeFiles/mraa.dir/initio/initio.c.o [ 28%] Building C object src/CMakeFiles/mraa.dir/grovepi/grovepi.c.o [ 31%] Building C object src/CMakeFiles/mraa.dir/uart_ow/uart_ow.c.o [ 34%] Building C object src/CMakeFiles/mraa.dir/iio/iio.c.o /media/video/test/mraa-2.1.0/src/iio/iio.c: In function ‘mraa_iio_get_channel_data’: /media/video/test/mraa-2.1.0/src/iio/iio.c:165:44: warning: format ‘%d’ expects a matching ‘int’ argument [-Wformat=] syslog(LOG_ERR, "iio: Channel %d with channel bytes value <= 0"); ~^ /media/video/test/mraa-2.1.0/src/iio/iio.c:23:26: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 71 and 81 [-Wformat-truncation=] #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE ^~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c:96:37: note: in expansion of macro ‘IIO_SYSFS_DEVICE’ snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c:595:80: note: format string is defined here snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~ /media/video/test/mraa-2.1.0/src/iio/iio.c:96:13: note: ‘snprintf’ output between 48 and 313 bytes into a destination of size 128 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c: In function ‘mraa_iio_get_event_data’: /media/video/test/mraa-2.1.0/src/iio/iio.c:23:26: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 78 and 88 [-Wformat-truncation=] #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE ^~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c:399:41: note: in expansion of macro ‘IIO_SYSFS_DEVICE’ snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c:21:31: note: format string is defined here #define IIO_SCAN_ELEM "scan_elements" ^~ /media/video/test/mraa-2.1.0/src/iio/iio.c:399:17: note: ‘snprintf’ output between 41 and 306 bytes into a destination of size 128 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_EVENTS "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c: In function ‘mraa_iio_update_channels’: /media/video/test/mraa-2.1.0/src/iio/iio.c:23:26: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 71 and 81 [-Wformat-truncation=] #define IIO_SYSFS_DEVICE "/sys/bus/iio/devices/" IIO_DEVICE ^~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c:595:41: note: in expansion of macro ‘IIO_SYSFS_DEVICE’ snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/iio/iio.c:595:80: note: format string is defined here snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~ /media/video/test/mraa-2.1.0/src/iio/iio.c:595:17: note: ‘snprintf’ output between 48 and 313 bytes into a destination of size 128 snprintf(buf, MAX_SIZE, IIO_SYSFS_DEVICE "%d/" IIO_SCAN_ELEM "/%s", dev->num, ent->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 36%] Building C object src/CMakeFiles/mraa.dir/arm/arm.c.o [ 39%] Building C object src/CMakeFiles/mraa.dir/arm/96boards.c.o [ 42%] Building C object src/CMakeFiles/mraa.dir/arm/raspberry_pi.c.o /media/video/test/mraa-2.1.0/src/arm/raspberry_pi.c: In function ‘mraa_raspberry_pi’: /media/video/test/mraa-2.1.0/src/arm/raspberry_pi.c:630:49: warning: ‘%s’ directive writing up to 255 bytes into a region of size 48 [-Wformat-overflow=] sprintf(chip_path, "/sys/class/gpio/%s/label", child->d_name); ^~ /media/video/test/mraa-2.1.0/src/arm/raspberry_pi.c:630:13: note: ‘sprintf’ output between 23 and 278 bytes into a destination of size 64 sprintf(chip_path, "/sys/class/gpio/%s/label", child->d_name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 44%] Building C object src/CMakeFiles/mraa.dir/arm/beaglebone.c.o /media/video/test/mraa-2.1.0/src/arm/beaglebone.c: In function ‘mraa_beaglebone’: /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:363:18: warning: variable ‘uart3_enabled’ set but not used [-Wunused-but-set-variable] unsigned int uart3_enabled = 0; ^~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/arm/beaglebone.c: In function ‘set_pin_mode’: /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:170:51: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 60 [-Wformat-truncation=] snprintf(pinmux_dir, sizeof(pinmux_dir), "ocp:%s_pinmux", pin_str); ^~ ~~~~~~~ /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:170:5: note: ‘snprintf’ output between 12 and 75 bytes into a destination of size 64 snprintf(pinmux_dir, sizeof(pinmux_dir), "ocp:%s_pinmux", pin_str); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:171:38: warning: ‘%s’ directive output may be truncated writing up to 63 bytes into a region of size 37 [-Wformat-truncation=] snprintf(path, sizeof(path), "%s/%s/state", PLATFORM_OCP_PATH, pinmux_dir); ^~ ~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:171:5: note: ‘snprintf’ output between 34 and 97 bytes into a destination of size 64 snprintf(path, sizeof(path), "%s/%s/state", PLATFORM_OCP_PATH, pinmux_dir); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/src/arm/beaglebone.c: In function ‘mraa_beaglebone_pwm_init_replace’: /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:323:32: warning: ‘/export’ directive writing 7 bytes into a region of size between 1 and 64 [-Wformat-overflow=] sprintf(exportpath, "%s/export", chippath); ^~~~~~~ /media/video/test/mraa-2.1.0/src/arm/beaglebone.c:323:9: note: ‘sprintf’ output between 8 and 71 bytes into a destination of size 64 sprintf(exportpath, "%s/export", chippath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 47%] Building C object src/CMakeFiles/mraa.dir/arm/phyboard.c.o [ 50%] Building C object src/CMakeFiles/mraa.dir/arm/banana.c.o [ 52%] Building C object src/CMakeFiles/mraa.dir/arm/de_nano_soc.c.o [ 55%] Building C object src/CMakeFiles/mraa.dir/arm/rockpi4.c.o [ 57%] Building C object src/CMakeFiles/mraa.dir/arm/adlink_ipi.c.o /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c: In function ‘gpio_init_pre’: /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:275:49: warning: ‘~’ on a boolean expression [-Wbool-operation] rx_tx_buf[1] &= ~(1 < (pin % 8)); ^ /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:275:49: note: did you mean to use logical not? rx_tx_buf[1] &= ~(1 < (pin % 8)); ^ ! /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:285:49: warning: ‘~’ on a boolean expression [-Wbool-operation] rx_tx_buf[1] &= ~(1 < (pin % 8)); ^ /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:285:49: note: did you mean to use logical not? rx_tx_buf[1] &= ~(1 < (pin % 8)); ^ ! /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c: In function ‘mraa_adlink_ipi’: /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:405:9: warning: variable ‘pwm1’ set but not used [-Wunused-but-set-variable] int pwm1 = -1; ^~~~ /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:404:9: warning: variable ‘pwm0’ set but not used [-Wunused-but-set-variable] int pwm0 = -1; ^~~~ At top level: /media/video/test/mraa-2.1.0/src/arm/adlink_ipi.c:54:1: warning: ‘mraa_pwm_setup_duty_fp’ defined but not used [-Wunused-function] mraa_pwm_setup_duty_fp(mraa_pwm_context dev) ^~~~~~~~~~~~~~~~~~~~~~ [ 60%] Building C object src/CMakeFiles/mraa.dir/version.c.o [ 63%] Linking C shared library libmraa.so [ 63%] Built target mraa Scanning dependencies of target python2-mraa_swig_compilation [ 65%] Swig compile mraa2.i for python [ 65%] Built target python2-mraa_swig_compilation Scanning dependencies of target _python2-mraa [ 68%] Building CXX object src/python/python2/CMakeFiles/_python2-mraa.dir/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx.o In file included from /media/video/test/mraa-2.1.0/build.rednose/src/python/python2/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp: In member function ‘mraa::Result mraa::Gpio::useMmap(bool)’: /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:319:77: warning: ‘mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)’ is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:29, from /media/video/test/mraa-2.1.0/build.rednose/src/python/python2/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.h:289:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ In file included from /media/video/test/mraa-2.1.0/build.rednose/src/python/python2/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:319:77: warning: ‘mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)’ is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:29, from /media/video/test/mraa-2.1.0/build.rednose/src/python/python2/CMakeFiles/_python2-mraa.dir/mraa2PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.h:289:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ [ 71%] Building C object src/python/python2/CMakeFiles/_python2-mraa.dir/__/mraapy.c.o [ 73%] Linking CXX shared module _mraa.so [ 73%] Built target _python2-mraa Scanning dependencies of target python3-mraa_swig_compilation [ 76%] Swig compile mraa3.i for python [ 76%] Built target python3-mraa_swig_compilation Scanning dependencies of target _python3-mraa [ 78%] Building CXX object src/python/python3/CMakeFiles/_python3-mraa.dir/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx.o In file included from /media/video/test/mraa-2.1.0/build.rednose/src/python/python3/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp: In member function ‘mraa::Result mraa::Gpio::useMmap(bool)’: /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:319:77: warning: ‘mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)’ is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:29, from /media/video/test/mraa-2.1.0/build.rednose/src/python/python3/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.h:289:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ In file included from /media/video/test/mraa-2.1.0/build.rednose/src/python/python3/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:319:77: warning: ‘mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context, mraa_boolean_t)’ is deprecated [-Wdeprecated-declarations] return (Result) mraa_gpio_use_mmaped(m_gpio, (mraa_boolean_t) enable); ^ In file included from /media/video/test/mraa-2.1.0/api/mraa/gpio.hpp:29, from /media/video/test/mraa-2.1.0/build.rednose/src/python/python3/CMakeFiles/_python3-mraa.dir/mraa3PYTHON_wrap.cxx:3434: /media/video/test/mraa-2.1.0/api/mraa/gpio.h:289:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ [ 81%] Building C object src/python/python3/CMakeFiles/_python3-mraa.dir/__/mraapy.c.o [ 84%] Linking CXX shared module _mraa.so [ 84%] Built target _python3-mraa Scanning dependencies of target mraa-gpio [ 86%] Building C object tools/CMakeFiles/mraa-gpio.dir/mraa-gpio.c.o /media/video/test/mraa-2.1.0/tools/mraa-gpio.c: In function ‘gpio_set’: /media/video/test/mraa-2.1.0/tools/mraa-gpio.c:99:13: warning: ‘mraa_gpio_use_mmaped’ is deprecated [-Wdeprecated-declarations] if (mraa_gpio_use_mmaped(gpio, 1) != MRAA_SUCCESS) { ^~ In file included from /media/video/test/mraa-2.1.0/tools/mraa-gpio.c:13: /media/video/test/mraa-2.1.0/api/mraa/gpio.h:289:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ /media/video/test/mraa-2.1.0/tools/mraa-gpio.c: In function ‘gpio_get’: /media/video/test/mraa-2.1.0/tools/mraa-gpio.c:117:13: warning: ‘mraa_gpio_use_mmaped’ is deprecated [-Wdeprecated-declarations] if (mraa_gpio_use_mmaped(gpio, 1) != MRAA_SUCCESS) { ^~ In file included from /media/video/test/mraa-2.1.0/tools/mraa-gpio.c:13: /media/video/test/mraa-2.1.0/api/mraa/gpio.h:289:26: note: declared here DEPRECATED mraa_result_t mraa_gpio_use_mmaped(mraa_gpio_context dev, mraa_boolean_t mmap); ^~~~~~~~~~~~~~~~~~~~ [ 89%] Linking C executable mraa-gpio [ 89%] Built target mraa-gpio Scanning dependencies of target mraa-uart [ 92%] Building C object tools/CMakeFiles/mraa-uart.dir/mraa-uart.c.o [ 94%] Linking C executable mraa-uart [ 94%] Built target mraa-uart Scanning dependencies of target mraa-i2c [ 97%] Building C object tools/CMakeFiles/mraa-i2c.dir/mraa-i2c.c.o [100%] Linking C executable mraa-i2c [100%] Built target mraa-i2c