On Oct 1, 2011, at 04:26 58, Rüdiger wrote:

> http://rivendell.tryphon.org/wiki/CentOS_6_Notes
> And it ended up with the same problem in the wiki.:
> 
> Upstream.?? Whats that.?

That's me!  [in part, at least]  :)

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 ***

Cheers!


|-------------------------------------------------------------------------|
| Frederick F. Gleason, Jr. |               Chief Developer               |
|                           |               Paravel Systems               |
|-------------------------------------------------------------------------|
|   Some people call them "cars" or "trucks"; I call them "dimensional    |
|   transmogrifiers" because they change three-dimensional cats into      |
|   two-dimensional ones.                                                 |
|                                         -- F. Frederick Skitty          |
|-------------------------------------------------------------------------|

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

Reply via email to