Am 03.10.2011 16:35, schrieb Fred Gleason:

Sorry... how to do this.? Put this in a file.? And then "patch file timex.h"

Found timex.h 5 times in this machine. Which one is right.?

> There is indeed a bug in the 'timex.h' header on CentOS 6.  It's in the 
> bugtracker at RedHat and so will presumably be fixed in an upcoming CentOS 
> update.  In the meantime, the following little patch against it should fix it 
> so as to allow Rivendell to build properly:
>
> *** snip snip ***
> --- timex.h-orig      2011-10-03 10:27:10.025099991 -0400
> +++ timex.h   2011-10-03 10:27:59.695190370 -0400
> @@ -140,13 +140,8 @@
>   extern int __adjtimex (struct timex *__ntx) __THROW;
>   extern int adjtimex (struct timex *__ntx) __THROW;
>
> -#if defined __GNUC__&&  __GNUC__>= 2
> -extern int ntp_gettime (struct ntptimeval *__ntv)
> -     __asm__ ("ntp_gettimex") __THROW;
> -#else
>   extern int ntp_gettimex (struct ntptimeval *__ntv) __THROW;
>   # define ntp_gettime ntp_gettimex
> -#endif
>   extern int ntp_adjtime (struct timex *__tntx) __THROW;
>
>   __END_DECLS
> *** snip snip ***

-- 
--

Ruediger

Radio Ostfriesland Techniksupport Automation
_______________________________________________
Rivendell-dev mailing list
[email protected]
http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev

Reply via email to