Hello
I've got these warnings when trying to compile 2643:
zm_sdp.c: In function 'rtsp_skip_packet':
zm_sdp.c:698: warning: implicit declaration of function 'AV_RB16'
zm_sdp.c: In function 'rtsp_send_cmd':
zm_sdp.c:739: warning: pointer targets in passing argument 2 of 'url_write' differ in signedness
zm_sdp.c: In function 'sdp_probe':
zm_sdp.c:835: warning: pointer targets in initialization differ in signedness
zm_sdp.c:835: warning: pointer targets in initialization differ in signedness
zm_sdp.c: In function 'sdp_read_header':
zm_sdp.c:866: warning: pointer targets in passing argument 2 of 'get_buffer' differ in signedness
zm_sdp.c: In function 'sdp_read_packet':
zm_sdp.c:915: warning: implicit declaration of function 'rtsp_read_packet'
zm_sdp.c: At top level:
zm_sdp.c:86: warning: 'rtsp_read_play' declared 'static' but never defined
zm_sdp.c:92: warning: 'rtsp_probe' defined but not used
zm_sdp.c:576: warning: 'rtsp_parse_transport' defined but not used
zm_sdp.c:717: warning: 'rtsp_send_cmd' defined but not used
zm_sdp.c:834: warning: 'sdp_probe' defined but not used
zm_sdp.c:855: warning: 'sdp_read_header' defined but not used
zm_sdp.c:914: warning: 'sdp_read_packet' defined but not used
zm_sdp.c:919: warning: 'sdp_read_close' defined but not used
Then I got these errors:
collect: relinking
collect: recompiling zm_rtsp.cpp
collect: recompiling zm_rtp_ctrl.cpp
collect: recompiling zm_comms.cpp
collect: relinking
zm_remote_camera_rtsp.o: In function `RemoteCameraRtsp::Initialise()':
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_remote_camera_rtsp.cpp:79: undefined reference to `av_register_rtp_dynamic_payload_handlers'
zm_sdp.o: In function `sdp_parse_rtpmap':
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_sdp.c:164: undefined reference to `RTPFirstDynamicPayloadHandler'
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_sdp.c:179: undefined reference to `ff_rtp_codec_id'
zm_sdp.o: In function `sdp_parse_fmtp':
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_sdp.c:303: undefined reference to `rtsp_next_attr_and_value'
zm_sdp.o: In function `sdp_parse_line':
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_sdp.c:418: undefined reference to `ff_dynarray_add'
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_sdp.c:432: undefined reference to `ff_rtp_enc_name'
/home/dusan/Desktop/ZoneMinder-1.24.0/src/zm_sdp.c:443: undefined reference to `rtp_get_codec_info'
collect2: ld returned 1 exit status
make[2]: *** [zmc] Error 1
make[2]: Leaving directory `/home/dusan/Desktop/ZoneMinder-1.24.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dusan/Desktop/ZoneMinder-1.24.0'
make: *** [all] Error 2
This is configure line I used:
./configure --with-mysql=/usr --with-webdir="/var/www/zoneminder/htdocs" --with-cgidir="/var/www/zoneminder/cgi-bin" --with-webuser=apache --with-webgroup=apache
This is the enviroment I'm building in:
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: 2.6.26-gentoo-r1 i686 Intel(R) Core(TM)2 CPU 6400 @ 2.13GHz
Timestamp of tree: Tue, 30 Sep 2008 19:15:01 +0000
ccache version 2.4 [enabled]
app-shells/bash: 3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python: 2.5.2-r7
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r2
sys-devel/automake: 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils: 2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.26
virtual/os-headers: 2.6.23-r3
Thanks for your time
Dushan