проблемы при установке motion

Проблемы с установкой, настройкой и работой системных и сетевых программ.

Модераторы: GRooVE, alexco

Правила форума
Убедительная просьба юзать теги [code] при оформлении листингов.
Сообщения не оформленные должным образом имеют все шансы быть незамеченными.
vityok
проходил мимо

проблемы при установке motion

Непрочитанное сообщение vityok » 2012-02-09 14:09:11

Помоги с установкой motion.
На днях нашел статью в которой рассказывается как установить motion, ffmpeg,etc на FREEBSD, однако при установки выдает такую ошибку. Пробовал установить sdl12 из портов - ставиться без ошибок, graphviz -тоже.
Что делать не знаю.
Вложения
error.jpg
ошибка при установке

Хостинговая компания Host-Food.ru
Хостинг HostFood.ru
 

Услуги хостинговой компании Host-Food.ru

Хостинг HostFood.ru

Тарифы на хостинг в России, от 12 рублей: https://www.host-food.ru/tariffs/hosting/
Тарифы на виртуальные сервера (VPS/VDS/KVM) в РФ, от 189 руб.: https://www.host-food.ru/tariffs/virtualny-server-vps/
Выделенные сервера, Россия, Москва, от 2000 рублей (HP Proliant G5, Intel Xeon E5430 (2.66GHz, Quad-Core, 12Mb), 8Gb RAM, 2x300Gb SAS HDD, P400i, 512Mb, BBU):
https://www.host-food.ru/tariffs/vydelennyi-server-ds/
Недорогие домены в популярных зонах: https://www.host-food.ru/domains/

Аватара пользователя
Alex Keda
стреляли...
Сообщения: 35461
Зарегистрирован: 2004-10-18 14:25:19
Откуда: Made in USSR
Контактная информация:

Re: проблемы при установке motion

Непрочитанное сообщение Alex Keda » 2012-03-21 16:23:07

Код: Выделить всё

make clean install clean
Убей их всех! Бог потом рассортирует...

MishLen
проходил мимо
Сообщения: 4
Зарегистрирован: 2012-08-25 9:07:26

Re: проблемы при установке motion

Непрочитанное сообщение MishLen » 2012-09-06 13:20:52

такая проблема при установке:

Код: Выделить всё

===>  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

zymophore
проходил мимо

Re: проблемы при установке motion

Непрочитанное сообщение zymophore » 2013-01-11 1:18:50

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" но сеё делу не помогло...

Удачи...