1.25.5 make error

Forum for questions and support relating to the 1.26.x releases only.
Post Reply
liderbug
Posts: 125
Joined: Wed Dec 19, 2007 4:46 pm

1.25.5 make error

Post by liderbug » Sun Jan 05, 2014 3:35 am

3.6.11-4.fc16.x86_64
I was able to run cmake to completion. But then "make" errors out at:

Building CXX object src/CMakeFiles/zm.dir/zm_rtp_source.cpp.o
cd /home/chuck/Downloads/ZoneMinder-1.26.5/src && /usr/bin/c++ -Wall -D__STDC_CONSTANT_MACROS -O2 -I/home/chuck/Downloads/ZoneMinder-1.26.5/src -I/home/chuck/Downloads/ZoneMinder-1.26.5 -o CMakeFiles/zm.dir/zm_rtp_source.cpp.o -c /home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp
In file included from /home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:20:0:
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.h:31:46: error: missing binary operator before token "("
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:27:45: error: missing binary operator before token "("
In file included from /home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:20:0:
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.h:91:5: error: ‘CodecID’ does not name a type
In file included from /home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:20:0:
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.h:104:190: error: ‘CodecID’ has not been declared
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:33:197: error: ‘CodecID’ has not been declared
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp: In constructor ‘RtpSource::RtpSource(int, const string&, int, const string&, int, uint32_t, uint16_t, uint32_t, uint32_t, int)’:
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:39:5: error: class ‘RtpSource’ does not have any field named ‘mCodecId’
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:72:8: error: ‘mCodecId’ was not declared in this scope
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:72:20: error: ‘CODEC_ID_H264’ was not declared in this scope
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:72:49: error: ‘CODEC_ID_MPEG4’ was not declared in this scope
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp: In member function ‘bool RtpSource::handlePacket(const unsigned char*, size_t)’:
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:268:29: error: ‘mCodecId’ was not declared in this scope
/home/chuck/Downloads/ZoneMinder-1.26.5/src/zm_rtp_source.cpp:268:41: error: ‘CODEC_ID_H264’ was not declared in this scope
make[2]: *** [src/CMakeFiles/zm.dir/zm_rtp_source.cpp.o] Error 1
make[2]: Leaving directory `/home/chuck/Downloads/ZoneMinder-1.26.5'
make[1]: *** [src/CMakeFiles/zm.dir/all] Error 2
make[1]: Leaving directory `/home/chuck/Downloads/ZoneMinder-1.26.5'
make: *** [all] Error 2

Searching hasn't given any clues.
Please. Thanks.
Chuck

mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Re: 1.25.5 make error

Post by mastertheknife » Sun Jan 05, 2014 6:41 am

Hi,
We fixed this one. You can get the fixed version here:
https://github.com/ZoneMinder/ZoneMinder/tarball/master
Kfir Itzhak.

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests