[comp.windows.x] Can't assign requested address

hoyt@bessie.alf.dec.com (Kurt Hoyt) (01/10/90)

I just installed X11R4 on my VAXstation 3100. When testing with xinit, the
server complains with the following message:

Getting interface configuration: Can't assign requested address

I am running Ultrix 3.1. I used gcc-1.36 to compile and link.

The compile flags for os/4.2bsd (where the ioctl that failed is -- access.c)
were:

gcc -DNOSTDHDRS 
    -fstrength-reduce
    -fpcc-struct-return 
    -c -O -I../../../. -I. I../../include -I../../.././X11 -I../../.././lib/Xau 
    -Dultrix -Dvax -Dunix -Dbsd4_2
    -DSHAPE -DMITSHM -DMULTIBUFFER -DMITMISC -DXDMCP
    -DNOSTDHDRS -DX11R4 -DTCPCONN -DUNIXCONN  access.c

The DECwindows server will run just fine. Both use the 6000 + <display number>
TCP socket address, so I'm at a loss as to why the DECwindows server can get
that address, but X11R4 can't (the servers are run separately).

Kurt Hoyt
Digital Equipment Corporation
hoyt@decatl.alf.dec.com or hoyt@decatl.dec.com or hoyt%decatl@decwrl.dec.com
"Daddy, you not people, you a GUY! Mommy a girl." -- Faith Hoyt

rws@EXPO.LCS.MIT.EDU (Bob Scheifler) (01/10/90)

    Getting interface configuration: Can't assign requested address

(Aren't you reading this list?)  Are you sure you had run gcc's
"fixincludes" before compiling the system?  If not, then all
ioctl() calls are mis-compiled.

envbvs@epb2.lbl.gov (Brian V. Smith) (01/11/90)

In article <9001101337.AA02509@expire.lcs.mit.edu>, rws@EXPO.LCS.MIT.EDU
(Bob Scheifler) writes:
< 
<     Getting interface configuration: Can't assign requested address
< 
< (Aren't you reading this list?)  Are you sure you had run gcc's
< "fixincludes" before compiling the system?  If not, then all
< ioctl() calls are mis-compiled.

I have been reading this list and I thought I had run fixincludes.
However, to be sure, I recompiled all the routines that had ioctls in them and
then some (including lib/X/XConnDis.c) using cc, but that didn't help.

Listen to this, though:  Now that I have the R4 server AND R4 clients 
working together (using all cc), when I try to start an R3 client on the
R4 server, it gets the "Can't assign requested address" error.

How could this possibly have anything to do with bad ioctls?
Or does it mean that both the R3 server and clients were broken in the
same way so that they worked together OK?
_____________________________________
Brian V. Smith    (bvsmith@lbl.gov)
Lawrence Berkeley Laboratory
I don't speak for LBL, these non-opinions are all mine.