Hello plugers and fellow chrony users (unless I'm the only one ;->)

the author of chrony has sent me the solution to the chrony compile problem
under Mandrake Linux 7.0 and up.

I was able to apply the patch to "wrap_adjtimex.c" and succesfully compile
chrony.



----- Forwarded message from Richard Curnow <[EMAIL PROTECTED]> -----

Date: Tue, 8 Aug 2000 07:27:58 +0100
From: Richard Curnow <[EMAIL PROTECTED]>
To: Juan Miguel Cacho <[EMAIL PROTECTED]>
Subject: Possible fix for chrony 1.13
Reply-To: Richard Curnow <[EMAIL PROTECTED]>

Hi Juan,

Somebody has sent me a patch to get chrony v1.13 to compile on his
system.  I suspect his problem is the same one you had.  Can you try out
this patch and let me know if it works?

Many thanks.
Richard

----- Forwarded message from Richard Ellis <[EMAIL PROTECTED]> -----

From: Richard Ellis <[EMAIL PROTECTED]>
Subject: chrony 1.13 patch
Date: Sat, 05 Aug 2000 22:08:28 -0400
To: [EMAIL PROTECTED]
X-Mailer: Mozilla 4.74 [en] (X11; U; Linux 2.2.16 i686)

I had to add this one line patch into wrap_adjtimex.c to get chrony 1.13
to compile on my machine.  I have gcc 2.95.2 and libc 2.1.2 installed,
and gcc 2.95.2 pulls in

/usr/lib/gcc-lib/i686-pc-linux-gnu/2.95.2/include/asm/posix_types.h

which itself pulls in <features.h> which will define
"__KERNEL_STRICT_NAMES" unless the define below has been created.  The
"__KERNEL_STRICT_NAMES" define ultimately results in time_t not being
typedefed, which causes compilation of wrap_adjtimex.c to abort with
rather strange error messages.



--- wrap_adjtimex.c~    Thu Jul 20 17:15:00 2000
+++ wrap_adjtimex.c     Sat Aug  5 21:42:05 2000
@@ -21,6 +21,8 @@
 
 #ifdef LINUX

+#define _LOOSE_KERNEL_NAMES
+
 #include <linux/time.h>
 #include <linux/timex.h>

--
Microsoft is not the answer.            Boycott Microsoft Home page
Microsoft is the question.              http://www0.vcnet.com/bms
No is the answer.

Microsoft: Bringing you ten-year old technology, tomorrow, maybe.




----- End forwarded message -----

-- 
----------------------------------------------------------------------
Richard P. Curnow                                       [EMAIL PROTECTED]
Weston-super-Mare
United Kingdom                            http://go.to/richard.curnow/



----- End forwarded message -----

-- 
Juan Miguel Cacho       [EMAIL PROTECTED] �
Philippines             [EMAIL PROTECTED] 
...the poor count their blessings, the affluent count their calories.
-
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

Reply via email to