Bonjour
Désolé mais je manque de temps en ce moment
Il existe d’autre sujet qui traite de se soucis et c’est lier a la compilation de motion sur raspberry
gcc -DHAVE_CONFIG_H -I. -I… -Dsysconfdir="/usr/local/etc/motion" -DLOCALEDIR="/usr/local/share/locale" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -Irasppicam -I/usr/include/aarch64-linux-gnu -g -O2 -MT mmalcam.o -MD -MP -MF $depbase.Tpo -c -o mmalcam.o mmalcam.c &&
mv -f $depbase.Tpo $depbase.Po
mmalcam.c:21:10: fatal error: interface/mmal/mmal.h: No such file or directory
J’ai contacté les dev du logiciel mais j’arrive pas a avancer sur la problématique
Pour te débloqer une solution de contournement pas tres propre car c’est une version differente de celle compiler est d’installer le packet deja compilé en se connectant en ssh
sudo apt intall motion
Edit
J’ai rouvert un ticket sur le github de motion
ouvert 11:53AM - 16 Apr 21 UTC
fermé 07:06AM - 21 May 21 UTC
0. Reviewed guide and contributing documents? (Yes/No):
1. version 4.3 branch
… 2. installed as a package or compiled from sources git
3. standalone or part of third party motion
4. video stream source [V4L (card or USB), net cam (mjpeg, rtsp, other), mmal]:
5. hardware ARM aarch64
6. operating system rasbian buster:
Hi
Can you help me to resolve this comilation error
```
gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -Irasppicam -I/usr/include/aarch64-linux-gnu -g -O2 -MT mmalcam.o -MD -MP -MF $depbase.Tpo -c -o mmalcam.o mmalcam.c &&\
mv -f $depbase.Tpo $depbase.Po
mmalcam.c:21:10: fatal error: interface/mmal/mmal.h: No such file or directory
#include "interface/mmal/mmal.h"
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:471: mmalcam.o] Error 1
make[2]: Leaving directory '/usr/local/src/motion/src'
make[1]: *** [Makefile:553: all-recursive] Error 1
make[1]: Leaving directory '/usr/local/src/motion'
make: *** [Makefile:397: all] Error 2
Making install in src
make[1]: Entering directory '/usr/local/src/motion/src'
depbase=`echo mmalcam.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
gcc -DHAVE_CONFIG_H -I. -I.. -Dsysconfdir=\"/usr/local/etc/motion\" -DLOCALEDIR=\"/usr/local/share/locale\" -D_THREAD_SAFE -I/usr/include/p11-kit-1 -Irasppicam -I/usr/include/aarch64-linux-gnu -g -O2 -MT mmalcam.o -MD -MP -MF $depbase.Tpo -c -o mmalcam.o mmalcam.c &&\
mv -f $depbase.Tpo $depbase.Po
mmalcam.c:21:10: fatal error: interface/mmal/mmal.h: No such file or directory
#include "interface/mmal/mmal.h"
^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:471: mmalcam.o] Error 1
```