View unanswered posts | View active topics It is currently Mon Dec 22, 2014 6:40 pm



Reply to topic  [ 2 posts ] 
PATCH: zoneminder 1.25.0 does not compile with GCC 4.7.X 
Author Message

Joined: Wed Apr 18, 2012 4:50 pm
Posts: 1
Post PATCH: zoneminder 1.25.0 does not compile with GCC 4.7.X
Hello. I'm the zoneminder package maintainer for Arch Linux and am passing this patch along to get zoneminder to compile with GCC 4.7.X. There is a change in GCC 4.7.X where unistd.h now needs to be explicitly included as listed in the changelog here in the Runtime Library (libstdc++) section: [I'd give the url but I can't link to an external site being a new user apparently]

I also cannot paste the patch in a code section either because it thinks it is an external url so i'll just spell it out I guess.

src/zm_logger.cpp and src/zm_thread.h both need to include unistd.h.

After doing that I get a successful compile on GCC 4.7.x and everything seems to work fine.


Wed Apr 18, 2012 5:04 pm
Profile

Joined: Thu Apr 30, 2009 5:18 am
Posts: 170
Post Re: PATCH: zoneminder 1.25.0 does not compile with GCC 4.7.X
Thanks buhrietoe for the fix!


Thu Apr 19, 2012 3:11 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group