Forums
  News| Documentation| Screenshots| Downloads| Support| Forums| Wiki| Shop| Search| Donate| Contact Home
FAQFAQ SearchSearch MemberlistMemberlist UsergroupsUsergroups RegisterRegister ProfileProfile Log in to check your private messagesLog in to check your private messages Log inLog in

Fedora Core 6 Installation Issues - INT64_C was not declared

 
Donate $20 Donate $40
Post new topic   Reply to topic    ZoneMinder Forum Index -> ZoneMinder Previous Versions
View previous topic :: View next topic  
Author Message
spuckett1265@charter.net



Joined: 13 Mar 2007
Posts: 2

PostPosted: Tue Mar 13, 2007 2:53 pm    Post subject: Fedora Core 6 Installation Issues - INT64_C was not declared Reply with quote

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? Crying or Very sad 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
View user's profile Send private message
cordel



Joined: 05 Mar 2004
Posts: 5099
Location: /USA/Washington/Seattle

PostPosted: Tue Mar 13, 2007 3:40 pm    Post subject: Reply with quote

Yeah ffmepg changed there code. If you search the forum you 'll find the answer.
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
spuckett1265@charter.net



Joined: 13 Mar 2007
Posts: 2

PostPosted: Tue Mar 13, 2007 4:19 pm    Post subject: Reply with quote

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
View user's profile Send private message
nothingman



Joined: 28 Mar 2007
Posts: 1

PostPosted: Wed Mar 28, 2007 4:55 am    Post subject: Reply with quote

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
View user's profile Send private message
zoneminder
Site Admin


Joined: 09 Jul 2003
Posts: 4988
Location: Bristol, UK

PostPosted: Fri Mar 30, 2007 2:10 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    ZoneMinder Forum Index -> ZoneMinder Previous Versions All times are GMT
Page 1 of 1

 
  
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
 ©2007 Triornis Ltd News • Documentation • Screenshots • Downloads • Support • Forums • Wiki • Shop • Search • Donate • Contact • Home