Re: [tkined] Tkined, Red Hat Linux 5.0, and Tcl 8.0

Christopher W. Carlson (cwcarlson@usa.net)
Thu, 12 Mar 1998 15:25:55 -0600

Okay. I downloaded and applied the scotty-2.1.7-2.1.8 patch, and have
run into another compile problem:

cc -c -O -I. -DHAVE_CONFIG_H ./../tnm/ntping/ntping.c
In file included from ./../tnm/ntping/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

(This is after plenty of good compiling, by the way.) Again, I'm
using a stock Red Hat Linux 5.0 installation, with Tcl8.0 and the
corresponding Tk packages installed.

Thanks again for your help.

--- Chris

On Thu, Mar 12, 1998 at 07:43:34PM +0100, Juergen Schoenwaelder wrote:
>
> >>>>> Christopher W Carlson writes:
>
> Christopher> I get the following message, when doing a 'make' in the
> Christopher> unix/ directory:
>
> Christopher> [root@ctwaco unix]# make cc -c -O -fPIC
> Christopher> -I. -I./../tnm/generic -I/usr/include
> Christopher> ./../tnm/generic/tnmRpc.c ./../tnm/generic/tnmRpc.c:62:
> Christopher> field `__errno_location' declared as a function make: ***
> Christopher> [tnmRpc.o] Error 1
>
> You don't say which version of the scotty package you are using, but I
> am quite sure that upgrading to scotty-2.1.8 will give you at least a
> different error message. ;-)
> Juergen
> --

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