Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!apple!motcsd!motcsd.csd.mot.com!mark From: mark@motcsd.csd.mot.com (Mark Jeghers) Newsgroups: comp.windows.x Subject: BUG with 'xgo' on ISC 2.2 -- any idea what's wrong? Message-ID: <1496@motcsd.csd.mot.com> Date: 19 Sep 90 00:07:28 GMT Sender: usenet@motcsd.csd.mot.com Distribution: usa Organization: Motorola CSD, Cupertino CA Lines: 44 Here is the segment of code giving me trouble: ============================================================= } else if (iamserver) { port = hashaddr(myaddr, port, mylen); port = hashaddr(hisaddr, port, hislen); port = hashport(myname, port); port = hashport(oppon, port); } else { port = hashaddr(hisaddr, port, hislen); port = hashaddr(myaddr, port, mylen); port = hashport(oppon, port); port = hashport(myname, port); } port += 3000; addr.sin_family = AF_INET; addr.sin_port = htons (port); ******* line 121 connectmes(); ============================================================= And here is what the compile attempt yields: ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| cc -DBINDIR=\"/usr/public\" -c connect.c /usr/include/net/errno.h: 53: ENAMETOOLONG redefined /usr/include/net/errno.h: 58: ENOTEMPTY redefined "connect.c", line 121: illegal class "register" in asm % line *** Error code 1 Stop. ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| Any ideas what is wrong? On another topic? Where can I get a working copy of the procedure scandir() for ISC 2.2? Some X programs use it, and the versions of scandir() provided don't seem to work (and in some cases, scandir() is not provided!)... Thanks in advance. Mark Jeghers Motorola Computer Systems