On Sun, Oct 26, 2008 at 11:08 PM, Martin Bochnig <martin at martux.org> wrote: > On Sun, Oct 26, 2008 at 9:38 PM, Alan Coopersmith > <Alan.Coopersmith at sun.com> wrote: > >>> This error comes into existance because libXdmcp.so.6 does not export >>> the two symbols XdmcpWrap and XdmcpUnwrap anymore, for some time now: >> >> They never have on Solaris - those are the symbols for the XDM-AUTH-1 >> authentication. You'd have to enable that in libXdmcp (should mainly be >> removing the open-src/lib/libXdmcp/Makefile rule to remove Wraphelp.*) and >> add those symbols to the spec/Xdmcp.spec file (which generates the libXdmcp >> mapfile) before you can build Xorg with XDM-AUTH-1 support. >> >> -- >> -Alan Coopersmith- alan.coopersmith at sun.com >> Sun Microsystems, Inc. - X Window System Engineering >> >> > > > Thanks for the quick info, I did this: > > bash-3.2$ cat xdmauth_fix.patch > diff -Nurb configure.ac configure.ac > --- configure.ac 2006-08-11 23:42:09.000000000 +0200 > +++ configure.ac 2008-10-26 20:40:58.076530000 +0100 > @@ -49,12 +49,7 @@ > AC_SUBST(XDMCP_CFLAGS) > AC_SUBST(XDMCP_LIBS) > > -if test -f ${srcdir}/Wraphelp.c; then > - AC_DEFINE(HASXDMAUTH,1,[Has Wraphelp.c needed for XDM AUTH protocols]) > - HASXDMAUTH=yes > -else > - HASXDMAUTH=no > -fi > +AC_CHECK_FILE(${srcdir}/Wraphelp.c,[AC_DEFINE(HASXDMAUTH,1,[Has > Wraphelp.c needed for XDM AUTH protocols]) > HASXDMAUTH=yes],[HASXDMAUTH=no]) > > AM_CONDITIONAL(HASXDMAUTH,test x$HASXDMAUTH = xyes) > > bash-3.2$ pwd > /export/home/bochnig/fox-gate/fox-gate__hg20081025sat/fox-gate/XW_NV/open-src/lib/libXdmcp > bash-3.2$ > > > But something is still wrong. > Update to follow. > > > -- > %martin >
Very funny, I should have read the entire lib/libXdmcp/Makefile: http://src.opensolaris.org/source/xref/fox/fox-gate/XW_NV/open-src/lib/libXdmcp/Makefile 65 66 # Remove encryption source before building 67 source_gen:: 68 -rm $(SOURCE_DIR)/Wraphelp.* 69 I re-enabled this. But the definite decision is of course up to you (or your lawyers).