Send Motion-user mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: rtsp stream (Mariusz Ciszewski)
   2. Re: rtsp stream (Ole Andreas Gl?ersen)
   3. Motion with rtsp support on CentOS (Ole Andreas Gl?ersen)


----------------------------------------------------------------------

Message: 1
Date: Fri, 2 Oct 2015 12:34:57 +0200
From: Mariusz Ciszewski <[email protected]>
Subject: Re: [Motion-user] rtsp stream
To: Motion discussion list <[email protected]>
Message-ID:
        <CAOpAQyKb1kXH+Ot+UhBU6JJJYbiBLV68EO5AdAV7Ln4A=zo...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Just read logs... ->
http://forum.r-pi.pl/kamera/kto-pomo-skompilowa-motion-t150609.html

root@raspberrypi:~# apt-get install dh-autoreconf
root@raspberrypi:~# cd /root/motion
root@raspberrypi:~/motion# autoreconf

and then...

root@raspberrypi:~/motion# ./configure

2015-10-02 11:39 GMT+02:00 tosiara <[email protected]>:

> Try this:
>
> cd motion
> autoreconf -fiv
> ./configure
> make
>
> On Fri, Oct 2, 2015 at 12:33 PM, Ole Andreas Gl?ersen <
> [email protected]> wrote:
>
>> Or other build instruction in English?
>>
>>
>> 2015-10-02 11:32 GMT+02:00 Ole Andreas Gl?ersen <
>> [email protected]>:
>>
>>> I found this:
>>>
>>> *https://tyrolite.wordpress.com/2015/03/07/building-motion-with-ffmpeg-and-rtsp-support/
>>> <https://tyrolite.wordpress.com/2015/03/07/building-motion-with-ffmpeg-and-rtsp-support/>*
>>>
>>> Did not accept *sudo make install && ldconfig* had to change to *sudo
>>> make install && sudo ldconfig*
>>>
>>>
>>> All OK down to:
>>>
>>> *cd motion*
>>>
>>> When I type ./configure I got "problem":
>>>
>>> pi@orangepi ~/motion $ ./configure
>>>> -bash: ./configure: No such file or directory
>>>
>>>
>>> Any tip?
>>>
>>>
>>>
>>> 2015-10-01 22:29 GMT+02:00 Ole Andreas Gl?ersen <
>>> [email protected]>:
>>>
>>>> Guide.... got it when I wrote....
>>>>
>>>> 2015-10-01 22:19 GMT+02:00 Ole Andreas Gl?ersen <
>>>> [email protected]>:
>>>>
>>>>> Any guide for install that?
>>>>>
>>>>> I used before:
>>>>> sudo apt-get install motion
>>>>> 1. okt. 2015 10.16 p.m. skrev "tosiara" <[email protected]>:
>>>>>
>>>>>> Yes. Take latest motion from Mr-Dave fork:
>>>>>> https://github.com/Mr-Dave/motion
>>>>>>
>>>>>> On Thu, Oct 1, 2015 at 11:06 PM, Ole Andreas Gl?ersen <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Can motion detect rtsp streams (Have testet the camera in VLC and
>>>>>>> that works)?
>>>>>>>
>>>>>>> rtsp://
>>>>>>> 10.0.0.184:554/user=USERNAME&password=PASSWD&channel=1&stream=1.sdp/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Motion-user mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>>>>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> Motion-user mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>>>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>>>>
>>>>>>
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Fri, 2 Oct 2015 20:43:05 +0200
From: Ole Andreas Gl?ersen <[email protected]>
Subject: Re: [Motion-user] rtsp stream
To: Motion discussion list <[email protected]>
Message-ID:
        <CAE+3Hzb4X34uLW83F1p=8umi0o349jgjaas0iufa2oxou7_...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Thanks. Finally I got it to work.

This way I can't restart it as darmon as I did with the original
installation (sudo apt-get install motion).

Any way do fix this without a lot of work.......?




2015-10-02 11:39 GMT+02:00 tosiara <[email protected]>:

