[comp.unix.ultrix] X windows/Motif with DECnet

durbeck@osage.csc.ti.com (Diane Durbeck) (03/21/91)

On our DS5000 running Ultrix 4.1, we have compiled and installed MIT's X11R4.18+
and the latest Xt patch from OSF to support Motif v1.1.1 .  All of the MIT
X clients and our own X applications operate fine under TCP/IP.  To operate
under DECnet protocol, we know to link in the DECnet library (-ldnet).
However, we still cannot run under DECnet.  The X system-derived error states 
that it is unable to open the display and XtOpenDisplay returns a NULL.

Does the '-ldnet' argument to 'ld' need to be placed before the X libraries
or after?  Does it even matter?  We have tried all placement strategies
with still no success.

When compiling the MIT X source, we noticed that there are defines for 
TCPCONN and UNIXCONN that should be turned on for TCP/IP and socket support,
respectively.  But we could not find an analogous define for DECnet (as in 
DNETCONN).  Is there one?  Did we overlook something?

Any help would be much appreciated.
Diane Durbeck
durbeck@ti.com

klee@wsl.dec.com (Ken Lee) (03/21/91)

In article <1991Mar20.203710.26775@csc.ti.com>, durbeck@osage.csc.ti.com (Diane Durbeck) writes:
|> Does the '-ldnet' argument to 'ld' need to be placed before the X libraries
|> or after? 

After.

|> When compiling the MIT X source, we noticed that there are defines for 
|> TCPCONN and UNIXCONN that should be turned on for TCP/IP and socket support,
|> respectively.  But we could not find an analogous define for DECnet (as in 
|> DNETCONN).

Yes, you do have to set DNETCONN when compiling the MIT sample Xlib.
Alternatively, you can use the DECwindows Xlib, which has DECnet
support built in.

-- 
Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee@wsl.dec.com
uucp: uunet!decwrl!klee