When building motion-3.2.4_snap4 and motion-3.2.3 I encounter errors during the make on FC4, it happens when linksing motion.
Any Ideas?
Test case
...
************************
* Configure status *
************************
pthread Support: Yes
jpeg Support: Yes
V4L included: Yes
FFmpeg Support: Yes
MYSQL Support: Yes
PostgreSQL Support: No
CFLAGS: -g -O2 -DHAVE_FFMPEG -I/usr/include/ffmpeg -DHAVE_MYSQL -I /usr/include/mysql -DTYPE_32BIT="int" -DHAVE_BSWAP -march=pentium4 -mfpmath=sse -msse2 -mmmx
LIBS: -lm -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lm -lz -L/usr/lib/mysql -lmysqlclient -lz
LDFLAGS: -L/usr/lib
Install prefix: /usr
....
Motion object files compiled.
Linking Motion...
--------------------------------------------------------------------------------
gcc -L/usr/lib -o motion motion.o conf.o draw.o video.o netcam.o netcam_ftp.o netcam_jpeg.o netcam_wget.o track.o alg.o event.o picture.o rotate.o webhttpd.o webcam.o ffmpeg.o -lm -lpthread -ljpeg -L/usr/lib -lavformat -lavcodec -lm -lz -L/usr/lib/mysql -lmysqlclient -lz
/usr/lib/libavformat.so: undefined reference to `dc1394_stop_iso_transmission'
/usr/lib/libavformat.so: undefined reference to `dc1394_get_camera_nodes'
/usr/lib/libavformat.so: undefined reference to `dc1394_start_iso_transmission'
/usr/lib/libavformat.so: undefined reference to `dc1394_destroy_handle'
/usr/lib/libavformat.so: undefined reference to `dc1394_dma_unlisten'
/usr/lib/libavformat.so: undefined reference to `dc1394_create_handle'
/usr/lib/libavformat.so: undefined reference to `dc1394_dma_single_capture'
/usr/lib/libavformat.so: undefined reference to `dc1394_dma_setup_capture'
/usr/lib/libavformat.so: undefined reference to `dc1394_dma_done_with_buffer'
/usr/lib/libavformat.so: undefined reference to `dc1394_dma_release_camera'
collect2: ld returned 1 exit status
make: *** [motion] Error 1
Environment
Motion version: |
3.2.3 |
ffmpeg version: |
0.4.9-pre1, build 4756 |
Shared libraries: |
ffmpeg, mysql |
Server OS: |
Fedora Core 4, kernel 2.6.11-1.1369_FC4 |
--
JeffCronstrom - 08 Nov 2005
Follow up
The problem is the ffmpeg you use.
There are a few ffmpeg rpms where something is wrong with respect to dependencies.
Either you need to find and install the rpm that satisfies the dc1394 dependency
or
use another ffmpeg rpm from another repositiry.
or
download the source version of the rpm and rebuild a new binary rpm from it. That is what I did back in the old days when I used Fedora core 2. The Dag rpm for ffmpeg has a problem.
It is not a bug in Motion.
--
KennethLavrsen - 14 Nov 2005
Fix record