tce-load -i compiletc automake libtool-dev intltool gettext-dev ffmpeg-dev libmicrohttpd-dev rpi-vc-dev https://github.com/Motion-Project/motion/archive/release-4.3.1.tar.gz cd motion-release-4.3.1 autoreconf -fiv CC="gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe" CXX="g++ -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -fno-exceptions -fno-rtti" ./configure --prefix=/usr/local --localstatedir=/var [--without-mmal] find . -name Makefile -type f -exec sed -i 's/-g -O2//g' {} \; make [0m 48.66s] sudo make install ************************** Configure status motion 4.3.1 ************************** CFLAGS: -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -Irasppicam -I/opt/vc/include -I/usr/local/include -I/usr/local/include -g -O2 LIBS: -pthread -L/usr/local/lib -ljpeg -L/usr/local/lib -lmicrohttpd -L/usr/local/lib -lwebpmux -lwebp -L/opt/vc/lib -lmmal -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host -lvcsm -lvcos -lvchostif -L/usr/local/lib -lavutil -lavformat -lavcodec -lswscale -lavdevice -L/usr/local/lib -lsqlite3 LDFLAGS: OS : linux-gnueabihf pthread_np : no pthread_setname_np : yes pthread_getname_np : yes XSI error : no webp support : yes V4L2 support : yes BKTR support : no MMAL support : yes FFmpeg support : yes libavformat version : 58.29.100 SQLite3 support : yes MYSQL support : no PostgreSQL support : no MariaDB support : no $ motion -n ... [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: ./0-01-20200603104552.mkv [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 1 [1:ml1] [NTC] [ALL] mlp_actions: End of event 1 [1:ml1] [NTC] [EVT] event_newfile: File of type 8 saved to: ./0-02-20200603104724.mkv [1:ml1] [NTC] [ALL] motion_detected: Motion detected - starting event 2 [1:ml1] [NTC] [ALL] mlp_actions: End of event 2 gcc -march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp -Os -pipe -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include -I/usr/local/include/p11-kit-1 -I/usr/local/include -Irasppicam -I/opt/vc/include -I/usr/local/include -I/usr/local/include -MT raspicam/RaspiCamControl.o -MD -MP -MF $depbase.Tpo -c -o raspicam/RaspiCamControl.o raspicam/RaspiCamControl.c &&\ mv -f $depbase.Tpo $depbase.Po raspicam/RaspiCamControl.c:102:22: error: 'MMAL_PARAM_AWBMODE_GREYWORLD' undeclared here (not in a function); did you mean 'MMAL_PARAM_AWBMODE_HORIZON'? 102 | {"greyworld", MMAL_PARAM_AWBMODE_GREYWORLD} | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ | MMAL_PARAM_AWBMODE_HORIZON make[2]: *** [Makefile:470: raspicam/RaspiCamControl.o] Error 1 make[2]: Leaving directory '/usr/src/motion-release-4.3.1/src' make[1]: *** [Makefile:552: all-recursive] Error 1 make[1]: Leaving directory '/usr/src/motion-release-4.3.1' make: *** [Makefile:396: all] Error 2 Command exited with non-zero status 2