[comp.windows.x] BUG with 'xgo' on ISC 2.2 -- any idea what's wrong?

mark@motcsd.csd.mot.com (Mark Jeghers) (09/19/90)

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