Warning: ffmpeg/avformat.h present but cannot be compiled
Posted: Tue Mar 10, 2009 4:29 pm
Hi all,
During the ./configure stage, I received the following warning:
configure: WARNING: ffmpeg/avformat.h: present but cannot be compiled
...check for missing prerequisite headers?
...see the Autoconf documentation
...section "Present But Cannot Be Compiled"
...proceeding with the preprocessor's result
...in the future, the compiler will take precedence
## Report this to support@zoneminder.com ##
checking for ffmpeg/avformat.h... yes
<snip>
This is Redhat EL5.3, ZM 1.24.1, and the following installed ffmpeg:
ffmpeg-0.4.9-0.9.20070530.el5.rf
ffmpeg-devel-0.4.9-0.9.20070530.el5.rf
ffmpeg-libpostproc-0.4.9-0.9.20070530.el5.rf
The make install shows a more specific error:
/usr/include/ffmpeg/avformat.h: In function ‘void av_init_packet(AVPacket*)’:
/usr/include/ffmpeg/avformat.h:62: error: ‘INT64_C’ was not declared in this scope
Any pointers on how to make this work, and, what might be the results if I continued to install ZM with this warning?
I could not find anything too closely related in the forums.
Thanks in advance,
Joel
During the ./configure stage, I received the following warning:
configure: WARNING: ffmpeg/avformat.h: present but cannot be compiled
...check for missing prerequisite headers?
...see the Autoconf documentation
...section "Present But Cannot Be Compiled"
...proceeding with the preprocessor's result
...in the future, the compiler will take precedence
## Report this to support@zoneminder.com ##
checking for ffmpeg/avformat.h... yes
<snip>
This is Redhat EL5.3, ZM 1.24.1, and the following installed ffmpeg:
ffmpeg-0.4.9-0.9.20070530.el5.rf
ffmpeg-devel-0.4.9-0.9.20070530.el5.rf
ffmpeg-libpostproc-0.4.9-0.9.20070530.el5.rf
The make install shows a more specific error:
/usr/include/ffmpeg/avformat.h: In function ‘void av_init_packet(AVPacket*)’:
/usr/include/ffmpeg/avformat.h:62: error: ‘INT64_C’ was not declared in this scope
Any pointers on how to make this work, and, what might be the results if I continued to install ZM with this warning?
I could not find anything too closely related in the forums.
Thanks in advance,
Joel