1.23.0 Compiled OK - 1.23.1 Fails on 64Bit AMD
Posted: Mon Feb 04, 2008 8:42 pm
Hi Developers.
I was able to get ZM 1.23.0 to compile and run OK.
Unfortunately 1.23.1 fails with the following errors:
<code>
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/include -g -O2 -MT zm_user.o -MD -MP -MF .deps/zm_user.Tpo -c -o zm_user.o zm_user.cpp
mv -f .deps/zm_user.Tpo .deps/zm_user.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/include -g -O2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
zm_mpeg.cpp: In destructor ‘VideoStream::~VideoStream()’:
zm_mpeg.cpp:281: error: cannot convert ‘ByteIOContext’ to ‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’
zm_mpeg.cpp: In member function ‘double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)’:
zm_mpeg.cpp:325: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2410)
zm_mpeg.cpp:325: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2410)
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/usr/src/ZM/ZM-Sources/ZoneMinder-1.23.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ZM/ZM-Sources/ZoneMinder-1.23.1'
make: *** [all] Error 2
</code>
Yes the same OLD problem: Dealing with: #if !ZM_FFMPEG_SVN
I was able to get ZM 1.23.0 to compile and run OK.
Unfortunately 1.23.1 fails with the following errors:
<code>
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/include -g -O2 -MT zm_user.o -MD -MP -MF .deps/zm_user.Tpo -c -o zm_user.o zm_user.cpp
mv -f .deps/zm_user.Tpo .deps/zm_user.Po
g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/local/include -g -O2 -MT zm_mpeg.o -MD -MP -MF .deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
zm_mpeg.cpp: In destructor ‘VideoStream::~VideoStream()’:
zm_mpeg.cpp:281: error: cannot convert ‘ByteIOContext’ to ‘ByteIOContext*’ for argument ‘1’ to ‘int url_fclose(ByteIOContext*)’
zm_mpeg.cpp: In member function ‘double VideoStream::EncodeFrame(uint8_t*, int, bool, unsigned int)’:
zm_mpeg.cpp:325: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2410)
zm_mpeg.cpp:325: warning: ‘img_convert’ is deprecated (declared at /usr/include/ffmpeg/avcodec.h:2410)
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/usr/src/ZM/ZM-Sources/ZoneMinder-1.23.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/ZM/ZM-Sources/ZoneMinder-1.23.1'
make: *** [all] Error 2
</code>
Yes the same OLD problem: Dealing with: #if !ZM_FFMPEG_SVN