Motion - Bug Report 2012x 09x 08x 203013

BUG: Cannot compile any version.

Well, just try to run motion, but failed. Tested: 1) 3.2.12 source 2) daily snapshot motion-20120605-224837 3) SVN version HELP smile
3.2.12 source:

./configure
checking for Darwin... no
checking for *BSD... no
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking threads... yes
checking for libjpeg-mmx... skipping
checking for libjpeg...
checking for jpeg_set_defaults in -ljpeg... yes
checking for ffmpeg autodetecting... found in /usr/lib
checking for ffmpeg headers in /usr... found /usr/include/libavformat/avformat.h
checking file_protocol is defined in ffmpeg ?... no
checking for mysql support... testing
checking autodect mysql headers... yes
checking autodect mysql libs... /usr/lib
checking for mysql_init in -lmysqlclient... yes
checking for PostgreSQL... testing
checking autodect pgsql headers... yes /usr/include
checking autodect pgsql libs... /usr/lib
checking for PQconnectStart in -lpq... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for get_current_dir_name... yes
checking for struct v4l2_buffer... yes
checking for V42L support... yes
checking size of short... 2
checking size of int... 4
checking size of long int... 4
checking size of long long... 8
checking size of int *... 4
checking size of void *... 4
checking for an ANSI C-conforming const... yes
Detected CPU: AMD Athlon(tm) Processor
CPU optimization: -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow
checking for bswap instruction... yes
configure: creating ./config.status
config.status: creating thread1.conf
config.status: creating thread2.conf
config.status: creating thread3.conf
config.status: creating thread4.conf
config.status: creating motion-dist.conf
config.status: creating motion.init-FreeBSD.sh
config.status: creating motion.init-Debian
config.status: creating motion.init-Fedora
config.status: creating motion.spec
config.status: creating Makefile
config.status: creating config.h

   *******************************
      Configure status
      motion 3.2.12
   *******************************

OS             :     Linux
pthread Support:     Yes
jpeg Support:        Yes
V4L included:        Yes
V4L2 supported:      Yes
FFmpeg Support:      Yes
MYSQL Support:       Yes
PostgreSQL Support:  Yes

CFLAGS:  -g -O2 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow
LIBS: -lm  -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lavutil -lm -lz -L/usr/lib -lmysqlclient -lz -L/usr/lib -lpq
LDFLAGS:   -L/usr/lib

Install prefix:       /usr/local

# make
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
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)

Generating dependencies, please wait...

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"3.2.12\" -Dsysconfdir=\"/usr/local/etc\"    -c -o motion.o motion.c
motion.c: In function 'motion_init':
motion.c:585:26: error: 'VIDEO_PALETTE_YUV420P' undeclared (first use in this function)
motion.c:585:26: note: each undeclared identifier is reported only once for each function it appears in
make: *** [motion.o] Error

//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
snapshot:

./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for Darwin... no
checking for *BSD... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking threads... yes
checking for sdl... yes
checking for libjpeg-turbo... skipping
checking for libjpeg-mmx... skipping
checking for jpeg_set_defaults in -ljpeg... yes
checking for ffmpeg autodetecting libraries... found in /usr/lib
checking for ffmpeg headers in /usr... found /usr/include/libavformat/avformat.h
checking file_protocol is defined in ffmpeg ?... no
checking for sqlite3_open in -lsqlite3... no
checking for mysql support... testing
checking autodect mysql headers... /usr/include/mysql yes
checking autodect mysql libs... /usr/lib
checking for mysql_init in -lmysqlclient... yes
checking for PostgreSQL... testing
checking autodect pgsql headers... yes /usr/include
checking autodect pgsql libs... /usr/lib
checking for PQconnectStart in -lpq... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for get_current_dir_name... yes
checking for struct v4l2_buffer... yes
checking for V42L support... yes
checking size of short... 2
checking size of int... 4
checking size of long int... 4
checking size of long long... 8
checking size of int *... 4
checking size of void *... 4
checking for an ANSI C-conforming const... yes
Detected CPU: AMD Athlon(tm) Processor
CPU optimization: -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow
checking for bswap instruction... yes
checking for avformat_alloc_context... yes
checking for av_avformat_alloc_context... no
checking for av_register_protocol2... yes
checking for av_register_protocol... no
configure: creating ./config.status
config.status: creating thread1.conf
config.status: creating thread2.conf
config.status: creating thread3.conf
config.status: creating thread4.conf
config.status: creating motion-dist.conf
config.status: creating motion.init-FreeBSD.sh
config.status: creating motion.init-Debian
config.status: creating motion.init-Fedora
config.status: creating motion.spec
config.status: creating Makefile
config.status: creating config.h

   **************************
      Configure status
      motion trunkREV554
   **************************