> Try this:
>
> cd motion
> autoreconf -fiv
> ./configure
> make
>
> On Fri, Oct 2, 2015 at 12:33 PM, Ole Andreas Gl?ersen <
> [email protected]> wrote:
>
>> Or other build instruction in English?
>>
>>
>> 2015-10-02 11:32 GMT+02:00 Ole Andreas Gl?ersen <
>> [email protected]>:
>>
>>> I found this:
>>>
>>> *https://tyrolite.wordpress.com/2015/03/07/building-motion-with-ffmpeg-and-rtsp-support/
>>> <https://tyrolite.wordpress.com/2015/03/07/building-motion-with-ffmpeg-and-rtsp-support/>*
>>>
>>> Did not accept *sudo make install && ldconfig* had to change to *sudo
>>> make install && sudo ldconfig*
>>>
>>>
>>> All OK down to:
>>>
>>> *cd motion*
>>>
>>> When I type ./configure I got "problem":
>>>
>>> pi@orangepi ~/motion $ ./configure
>>>> -bash: ./configure: No such file or directory
>>>
>>>
>>> Any tip?
>>>
>>>
>>>
>>> 2015-10-01 22:29 GMT+02:00 Ole Andreas Gl?ersen <
>>> [email protected]>:
>>>
>>>> Guide.... got it when I wrote....
>>>>
>>>> 2015-10-01 22:19 GMT+02:00 Ole Andreas Gl?ersen <
>>>> [email protected]>:
>>>>
>>>>> Any guide for install that?
>>>>>
>>>>> I used before:
>>>>> sudo apt-get install motion
>>>>> 1. okt. 2015 10.16 p.m. skrev "tosiara" <[email protected]>:
>>>>>
>>>>>> Yes. Take latest motion from Mr-Dave fork:
>>>>>> https://github.com/Mr-Dave/motion
>>>>>>
>>>>>> On Thu, Oct 1, 2015 at 11:06 PM, Ole Andreas Gl?ersen <
>>>>>> [email protected]> wrote:
>>>>>>
>>>>>>> Can motion detect rtsp streams (Have testet the camera in VLC and
>>>>>>> that works)?
>>>>>>>
>>>>>>> rtsp://
>>>>>>> 10.0.0.184:554/user=USERNAME&password=PASSWD&channel=1&stream=1.sdp/
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Motion-user mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>>>>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> ------------------------------------------------------------------------------
>>>>>>
>>>>>> _______________________________________________
>>>>>> Motion-user mailing list
>>>>>> [email protected]
>>>>>> https://lists.sourceforge.net/lists/listinfo/motion-user
>>>>>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>>>>>
>>>>>>
>>>>
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Motion-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/motion-user
>> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>>
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Motion-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Mon, 12 Oct 2015 15:49:53 +0200
From: Ole Andreas Gl?ersen <[email protected]>
Subject: [Motion-user] Motion with rtsp support on CentOS
To: Motion discussion list <[email protected]>
Message-ID:
        <cae+3hzb1rxy3er67a7nru-g9vmzcerz94ynubk_auqtrn7h...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Have anyone installed motion with rtsp support on CentOS?

I got it working on Raspbian on Orange Pi (thanks for all help).


I can't get it compile on CentOS. I have fixed a lot of error's (I hope the
right way).

On running make on motion I got this:

/home/pi/install_tmp/motion/ffmpeg.c:68: undefined reference to
`av_frame_alloc'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libSDL.so:
undefined reference to `_XGetRequest'
collect2: ld returned 1 exit status
make: *** [motion] Error 1
[pi@CentOS1 motion]$
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
[pi@CentOS1 motion]$ ./configure
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
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 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 pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FFMPEG... yes
checking for sqlite3.c... no
checking for sqlite3_open in -lsqlite3... no
checking for mysql support... testing
checking autodect mysql headers... not found
Invalid MySQL directory - unable to find mysql.h.
checking for PostgreSQL... testing
checking autodect pgsql headers... not found
Invalid PostgreSQL directory - unable to find libpq-fe.h.
checking for ANSI C header files... (cached) 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 sys/videoio.h usability... no
checking sys/videoio.h presence... no
checking for sys/videoio.h... no
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... 8
checking size of long long... 8
checking size of int *... 8
checking size of void *... 8
checking for an ANSI C-conforming const... yes
Detected CPU: Intel(R) Xeon(R) CPU            3040  @ 1.86GHz
CPU optimization: -march=native -mtune=native
checking for bswap instruction... yes
configure: creating ./config.status
config.status: creating thread1-dist.conf
config.status: creating thread2-dist.conf
config.status: creating thread3-dist.conf
config.status: creating thread4-dist.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 Unofficial-Git-2caced3
   **************************

OS             :     Linux
pthread support:     Yes
jpeg support:        Yes
V4L support:         Yes
V4L2 support:        Yes
SDL support:         Yes
FFmpeg support:      Yes
 ... FFMPEG_CFLAGS:
 ... FFMPEG_LIBS: -lavutil -lavformat -lavcodec -lswscale
SQLite3 support:     No
MYSQL support:       No
PostgreSQL support:  No

CFLAGS:  -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native
LIBS: -lm  -lpthread -lSDL -lpthread -ljpeg
LDFLAGS:

Install prefix:       /usr/local

[pi@CentOS1 motion]$ 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.

Version: Unofficial-Git-2caced3
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 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -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 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o logger.o logger.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -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 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -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 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o jpegutils.o jpegutils.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o vloopback_motion.o vloopback_motion.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o video.o video.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o video2.o video2.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o video_common.o video_common.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o netcam.o netcam.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o netcam_ftp.o netcam_ftp.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o netcam_jpeg.o netcam_jpeg.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o netcam_wget.o netcam_wget.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o track.o track.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o alg.o alg.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o event.o event.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o picture.o picture.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o rotate.o rotate.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o webhttpd.o webhttpd.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o stream.o stream.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o md5.o md5.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o netcam_rtsp.o netcam_rtsp.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o ffmpeg.o ffmpeg.c
gcc -g -O2 -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT 
-DMOTION_V4L2 -DTYPE_32BIT="int" -DHAVE_BSWAP   -march=native -mtune=native 
-Wall -DVERSION=\"Unofficial-Git-2caced3\" -Dsysconfdir=\"/usr/local/etc\"     
-c -o sdl.o sdl.c
--------------------------------------------------------------------------------
Motion object files compiled.

