Subject: Re: login.conf and xdm
To: Pierre Pronchery <khorben@defora.org>
From: Patrick Welche <prlw1@newn.cam.ac.uk>
List: tech-x11
Date: 11/03/2006 18:19:38
On Fri, Nov 03, 2006 at 05:20:05PM +0100, Pierre Pronchery wrote:
> 	Hi tech-x11,
> 
> xdm does not compile properly on my sparc64 system:
> session.o(.text+0x990): In function `StartClient':
> : undefined reference to `setuserenv'
> session.o(.text+0xac4): In function `StartClient':
> : undefined reference to `setuserpath'
> 
> I think this is related to the 1.2 commit on session.c, which does not
> include the code for these two functions.

Those functions are provided by libutil:

/usr/X11R6/bin/xdm:
        -lX11.6 => /usr/X11R6/lib/libX11.so.6
        -lXext.6 => /usr/X11R6/lib/libXext.so.6
        -lXinerama.1 => /usr/X11R6/lib/libXinerama.so.1
        -lXpm.4 => /usr/X11R6/lib/libXpm.so.4
        -lICE.6 => /usr/X11R6/lib/libICE.so.6
        -lSM.6 => /usr/X11R6/lib/libSM.so.6
        -lXt.6 => /usr/X11R6/lib/libXt.so.6
        -lXmu.6 => /usr/X11R6/lib/libXmu.so.6
        -lXau.6 => /usr/X11R6/lib/libXau.so.6
        -lXdmcp.6 => /usr/X11R6/lib/libXdmcp.so.6
        -lcrypt.0 => /usr/lib/libcrypt.so.0
        -lutil.7 => /usr/lib/libutil.so.7
        -lc.12 => /usr/lib/libc.so.12

HTH,

Patrick