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

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Wed, 25 Feb 1998 18:29:33 +0100

>>>>> David Engel writes:

David> No Juergen, the problem really is with scotty. The problem is
David> because of conflicts with definitions in
David> /usr/include/asm/byteorder.h. As a general rule, normal
David> programs should never directly include any headers from
David> /usr/include/asm or /usr/include/linux. Scotty should be using
David> /usr/include/endian.h instead.

I agree that using /usr/include/endian.h would have been a better
choice. However, I still believe that a Unix system with conflicting
definitions in the header files is broken.

Anyway, I changed the scotty code to use the WORDS_BIGENDIAN
preprocessor symbol instead of searching for suitable header
files to get the endian. This should solve the problem.

Juergen

-- 
Juergen Schoenwaelder  schoenw@ibr.cs.tu-bs.de http://www.cs.tu-bs.de/~schoenw
Technical University Braunschweig, Dept. Operating Systems & Computer Networks
Bueltenweg 74/75, 38106 Braunschweig, Germany.        (Tel. +49 531 / 391 3283)
--
!! 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.