| Summary: | zoneminder fails to compile with mpeg use flag against media-video/ffmpeg-0.4.9_p20070330 | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | CPUShare <cpushare> |
| Component: | Current packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
Is this not the same problem as bug 174616? yes sorry for the dup *** This bug has been marked as a duplicate of bug 174616 *** |
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include -I/usr/include -O2 -march=pentium4 -pipe -MT zm_monitor.o -MD -MP -MF .deps/zm_monitor.Tpo -c -o zm_monitor.o zm_monitor.cpp /usr/include/ffmpeg/avformat.h: In function 'void av_init_packet(AVPacket*)': /usr/include/ffmpeg/avformat.h:66: error: 'INT64_C' was not declared in this scope Fix is: --- /tmp/avcodec.h 2007-04-21 02:25:47.000000000 +0200 +++ /usr/include/ffmpeg/avcodec.h 2007-04-21 02:25:55.000000000 +0200 @@ -43,7 +43,7 @@ #define LIBAVCODEC_IDENT "Lavc" AV_STRINGIFY(LIBAVCODEC_VERSION) -#define AV_NOPTS_VALUE INT64_C(0x8000000000000000) +#define AV_NOPTS_VALUE 0x8000000000000000L #define AV_TIME_BASE 1000000 #define AV_TIME_BASE_Q (AVRational){1, AV_TIME_BASE} Then it compiles fine, dunno if it works fine too because I never tried the mpeg generation feature yet but clearly it now has a chance at least. The previous stable ffmpeg package didn't have this problem, I noticed this breakage when I had to recompile zoneminder against new ffmpeg with revdep-rebuild. Reproducible: Always