| View previous topic :: View next topic |
| Author |
Message |
spuckett1265@charter.net
Joined: 13 Mar 2007 Posts: 2
|
Posted: Tue Mar 13, 2007 2:53 pm Post subject: Fedora Core 6 Installation Issues - INT64_C was not declared |
|
|
I have followed both sets of directions for installing ZM under Fedora Core 6 and run into the same issue each time. FFMPEG installs fine with no errors that I could fine and the configure script for ZM works fine with no errors. Hwoever once I use the make command under the ZM directory I get the following error:
/usr/local/include/ffmpeg/avformat.h: In function 'void av_init_packet(AVPaclet*)':
/usr/local/include/ffmpeg/avformat.h:67: error: 'INT64_C' was not declared in this scope
make[2]: *** [zm_event.o] Error 1
make[2]: Leaving directory '/opt/ZoneMinder-1.22.3/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/opt/ZoneMinder-1.22.3'
make[: *** [all] Error 2
Does anyone know what I am doing wrong? I have tried every trick I know and I have made sure all updates and patches have been applied.
Any assistance would be VERY helpful! I am working on a project for use in Iraq and I would really like to use ZM for this application, especially to get it out in the eye of the military. I support projects like these and I wish gov't agencies knew about more of them!
Thanks,
Steven |
|
| Back to top |
|
 |
|
|
cordel

Joined: 05 Mar 2004 Posts: 5099 Location: /USA/Washington/Seattle
|
Posted: Tue Mar 13, 2007 3:40 pm Post subject: |
|
|
| Yeah ffmepg changed there code. If you search the forum you 'll find the answer. |
|
| Back to top |
|
 |
spuckett1265@charter.net
Joined: 13 Mar 2007 Posts: 2
|
Posted: Tue Mar 13, 2007 4:19 pm Post subject: |
|
|
I couldn't find anything on INT64_C. but once I searched for ffmpeg -> Taddah!!!
| Quote: | In late febuary ffmpeg dropped INT64_C from their include.h, so I had to add the follwing line to zm_mpeg.h before I built from source:
#define INT64_C
|
This fixed it perfectly!
Thanks for such a FAST response! Take that Microsoft! |
|
| Back to top |
|
 |
nothingman
Joined: 28 Mar 2007 Posts: 1
|
Posted: Wed Mar 28, 2007 4:55 am Post subject: |
|
|
| Wow..thank you for that bit of searching, I've been banging my head against the wall on this for the past 2 hours !!!!!! |
|
| Back to top |
|
 |
zoneminder Site Admin

Joined: 09 Jul 2003 Posts: 4988 Location: Bristol, UK
|
Posted: Fri Mar 30, 2007 2:10 pm Post subject: |
|
|
Yes, ffmpeg appears to have changed yet again. This will be in the next release but the 'official' ffmpeg change would be to modify the line
| Code: | #include <ffmpeg/avformat.h>
|
to
| Code: | extern "C" {
#define __STDC_CONSTANT_MACROS
#include <ffmpeg/avformat.h>
} |
in zm_mpeg.h _________________ Phil |
|
| Back to top |
|
 |
|