Make problems
Posted: Fri Dec 23, 2005 10:33 pm
I am at the point after I do my configure, and zmconfig.pl, and when I try to make it, I get the following errors:
I am running SuSE 10. As I am not a developer, I really can't figure out what these errors are telling me. Any help would be appreciated.
If I need to, I'll change my distro/version if it works better than what I have now.
Code: Select all
proxy:~/zm-1.21.4 # make
make all-recursive
make[1]: Entering directory `/root/zm-1.21.4'
Making all in src
make[2]: Entering directory `/root/zm-1.21.4/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/include -g -O2 -MT zm_event.o -MD -MP -MF ".deps/zm_event.Tpo" -c -o zm_event.o zm_event.cpp; \
then mv -f ".deps/zm_event.Tpo" ".deps/zm_event.Po"; else rm -f ".deps/zm_event.Tpo"; exit 1; fi
In file included from zm_event.cpp:29:
zm_mpeg.h:31:29: error: ffmpeg/avformat.h: No such file or directory
zm_mpeg.h:41: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:42: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type
zm_mpeg.h:42: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:43: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_mpeg.h:43: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:44: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_mpeg.h:44: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:45: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:45: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:46: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:46: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:47: error: ISO C++ forbids declaration of ‘uint8_t’ with no type
zm_mpeg.h:47: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:62: error: ‘uint8_t’ has not been declared
zm_event.cpp: In static member function ‘static void Event::StreamMpeg(int, const char*, int, int, int, int)’:
zm_event.cpp:632: error: no matching function for call to ‘VideoStream::EncodeFrame(JSAMPLE*, int, bool&, unsigned int&)’
zm_mpeg.h:62: note: candidates are: double VideoStream::EncodeFrame(int*, int, bool, unsigned int)
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory `/root/zm-1.21.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/zm-1.21.4'
make: *** [all] Error 2
If I need to, I'll change my distro/version if it works better than what I have now.