Code: Select all
......
......
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -frepo -g -O2 -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp
In file included from zm_rtsp.h:30,
from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:33:
zm_sdp.h:9:2: error: #error "No location for rtsp.h found"
In file included from zm_rtsp.h:30,
from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:33:
zm_sdp.h:24: error: ‘AVCodecContext’ was not declared in this scope
zm_sdp.h:24: error: ‘codec’ was not declared in this scope
zm_sdp.h:24: error: expected primary-expression before ‘int’
zm_sdp.h:24: error: initializer expression list treated as compound expression
zm_sdp.h:27: error: ‘AVCodecContext’ was not declared in this scope
zm_sdp.h:27: error: ‘codec’ was not declared in this scope
zm_sdp.h:31: error: ‘AVFormatContext’ was not declared in this scope
zm_sdp.h:31: error: ‘s1’ was not declared in this scope
zm_sdp.h:31: error: ‘AVStream’ was not declared in this scope
zm_sdp.h:31: error: ‘st’ was not declared in this scope
zm_sdp.h:31: error: ‘URLContext’ was not declared in this scope
zm_sdp.h:31: error: ‘rtpc’ was not declared in this scope
zm_sdp.h:31: error: expected primary-expression before ‘int’
zm_sdp.h:31: error: expected primary-expression before ‘*’ token
zm_sdp.h:31: error: ‘rtp_payload_data’ was not declared in this scope
zm_sdp.h:31: error: initializer expression list treated as compound expression
zm_sdp.h:32: error: ‘AVPacket’ has not been declared
zm_sdp.h:36: error: ‘URLContext’ was not declared in this scope
zm_sdp.h:36: error: ‘h’ was not declared in this scope
zm_sdp.h:37: error: ‘URLContext’ was not declared in this scope
zm_sdp.h:37: error: ‘h’ was not declared in this scope
zm_sdp.h:37: error: expected primary-expression before ‘const’
zm_sdp.h:37: error: initializer expression list treated as compound expression
zm_sdp.h:38: error: variable or field ‘rtp_get_file_handles’ declared void
zm_sdp.h:38: error: ‘URLContext’ was not declared in this scope
zm_sdp.h:38: error: ‘h’ was not declared in this scope
zm_sdp.h:38: error: expected primary-expression before ‘int’
zm_sdp.h:38: error: expected primary-expression before ‘int’
zm_sdp.h:114: error: ‘AVPacket’ has not been declared
zm_sdp.h:122: error: use of enum ‘CodecType’ without previous declaration
zm_sdp.h:123: error: use of enum ‘CodecID’ without previous declaration
zm_sdp.h:126: error: ‘AVStream’ has not been declared
zm_sdp.h:138: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_sdp.h:138: error: expected ‘;’ before ‘*’ token
zm_sdp.h:139: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_sdp.h:139: error: expected ‘;’ before ‘*’ token
zm_sdp.h:151: error: ISO C++ forbids declaration of ‘URLContext’ with no type
zm_sdp.h:151: error: expected ‘;’ before ‘*’ token
zm_sdp.h:183: error: variable or field ‘ff_rtp_send_data’ declared void
zm_sdp.h:183: error: ‘AVFormatContext’ was not declared in this scope
zm_sdp.h:183: error: ‘s1’ was not declared in this scope
zm_sdp.h:183: error: expected primary-expression before ‘const’
zm_sdp.h:183: error: expected primary-expression before ‘int’
zm_sdp.h:183: error: expected primary-expression before ‘int’
zm_sdp.h:185: error: use of enum ‘CodecID’ without previous declaration
zm_sdp.h:185: error: use of enum ‘CodecType’ without previous declaration
zm_sdp.h:185: error: invalid type in declaration before ‘;’ token
zm_sdp.h:206: error: ISO C++ forbids declaration of ‘URLContext’ with no type
zm_sdp.h:206: error: expected ‘;’ before ‘*’ token
zm_sdp.h:217: error: use of enum ‘RTSPProtocol’ without previous declaration
zm_sdp.h:226: error: ‘AVFormatContext’ was not declared in this scope
zm_sdp.h:226: error: ‘s’ was not declared in this scope
zm_sdp.h:226: error: expected primary-expression before ‘const’
zm_sdp.h:226: error: initializer expression list treated as compound expression
In file included from zm_remote_camera_rtsp.h:27,
from zm_monitor.cpp:33:
zm_rtsp.h:71: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_rtsp.h:71: error: expected ‘;’ before ‘*’ token
zm_rtsp.h:110: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_rtsp.h:110: error: expected ‘;’ before ‘*’ token
zm_rtsp.h:115: error: expected `;' before ‘bool’
In file included from zm_monitor.cpp:33:
zm_remote_camera_rtsp.h:51: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_remote_camera_rtsp.h:51: error: expected ‘;’ before ‘*’ token
zm_remote_camera_rtsp.h:52: error: ISO C++ forbids declaration of ‘AVCodec’ with no type
zm_remote_camera_rtsp.h:52: error: expected ‘;’ before ‘*’ token
zm_remote_camera_rtsp.h:53: error: ISO C++ forbids declaration of ‘AVCodecContext’ with no type
zm_remote_camera_rtsp.h:53: error: expected ‘;’ before ‘*’ token
zm_remote_camera_rtsp.h:54: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_remote_camera_rtsp.h:54: error: expected ‘;’ before ‘*’ token
make[2]: *** [zm_monitor.o] Error 1
make[2]: Leaving directory `/home/paolo/ZoneMinder-1.24.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/paolo/ZoneMinder-1.24.0'
make: *** [all] Error 2
paolo@VirtuaLinux:~/ZoneMinder-1.24.0$
thanks