[tkined] Compiling Scotty

JD Williams (magnus@usa.net)
Tue, 3 Feb 1998 22:07:12 -0700

I did manage to get scotty-2.1.8 to compile but had some problems.

In file included from ntping.c:94:
/usr/include/asm/byteorder.h:22: conflicting types for `ntohl'
/usr/include/netinet/in.h:198: previous declaration of `ntohl'
/usr/include/asm/byteorder.h:24: conflicting types for `htonl'
/usr/include/netinet/in.h:200: previous declaration of `htonl'
make: *** [ntping.o] Error 1

I commented the following from ntping.c and all compiled fine.

/*
# if defined(HAVE_ASM_BYTEORDER_H)
# include <asm/byteorder.h>
# endif
*/

JD Williams

--
!! 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.