[Bug 16837] New: Xdmcp/Xau undefined on OpenBSD

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Jan 6 23:57:08 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=16837

           Summary: Xdmcp/Xau undefined on OpenBSD
           Product: Wine
           Version: 1.1.12
          Platform: PC
        OS/Version: OpenBSD
            Status: NEW
          Keywords: patch, source
          Severity: critical
          Priority: P2
         Component: build-env
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: austinenglish at gmail.com


Getting past all the other bugs, here's the latest showstopper:

bash-3.2$ ./wine notepad
err:process:__wine_kernel_init boot event wait timed out
sigaltstack: Invalid argument
fixme:reg:GetSystemInfo not yet supported on this system
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauDisposeAuth'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XdmcpWrap'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauGetBestAuthByAddr'
err:module:load_builtin_dll failed to load .so lib for builtin
L"winex11.drv": Cannot load specified object
sigaltstack: Invalid argument
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauDisposeAuth'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XdmcpWrap'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauGetBestAuthByAddr'
err:module:load_builtin_dll failed to load .so lib for builtin
L"winex11.drv": Cannot load specified object
fixme:reg:GetSystemInfo not yet supported on this system
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauDisposeAuth'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XdmcpWrap'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauGetBestAuthByAddr'
err:module:load_builtin_dll failed to load .so lib for builtin
L"winex11.drv": Cannot load specified object
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauDisposeAuth'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XdmcpWrap'
/home/austin/wine-git/loader/wine:/home/austin/wine-git/dlls/winex11.drv/winex11.drv.so:
undefined symbol 'XauGetBestAuthByAddr'
err:module:load_builtin_dll failed to load .so lib for builtin
L"winex11.drv": Cannot load specified object
Application tried to create a window, but no driver could be loaded.
Unknown error (127).
Application tried to create a window, but no driver could be loaded.
Unknown error (127).

Googling around got me this:
http://archives.neohapsis.com/archives/openbsd/2007-07/1593.html

Which, this patch fixes:
diff --git a/configure.ac b/configure.ac
index aaeff42..2a72826 100644
--- a/configure.ac
+++ b/configure.ac
@@ -643,7 +643,7 @@ dnl **** Check for X11 ****

 if test "$have_x" = "yes"
 then
-    XLIB="-lXext -lX11"
+    XLIB="-lXext -lX11 -lXdmcp -lXau"
     ac_save_CPPFLAGS="$CPPFLAGS"
     CPPFLAGS="$CPPFLAGS $X_CFLAGS"

Though perhaps the check should be more modular?

TBBLe on IRC:
<TBBle>The probably correct procedure is either: "Check for a symbol in
-lXdmcp, if found, set a flag. If not, clear that flag, and throw #ifdef around
the code that uses Xdmcp" or "Check for a symbol in -lXdmcp, if not found, bomb
out of configure because we rely on Xdmcp for something intrinsic to what we're
doing".

With that patch (along with the other OpenBSD bugs patched around), and a
similar one for freetype (another bug in a sec), 'wine notepad' starts :-).


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list