ZoneMinder (sm.spec)
misman
misman w o2.pl
Wto, 23 Sty 2007, 23:31:15 CET
Witam
Komplikacja zm.spec wywala się:
i686-pld-linux-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include
-Iyes/include -O2 -march=i686 -MT zm_mpeg.o -MD -MP -MF
.deps/zm_mpeg.Tpo -c -o zm_mpeg.o zm_mpeg.cpp
zm_mpeg.cpp: In member function `void VideoStream::SetupCodec(int, int, int,
int, int)':
zm_mpeg.cpp:78: error: cannot convert `AVCodecContext**' to
`AVCodecContext*'
in initialization
zm_mpeg.cpp:88: error: 'struct AVCodecContext' has no member named
'frame_rate'
zm_mpeg.cpp:89: error: 'struct AVCodecContext' has no member named '
frame_rate_base'
zm_mpeg.cpp: In member function `void VideoStream::OpenStream()':
zm_mpeg.cpp:120: error: cannot convert `AVCodecContext**' to
`AVCodecContext*'
in initialization
zm_mpeg.cpp: In destructor `VideoStream::~VideoStream()':
zm_mpeg.cpp:220: error: cannot convert `AVCodecContext**' to
`AVCodecContext*'
for argument `1' to `int avcodec_close(AVCodecContext*)'
zm_mpeg.cpp: In member function `double
VideoStream::EncodeFrame(uint8_t*, int,
bool, unsigned int)':
zm_mpeg.cpp:257: error: 'struct AVFormatContext' has no member named
'pts_num'
zm_mpeg.cpp:257: error: 'struct AVFormatContext' has no member named
'pts_den'
zm_mpeg.cpp:263: error: cannot convert `AVCodecContext**' to
`AVCodecContext*'
in initialization
zm_mpeg.cpp:281: error: invalid conversion from `int' to `AVPacket*'
/usr/include/ffmpeg/avformat.h:453: error: too many arguments to
function `int
av_write_frame(AVFormatContext*, AVPacket*)'
zm_mpeg.cpp:281: error: at this point in file
zm_mpeg.cpp:302: error: invalid conversion from `int' to `AVPacket*'
/usr/include/ffmpeg/avformat.h:453: error: too many arguments to
function `int
av_write_frame(AVFormatContext*, AVPacket*)'
zm_mpeg.cpp:302: error: at this point in file
make[2]: *** [zm_mpeg.o] Error 1
make[2]: Leaving directory `/home/users/misman/rpm/BUILD/zm-1.21.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/users/misman/rpm/BUILD/zm-1.21.3'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.89343 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.89343 (%build)
Error: package build failed. (no more info)
Coś robię źle, czy to wina źródeł/speca/faz księżyca ?
--
Pozdrawia m.
Więcej informacji o liście dyskusyjnej pld-devel-pl