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

David Engel (david@sw.ods.com)
Wed, 25 Feb 1998 09:53:26 -0600

On Wed, Feb 25, 1998 at 04:49:40PM +0100, Laurent Pirotte wrote:
> >
> >
> > No Juergen, the problem really is with scotty. The problem is because
> > of conflicts with definitions in /usr/include/asm/byteorder.h. As a
> > general rule, normal programs should never directly include any
> > headers from /usr/include/asm or /usr/include/linux. Scotty should be
> > using /usr/include/endian.h instead.
>
> True !I have only replaced the compiling directive include </asm/byteorder.h>
> with<endian.h> at the line 94 of the ntping.c file and the problem is solved
> :-)

I guess I should have been more specific. Simply including <endian.h>
in place of <asm/byteorder.h> is not sufficient. You still have to change
the conditional test to use the defines provided by <endian.h>.

David

-- 
David Engel                        ODS Networks
david@sw.ods.com                   1001 E. Arapaho Road
(972) 234-6400                     Richardson, TX  75081
--
!! 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.