Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!sri-spam!mordor!lll-tis!elxsi!marduk!gww From: gww@marduk.UUCP (Gary Winiger) Newsgroups: comp.bugs.4bsd Subject: talkd won't link. +Fix Message-ID: <515@elxsi.UUCP> Date: Fri, 4-Sep-87 18:07:05 EDT Article-I.D.: elxsi.515 Posted: Fri Sep 4 18:07:05 1987 Date-Received: Sat, 5-Sep-87 21:24:24 EDT Sender: nobody@elxsi.UUCP Reply-To: gww@marduk.UUCP (Gary Winiger) Organization: ELXSI Super Computers, San Jose Lines: 100 Subject: etc/talkd won't link +Fix Index: etc/talkd/{print,table}.c 4.3BSD +Fix Description: {print,table}.o have unsatisfied externals of hton? because of a missing include file. Repeat-By: Attempt to build talkd on a standard distributed system on a BigEndian machine. Fix: Add the include file to {print,table}.c The attached code corrects this problem at Elxsi. Gary.. {ucbvax!sun,lll-lcc!lll-tis,amdahl!altos86,bridge2}!elxsi!gww --------- cut --------- snip --------- :.,$w diff ------------- RCS file: /RCS/usr/src/etc/talkd/print.c,v retrieving revision 1.1 diff -c -r1.1 print.c *** /tmp/,RCSt1001391 Wed Apr 1 14:15:07 1987 --- print.c Wed Apr 1 14:14:28 1987 *************** *** 1,5 **** --- 1,8 ---- /* * $Log: print.c,v $ + * Revision 1.2 87/04/01 14:14:26 gww + * Add missing include. + * * Revision 1.1 87/04/01 14:07:57 gww * Initial revision * *************** *** 11,17 **** */ #ifndef lint ! static char *ERcsId = "$Header: print.c,v 1.1 87/04/01 14:07:57 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)print.c 5.2 (Berkeley) 3/13/86"; #endif not lint --- 14,20 ---- */ #ifndef lint ! static char *ERcsId = "$Header: print.c,v 1.2 87/04/01 14:14:26 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)print.c 5.2 (Berkeley) 3/13/86"; #endif not lint *************** *** 21,26 **** --- 24,30 ---- #include #include + #include static char *types[] = { "leave_invite", "look_up", "delete", "announce" }; *** /tmp/,RCSt1001398 Wed Apr 1 14:18:36 1987 --- table.c Wed Apr 1 14:14:25 1987 *************** *** 1,5 **** --- 1,8 ---- /* * $Log: table.c,v $ + * Revision 1.2 87/04/01 14:14:19 gww + * Add missing include. + * * Revision 1.1 87/04/01 14:07:58 gww * Initial revision * *************** *** 11,17 **** */ #ifndef lint ! static char *ERcsId = "$Header: table.c,v 1.1 87/04/01 14:07:58 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)table.c 5.2 (Berkeley) 3/13/86"; #endif not lint --- 14,20 ---- */ #ifndef lint ! static char *ERcsId = "$Header: table.c,v 1.2 87/04/01 14:14:19 gww Exp $ ENIX BSD"; static char sccsid[] = "@(#)table.c 5.2 (Berkeley) 3/13/86"; #endif not lint *************** *** 28,33 **** --- 31,37 ---- #include #include + #include #define MAX_ID 16000 /* << 2^15 so I don't have sign troubles */