Re: [tkined] problem installing Scotty with Red Hat Linux 5.0

Mike Jagdis (jaggy@purplet.demon.co.uk)
Wed, 25 Feb 1998 23:21:02 +0000 (GMT/BST)

This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
Send mail to mime@docserver.cac.washington.edu for more info.

--279740545-1178810200-888448862=:30906
Content-Type: TEXT/PLAIN; charset=US-ASCII

On Tue, 24 Feb 1998, Juergen Schoenwaelder wrote:

> This has been discussed on this list before. We believe that this is a
> bug in RedHat Linux 5.0. (The C library header don't match the kernel
> headers.) I guess you can easily fix the problem by hand by changing
> one of the conflicting types, but the real fix should come from
> RedHat. (We don't run RedHat here so we can't provide more detailed
> help.)

It's not a bug. RedHat ships with glibc (aka libc6) as the
standard C library. This is supposed to be independent of
kernel headers - i.e. you are never supposed to include linux/*
or asm/* in applications. It only affects ntping.c. Patch
attached.

Mike

-- 
.----------------------------------------------------------------------.
| Mike Jagdis                   | Internet: jaggy@purplet.demon.co.uk  |
| 280, Silverdale Road, Earley, | Voice:    +44 118 926 6996           |
| Reading RG6 7NU ENGLAND       | Work:     +44 118 989 0403           |
`----------------------------------------------------------------------'

--279740545-1178810200-888448862=:30906 Content-Type: TEXT/PLAIN; charset=US-ASCII; name="ntping.diff" Content-Transfer-Encoding: BASE64 Content-ID: <Pine.LNX.3.91.980225232102.30906B@purplet.jaggycraft.co.uk> Content-Description: Linux glibc ntping patch

LS0tIG50cGluZy5jLm9sZAlXZWQgRmViIDI1IDIzOjEzOjMyIDE5OTgNCisr KyBudHBpbmcuYwlXZWQgRmViIDI1IDIzOjE1OjM3IDE5OTgNCkBAIC04Niwx NSArODYsMTMgQEANCiAjZW5kaWYgLyogISBfQUlYICovDQogDQogDQotI2lm IDANCi0jaWYgZGVmaW5lZChsaW51eCkgfHwgZGVmaW5lZChfX1dJTjMyX18p DQorI2lmIChkZWZpbmVkKGxpbnV4KSAmJiAhZGVmaW5lZChfX0dMSUJDX18p KSB8fCBkZWZpbmVkKF9fV0lOMzJfXykNCiAvKg0KICAqIHByb3ZpZGUgaGVh ZGVyIGR1ZSB0byBvdGhlciBuYW1pbmcgb2YgZmllbGRzIG9yIHVuYXZhaWxp YmlsaXR5OiANCiAgKi8NCiAjIGlmIGRlZmluZWQoSEFWRV9BU01fQllURU9S REVSX0gpDQogIyAgaW5jbHVkZSA8YXNtL2J5dGVvcmRlci5oPg0KICMgZW5k aWYNCi0jZW5kaWYNCiAvKg0KICAqIHRha2UgY2FyZSBhYm91dCBzd2FwcGVk IG9yZGVyIGluIGJpdGZpZWxkczsgdGhpcyBhcHBsaWVzDQogICogdG8gU1BB UkMvTGludXg6IA0KQEAgLTU0Myw3ICs1NDEsNyBAQA0KIHN0cnVjdCBpcCAq aXA7DQogc3RydWN0IHVkcGhkciAqdWRwaDsNCiB7DQotI2lmIDANCisjaWYg IWRlZmluZWQoX19HTElCQ19fKQ0KICAgICB1bnNpZ25lZCBzaG9ydCBpZCA9 IG50b2hzICh1ZHBoLT51aF9zcG9ydCk7DQogICAgIHVuc2lnbmVkIHNob3J0 IHBvcnQgPSBudG9ocyAodWRwaC0+dWhfZHBvcnQpOw0KICNlbHNlDQo= --279740545-1178810200-888448862=:30906--

--
!! This message is brought to you via the `tkined & scotty' mailing list.
!! Please do not reply to this message to unsubscribe. To subscribe or
!! unsubscribe, send a mail message to <tkined-request@ibr.cs.tu-bs.de>.
!! See http://wwwsnmp.cs.utwente.nl/~schoenw/scotty/ for more information.