OS             :     Linux
pthread support:     Yes
jpeg support:        Yes
V4L support:         Yes
V4L2 support:        Yes
SDL support:         Yes
FFmpeg support:      Yes
SQLite3 support:     No
MYSQL support:       Yes
PostgreSQL support:  Yes

CFLAGS:  -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow
LIBS: -lm  -lpthread -lSDL -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lavutil -lm -lz -L/usr/lib -lmysqlclient -lz -L/usr/lib -lpq
LDFLAGS:   -L/usr/lib

Install prefix:       /usr/local

# make
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
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: trunkREV554
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Generating dependencies, please wait...

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV554\" -Dsysconfdir=\"/usr/local/etc\"    -c -o motion.o motion.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV554\" -Dsysconfdir=\"/usr/local/etc\"    -c -o logger.o logger.c
logger.c: In function 'motion_log':
logger.c:232:2: warning: #warning "************************************" [-Wcpp]
logger.c:233:2: warning: #warning "* Using GNU-COMPLIANT strerror_r() *" [-Wcpp]
logger.c:234:2: warning: #warning "************************************" [-Wcpp]
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV554\" -Dsysconfdir=\"/usr/local/etc\"    -c -o conf.o conf.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV554\" -Dsysconfdir=\"/usr/local/etc\"    -c -o draw.o draw.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV554\" -Dsysconfdir=\"/usr/local/etc\"    -c -o jpegutils.o jpegutils.c
jpegutils.c: In function 'decode_jpeg_gray_raw':
jpegutils.c:773:20: warning: variable 'hsf' set but not used [-Wunused-but-set-variable]
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV554\" -Dsysconfdir=\"/usr/local/etc\"    -c -o vloopback_motion.o vloopback_motion.c
vloopback_motion.c: In function 'v4l_open_vidpipe':
vloopback_motion.c:48:15: warning: variable 'ostatus' set but not used [-Wunused-but-set-variable]
vloopback_motion.c:44:15: warning: variable 'loop' set but not used [-Wunused-but-set-variable]
vloopback_motion.c: In function 'v4l_startpipe':
vloopback_motion.c:185:26: error: storage size of 'vid_pic' isn't known
vloopback_motion.c:186:25: error: storage size of 'vid_win' isn't known
vloopback_motion.c:202:20: error: 'VIDIOCGPICT' undeclared (first use in this function)
vloopback_motion.c:202:20: note: each undeclared identifier is reported only once for each function it appears in
vloopback_motion.c:209:20: error: 'VIDIOCSPICT' undeclared (first use in this function)
vloopback_motion.c:214:20: error: 'VIDIOCGWIN' undeclared (first use in this function)
vloopback_motion.c:222:20: error: 'VIDIOCSWIN' undeclared (first use in this function)
vloopback_motion.c:186:25: warning: unused variable 'vid_win' [-Wunused-variable]
vloopback_motion.c:185:26: warning: unused variable 'vid_pic' [-Wunused-variable]
make: *** [vloopback_motion.o] Error 1

\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\
svn:

./configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for Darwin... no
checking for *BSD... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking threads... yes
checking for sdl... yes
checking for libjpeg-turbo... skipping
checking for libjpeg-mmx... skipping
checking for jpeg_set_defaults in -ljpeg... yes
checking for ffmpeg autodetecting libraries... found in /usr/lib
checking for ffmpeg headers in /usr... found /usr/include/libavformat/avformat.h
checking file_protocol is defined in ffmpeg ?... no
checking for sqlite3_open in -lsqlite3... no
checking for mysql support... testing
checking autodect mysql headers... /usr/include/mysql yes
checking autodect mysql libs... /usr/lib
checking for mysql_init in -lmysqlclient... yes
checking for PostgreSQL... testing
checking autodect pgsql headers... yes /usr/include
checking autodect pgsql libs... /usr/lib
checking for PQconnectStart in -lpq... yes
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking for stdint.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking linux/videodev.h usability... yes
checking linux/videodev.h presence... yes
checking for linux/videodev.h... yes
checking linux/videodev2.h usability... yes
checking linux/videodev2.h presence... yes
checking for linux/videodev2.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for get_current_dir_name... yes
checking for struct v4l2_buffer... yes
checking for V42L support... yes
checking size of short... 2
checking size of int... 4
checking size of long int... 4
checking size of long long... 8
checking size of int *... 4
checking size of void *... 4
checking for an ANSI C-conforming const... yes
Detected CPU: AMD Athlon(tm) Processor
CPU optimization: -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow
checking for bswap instruction... yes
checking for avformat_alloc_context... yes
checking for av_avformat_alloc_context... no
checking for av_register_protocol2... yes
checking for av_register_protocol... no
configure: creating ./config.status
config.status: creating thread1.conf
config.status: creating thread2.conf
config.status: creating thread3.conf
config.status: creating thread4.conf
config.status: creating motion-dist.conf
config.status: creating motion.init-FreeBSD.sh
config.status: creating motion.init-Debian
config.status: creating motion.init-Fedora
config.status: creating motion.spec
config.status: creating Makefile
config.status: creating config.h

   **************************
      Configure status
      motion trunkREV557
   **************************

