Creative COW SIGN IN :: SPONSORS :: ADVERTISING :: ABOUT US :: CONTACT US :: FAQ
Creative COW's LinkedIn GroupCreative COW's Facebook PageCreative COW on TwitterCreative COW's Google+ PageCreative COW on YouTube
FORUMS:listlist (w/ descriptions)archivetagssearchhall of famerecent posts

Re: error: static declaration of 'lrint' follows non-static declaration

COW Forums : FFmpeg

VIEW ALL   •   ADD A NEW POST   •   PRINT
Share on Facebook
Respond to this post   •   Return to posts index   •   Read entire thread


Gerry RenoRe: error: static declaration of 'lrint' follows non-static declaration
by on Apr 28, 2012 at 8:40:17 pm

Here's a workaround:

Edit config.h (yes, it's generated by configure) and set all lrint and friends to '1'.
eg: #define HAVE_LRINT 1

This will permit the build to continue.

If you rerun 'configure' then you will need to do edit config.h again.

What is happening is that when you have a host and target system that implement lrint and friends in different math headers that is when you run into the problem. The configure is not looking at the target system only the host system on cross-compiles. This is why macports android mipsel and others run into the problem.


.


Posts IndexRead Thread
Reply   Like  
+1
Share on Facebook


Current Message Thread:




LOGIN TO REPLY



FORUMSTUTORIALSFEATURESVIDEOSPODCASTSEVENTSSERVICESNEWSLETTERNEWSBLOGS

Creative COW LinkedIn Group Creative COW Facebook Page Creative COW on Twitter
© 2014 CreativeCOW.net All rights are reserved. - Privacy Policy

[Top]