Страница 1 из 1
проблемы при установке motion
Добавлено: 2012-02-09 14:09:11
vityok
Помоги с установкой motion.
На днях нашел статью в которой рассказывается как установить motion, ffmpeg,etc на FREEBSD, однако при установки выдает такую ошибку. Пробовал установить sdl12 из портов - ставиться без ошибок, graphviz -тоже.
Что делать не знаю.
Re: проблемы при установке motion
Добавлено: 2012-03-21 16:23:07
Alex Keda
Re: проблемы при установке motion
Добавлено: 2012-09-06 13:20:52
MishLen
такая проблема при установке:
Код: Выделить всё
===> Building for motion-3.2.12
Welcome to the setup procedure for Motion, the motion detection daemon! If you get
error messages during this procedure, please report them to the mailing list. The
Generating dependencies, please wait...
Motion Guide contains all information you should need to get Motion up and running.
Run "make updateguide" to download the latest version of the Motion Guide.
Version: 3.2.12
Platform: Linux (if this is incorrect, please read README.FreeBSD)
Compiling Motion object files...
--------------------------------------------------------------------------------
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o motion.o motion.c
In file included from ffmpeg.h:10,
from motion.c:9:
/usr/local/include/ffmpeg/avformat.h:158: warning: 'AVMetadata' is deprecated
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from motion.c:15:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from motion.c:10:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from motion.c:15:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from motion.c:10:
track.h:129:1: warning: this is the location of the previous definition
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o conf.o conf.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o draw.o draw.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o jpegutils.o jpegutils.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o video.o video.c
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video.c:13:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video.c:12:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video.c:13:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video.c:12:
track.h:129:1: warning: this is the location of the previous definition
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o video2.o video2.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o video_common.o video_common.c
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video2.c:54:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from video2.c:52:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video2.c:54:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from video2.c:52:
track.h:129:1: warning: this is the location of the previous definition
video2.c: In function 'v4l2_set_pix_format':
video2.c:378: warning: comparison is always true due to limited range of data type
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video_common.c:14:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video_common.c:13:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video_common.c:14:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video_common.c:13:
track.h:129:1: warning: this is the location of the previous definition
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam.o netcam.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam_ftp.o netcam_ftp.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam_jpeg.o netcam_jpeg.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam_wget.o netcam_wget.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o track.o track.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o alg.o alg.c
track.c: In function 'uvc_center':
track.c:587: error: storage size of 'control_s' isn't known
track.c:589: error: 'V4L2_CID_PRIVATE_BASE' undeclared (first use in this function)
track.c:589: error: (Each undeclared identifier is reported only once
track.c:589: error: for each function it appears in.)
track.c:592: error: 'VIDIOC_S_CTRL' undeclared (first use in this function)
track.c:601: error: storage size of 'queryctrl' isn't known
track.c:605: error: 'VIDIOC_QUERYCTRL' undeclared (first use in this function)
track.c:601: warning: unused variable 'queryctrl'
track.c:587: warning: unused variable 'control_s'
track.c:636: error: storage size of 'control_s' isn't known
track.c:636: warning: unused variable 'control_s'
track.c: In function 'uvc_move':
track.c:724: error: storage size of 'control_s' isn't known
track.c:726: error: 'V4L2_CID_PRIVATE_BASE' undeclared (first use in this function)
track.c:729: error: 'VIDIOC_S_CTRL' undeclared (first use in this function)
track.c:724: warning: unused variable 'control_s'
track.c:779: error: storage size of 'control_s' isn't known
track.c:779: warning: unused variable 'control_s'
gmake: *** [track.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1
Stop in /usr/ports/multimedia/motion.
*** Error code 1
Stop in /usr/ports/multimedia/motion.
кто-нибудь поможет исправить? freebsd x86, 8.2
Re: проблемы при установке motion
Добавлено: 2013-01-11 1:18:50
zymophore
MishLen писал(а):такая проблема при установке:
Код: Выделить всё
===> Building for motion-3.2.12
Welcome to the setup procedure for Motion, the motion detection daemon! If you get
error messages during this procedure, please report them to the mailing list. The
Generating dependencies, please wait...
Motion Guide contains all information you should need to get Motion up and running.
Run "make updateguide" to download the latest version of the Motion Guide.
Version: 3.2.12
Platform: Linux (if this is incorrect, please read README.FreeBSD)
Compiling Motion object files...
--------------------------------------------------------------------------------
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o motion.o motion.c
In file included from ffmpeg.h:10,
from motion.c:9:
/usr/local/include/ffmpeg/avformat.h:158: warning: 'AVMetadata' is deprecated
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from motion.c:15:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from motion.c:10:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from motion.c:15:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from motion.c:10:
track.h:129:1: warning: this is the location of the previous definition
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o conf.o conf.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o draw.o draw.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o jpegutils.o jpegutils.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o video.o video.c
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video.c:13:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video.c:12:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video.c:13:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video.c:12:
track.h:129:1: warning: this is the location of the previous definition
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o video2.o video2.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o video_common.o video_common.c
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video2.c:54:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from video2.c:52:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video2.c:54:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from video2.c:52:
track.h:129:1: warning: this is the location of the previous definition
video2.c: In function 'v4l2_set_pix_format':
video2.c:378: warning: comparison is always true due to limited range of data type
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video_common.c:14:
/usr/local/include/linux/videodev2.h:1699:1: warning: "V4L2_CID_PAN_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video_common.c:13:
track.h:125:1: warning: this is the location of the previous definition
In file included from /usr/local/include/linux/videodev.h:17,
from video.h:15,
from video_common.c:14:
/usr/local/include/linux/videodev2.h:1700:1: warning: "V4L2_CID_TILT_RELATIVE" redefined
In file included from motion.h:193,
from rotate.h:14,
from video_common.c:13:
track.h:129:1: warning: this is the location of the previous definition
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam.o netcam.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam_ftp.o netcam_ftp.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam_jpeg.o netcam_jpeg.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o netcam_wget.o netcam_wget.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o track.o track.c
cc -O2 -pipe -fno-strict-aliasing -I/usr/local/include -DPWCBSD -O2 -pipe -fno-strict-aliasing -D_REENTRANT -D_THREAD_SAFE -DHAVE_FFMPEG -I/usr/local/include/ffmpeg -DHAVE_FFMPEG_NEW -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\" -I/usr/local/include -c -o alg.o alg.c
track.c: In function 'uvc_center':
track.c:587: error: storage size of 'control_s' isn't known
track.c:589: error: 'V4L2_CID_PRIVATE_BASE' undeclared (first use in this function)
track.c:589: error: (Each undeclared identifier is reported only once
track.c:589: error: for each function it appears in.)
track.c:592: error: 'VIDIOC_S_CTRL' undeclared (first use in this function)
track.c:601: error: storage size of 'queryctrl' isn't known
track.c:605: error: 'VIDIOC_QUERYCTRL' undeclared (first use in this function)
track.c:601: warning: unused variable 'queryctrl'
track.c:587: warning: unused variable 'control_s'
track.c:636: error: storage size of 'control_s' isn't known
track.c:636: warning: unused variable 'control_s'
track.c: In function 'uvc_move':
track.c:724: error: storage size of 'control_s' isn't known
track.c:726: error: 'V4L2_CID_PRIVATE_BASE' undeclared (first use in this function)
track.c:729: error: 'VIDIOC_S_CTRL' undeclared (first use in this function)
track.c:724: warning: unused variable 'control_s'
track.c:779: error: storage size of 'control_s' isn't known
track.c:779: warning: unused variable 'control_s'
gmake: *** [track.o] Error 1
gmake: *** Waiting for unfinished jobs....
*** Error code 1
Stop in /usr/ports/multimedia/motion.
*** Error code 1
Stop in /usr/ports/multimedia/motion.
кто-нибудь поможет исправить? freebsd x86, 8.2
Добрый день...
В этой ситуации мне помогло удаление флага -DMOTION_V4L2 вручную из файла /usr/ports/multimedia/motion/work/motion-3.2.12/Makefile, строка начинается "CFLAGS = -O2 -pipe" и т.д. Процедура выполняется сразу после того как процесс сборки завершился ошибкой, потом снова запускаете make. Команду make clean делать тут не следует иначе configure снова создаст файл с этим флагом.
Если кто-то лучше понимает процесс сборки то флаг можно удалить в другом месте, главное чтобы при компиляции он не появился.
Разумеется есть ограничения: теряется функционал связанный с v4l2, однако, у меня камера v4l1, драйвер pwcbsd и все работает хорошо.
Мне попадалось другое решение. Кто-то советовал удалить все библиотеки из списка "pkg_info|grep v4l" но сеё делу не помогло...
Удачи...