Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!mips!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik From: jik@athena.mit.edu (Jonathan I. Kamens) Newsgroups: comp.unix.questions Subject: Re: SunOS 4.1 talk Message-ID: <1991Apr10.032308.802@athena.mit.edu> Date: 10 Apr 91 03:23:08 GMT References: <7084@auspex.auspex.com> Sender: news@athena.mit.edu (News system) Organization: Massachusetts Institute of Technology Lines: 77 In article , mrapple@quack.sac.ca.us (Nick Sayer) writes: |> I recently grabbed the in.talkd and talk sources from bsd-sources on |> uunet.uu.net, but they won't compile. The trouble is that SunOS 4.1.1 |> doesn't define the structure "osockaddr". Does anyone know what |> include file I can snarf from uunet, or the format of this struct |> so I can stick it in a local "patch.h" I include in |> ? The bsd-sources on uunet.uu.net are designed to work with the 4.3reno header files and library, which has stuff that isn't in SunOS 4.1.1. Grab the version of talk in /pub/bsd-sources/ucb/talk.tar.Z and talkd in /pub/bsd-sources/etc/talkd.tar.Z on gatekeeper.dec.com. That's the 4.3bsd version, which should compile fine under SunOS, although I had to make the patches at the end of this message to it, because htonl, ntohl, etc. are noop macros defined in , rather than library functions, on my system. -- Jonathan Kamens USnail: MIT Project Athena 11 Ashford Terrace jik@Athena.MIT.EDU Allston, MA 02134 Office: 617-253-8085 Home: 617-782-0710 -- *** /tmp/,RCSt1022155 Tue Apr 9 23:23:55 1991 --- talkd/print.c Tue Apr 9 23:22:36 1991 *************** *** 24,30 **** #include #include #include ! #include static char *types[] = --- 24,30 ---- #include #include #include ! #include #include static char *types[] = *** /tmp/,RCSt1022155 Tue Apr 9 23:24:04 1991 --- talkd/table.c Tue Apr 9 23:21:38 1991 *************** *** 31,36 **** --- 31,37 ---- #include #include #include + #include #include *** /tmp/,RCSt1022165 Tue Apr 9 23:24:24 1991 --- talk/get_names.c Tue Apr 9 23:19:48 1991 *************** *** 19,27 **** static char sccsid[] = "@(#)get_names.c 5.5 (Berkeley) 6/29/88"; #endif /* not lint */ ! #include "talk.h" #include - #include #include char *getlogin(); --- 19,26 ---- static char sccsid[] = "@(#)get_names.c 5.5 (Berkeley) 6/29/88"; #endif /* not lint */ ! #include "talk_ctl.h" #include #include char *getlogin();