Linking Motion...
--------------------------------------------------------------------------------
gcc  -o motion motion.o logger.o conf.o draw.o jpegutils.o vloopback_motion.o 
video.o video2.o video_common.o netcam.o netcam_ftp.o netcam_jpeg.o 
netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o stream.o 
md5.o netcam_rtsp.o ffmpeg.o sdl.o -lm  -lpthread -lSDL -lpthread -ljpeg  
-lavutil -lavformat -lavcodec -lswscale
netcam_rtsp.o: In function `netcam_rtsp_close_context':
/home/pi/install_tmp/motion/netcam_rtsp.c:72: undefined reference to 
`avformat_close_input'
netcam_rtsp.o: In function `netcam_rtsp_open_context':
/home/pi/install_tmp/motion/netcam_rtsp.c:454: undefined reference to 
`av_dict_set'
/home/pi/install_tmp/motion/netcam_rtsp.c:455: undefined reference to 
`av_dict_set'
/home/pi/install_tmp/motion/netcam_rtsp.c:461: undefined reference to 
`avformat_open_input'
/home/pi/install_tmp/motion/netcam_rtsp.c:471: undefined reference to 
`av_dict_free'
/home/pi/install_tmp/motion/netcam_rtsp.c:474: undefined reference to 
`avformat_find_stream_info'
netcam_rtsp.o: In function `netcam_open_codec':
/home/pi/install_tmp/motion/netcam_rtsp.c:182: undefined reference to 
`av_find_best_stream'
/home/pi/install_tmp/motion/netcam_rtsp.c:202: undefined reference to 
`avcodec_open2'
netcam_rtsp.o: In function `netcam_rtsp_open_context':
/home/pi/install_tmp/motion/netcam_rtsp.c:450: undefined reference to 
`av_dict_set'
/home/pi/install_tmp/motion/netcam_rtsp.c:467: undefined reference to 
`av_dict_free'
ffmpeg.o: In function `ffmpeg_close':
/home/pi/install_tmp/motion/ffmpeg.c:448: undefined reference to `avio_close'
/home/pi/install_tmp/motion/ffmpeg.c:451: undefined reference to 
`avformat_free_context'
ffmpeg.o: In function `ffmpeg_cleanups':
/home/pi/install_tmp/motion/ffmpeg.c:422: undefined reference to 
`avformat_free_context'
ffmpeg.o: In function `ffmpeg_put_frame':
/home/pi/install_tmp/motion/ffmpeg.c:561: undefined reference to 
`avcodec_encode_video2'
ffmpeg.o: In function `my_frame_free':
/home/pi/install_tmp/motion/ffmpeg.c:77: undefined reference to `av_frame_free'
ffmpeg.o: In function `my_frame_alloc':
/home/pi/install_tmp/motion/ffmpeg.c:68: undefined reference to `av_frame_alloc'
ffmpeg.o: In function `ffmpeg_open':
/home/pi/install_tmp/motion/ffmpeg.c:270: undefined reference to 
`avformat_new_stream'
/home/pi/install_tmp/motion/ffmpeg.c:310: undefined reference to `avcodec_open2'
/home/pi/install_tmp/motion/ffmpeg.c:337: undefined reference to `av_dict_free'
ffmpeg.o: In function `my_frame_alloc':
/home/pi/install_tmp/motion/ffmpeg.c:68: undefined reference to `av_frame_alloc'
ffmpeg.o: In function `ffmpeg_open':
/home/pi/install_tmp/motion/ffmpeg.c:370: undefined reference to `avio_open'
/home/pi/install_tmp/motion/ffmpeg.c:397: undefined reference to 
`avformat_write_header'
/home/pi/install_tmp/motion/ffmpeg.c:297: undefined reference to `av_dict_set'
/home/pi/install_tmp/motion/ffmpeg.c:298: undefined reference to `av_dict_set'
/home/pi/install_tmp/motion/ffmpeg.c:299: undefined reference to `av_dict_set'
/home/pi/install_tmp/motion/ffmpeg.c:324: undefined reference to `avcodec_open2'
/home/pi/install_tmp/motion/ffmpeg.c:331: undefined reference to `av_dict_free'
/home/pi/install_tmp/motion/ffmpeg.c:400: undefined reference to `avio_close'
/home/pi/install_tmp/motion/ffmpeg.c:376: undefined reference to `avio_open'
ffmpeg.o: In function `my_frame_alloc':
/home/pi/install_tmp/motion/ffmpeg.c:68: undefined reference to `av_frame_alloc'
/usr/lib/gcc/x86_64-redhat-linux/4.4.7/../../../../lib64/libSDL.so: undefined 
reference to `_XGetRequest'
collect2: ld returned 1 exit status
make: *** [motion] Error 1
[pi@CentOS1 motion]$

------------------------------

------------------------------------------------------------------------------


------------------------------

_______________________________________________
Motion-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 113, Issue 3
*******************************************

Reply via email to