OS             :     Linux
pthread support:     Yes
jpeg support:        Yes
V4L support:         Yes
V4L2 support:        Yes
SDL support:         Yes
FFmpeg support:      Yes
SQLite3 support:     No
MYSQL support:       Yes
PostgreSQL support:  Yes

CFLAGS:  -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow
LIBS: -lm  -lpthread -lSDL -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lavutil -lm -lz -L/usr/lib -lmysqlclient -lz -L/usr/lib -lpq
LDFLAGS:   -L/usr/lib

Install prefix:       /usr/local

# make
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
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: trunkREV557
Platform: Linux (if this is incorrect, please read README.FreeBSD)

Generating dependencies, please wait...

Compiling Motion object files...
--------------------------------------------------------------------------------
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV557\" -Dsysconfdir=\"/usr/local/etc\"    -c -o motion.o motion.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV557\" -Dsysconfdir=\"/usr/local/etc\"    -c -o logger.o logger.c
logger.c: In function 'motion_log':
logger.c:232:2: warning: #warning "************************************" [-Wcpp]
logger.c:233:2: warning: #warning "* Using GNU-COMPLIANT strerror_r() *" [-Wcpp]
logger.c:234:2: warning: #warning "************************************" [-Wcpp]
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV557\" -Dsysconfdir=\"/usr/local/etc\"    -c -o conf.o conf.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV557\" -Dsysconfdir=\"/usr/local/etc\"    -c -o draw.o draw.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV557\" -Dsysconfdir=\"/usr/local/etc\"    -c -o jpegutils.o jpegutils.c
jpegutils.c: In function 'decode_jpeg_gray_raw':
jpegutils.c:773:20: warning: variable 'hsf' set but not used [-Wunused-but-set-variable]
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_FFMPEG -I/usr/include -DFFMPEG_NEW_INCLUDES -DHAVE_FFMPEG_NEW -I/usr/include/mysql -I/usr/include -DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=athlon -mfpmath=sse -msse  -mmmx -m3dnow -Wall -DVERSION=\"trunkREV557\" -Dsysconfdir=\"/usr/local/etc\"    -c -o vloopback_motion.o vloopback_motion.c
vloopback_motion.c: In function 'v4l_open_vidpipe':
vloopback_motion.c:48:15: warning: variable 'ostatus' set but not used [-Wunused-but-set-variable]
vloopback_motion.c:44:15: warning: variable 'loop' set but not used [-Wunused-but-set-variable]
vloopback_motion.c: In function 'v4l_startpipe':
vloopback_motion.c:185:26: error: storage size of 'vid_pic' isn't known
vloopback_motion.c:186:25: error: storage size of 'vid_win' isn't known
vloopback_motion.c:202:20: error: 'VIDIOCGPICT' undeclared (first use in this function)
vloopback_motion.c:202:20: note: each undeclared identifier is reported only once for each function it appears in
vloopback_motion.c:209:20: error: 'VIDIOCSPICT' undeclared (first use in this function)
vloopback_motion.c:214:20: error: 'VIDIOCGWIN' undeclared (first use in this function)
vloopback_motion.c:222:20: error: 'VIDIOCSWIN' undeclared (first use in this function)
vloopback_motion.c:186:25: warning: unused variable 'vid_win' [-Wunused-variable]
vloopback_motion.c:185:26: warning: unused variable 'vid_pic' [-Wunused-variable]
make: *** [vloopback_motion.o] Error 1

Environment

Motion version: 3.2.12
ffmpeg version: 0.10.3
Shared libraries: ffmpeg, mysql, postgresql
Server OS: Linux 3.4.10 #6 Sat Sep 8 18:57:38 CEST 2012 i686 AMD_Athlon(tm)_Processor PLD Linux
-- AndAnd - 08 Sep 2012

Follow up

Fix record

Topic revision: r1 - 08 Sep 2012, AndAnd
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.