We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 87 - "Dynamic X11 code" causes problems on Tru64.
Summary: "Dynamic X11 code" causes problems on Tru64.
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: Other Other
: P2 blocker
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-26 12:47 UTC by Hayashi Naoyuki
Modified: 2006-01-30 13:22 UTC (History)
0 users

See Also:


Attachments
SDL12-osf1.patch (4.61 KB, patch)
2006-01-26 12:55 UTC, Hayashi Naoyuki
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Hayashi Naoyuki 2006-01-26 12:47:25 UTC
If building with --enable-x11-shared=yes, we get runtime errors.
If building with --enable-x11-shared=no, we get compile errors.

1. X11 library is libX11.so on Tru64 UNIX.
2. X11 extension library is libXext.so on Tru64 UNIX.
configure.in is fixed.

3. _SmtBufferOverflow, _SmtIpError, ipAllocateData and ipUnallocateAndSendData are used in X headers.
So the code for this is added in SDL_x11dyn.h and SDL_x11sym.h.

4. If building with --enable-x11-shared=no, the compiler produce the following error.
cc: Error: SDL_x11sym.h, line 143: In this statement, "_XData32" is not declared. (undeclared)
cc: Error: SDL_x11sym.h, line 144: In this statement, "_XRead32" is not declared. (undeclared)

5. If building with --enable-x11-shared=no and not linking with libX11.so, programs using SDL fail and we get following message.
Xlib: connection to ":0.0" refused by server
Xlib: XDM authorization key matches an existing client!

It succeeds if retrying XOpenDisplay 1 second later
or if running xhost +localhost on shell.
Comment 1 Hayashi Naoyuki 2006-01-26 12:55:12 UTC
Created attachment 42 [details]
SDL12-osf1.patch

These problems are fixed with this patch.
Comment 2 Ryan C. Gordon 2006-01-27 11:23:26 UTC
Setting Sam as "QA Contact" on all bugs (even resolved ones) so he'll definitely be in the loop to any further discussion here about SDL.

--ryan.

Comment 3 Ryan C. Gordon 2006-01-30 13:22:00 UTC
Fixed in CVS now, thanks!

--ryan.