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 136

Summary: Error compiling on Tru64
Product: SDL Reporter: Hayashi Naoyuki <titan>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: HG 1.2   
Hardware: Other   
OS: Other   
Attachments: SDL12-osf1.patch

Description Hayashi Naoyuki 2006-02-04 23:02:44 UTC
Building with "--enable-x11-shared=no", the compilation fails.
cc: Error: SDL_x11sym.h, line 148: In this statement,
"_SmtBufferOverflow" is not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtBufferOverflow,(Display *dpy,register smtDisplayPtr))
^
cc: Error: SDL_x11sym.h, line 149: In this statement, "_SmtIpError" is
not declared. (undeclared)
SDL_X11_SYM(1,void,_SmtIpError,(Display *dpy,register smtDisplayPtr, int))


Tru64 X header has no declaration of _XData32, _SmtBufferOverflow,
_SmtIpError and ipAllocateData.
but these are used by macro.

This problem was fixed once and it succeeded in the compilation.
See Bugzilla #87.
http://www.libsdl.org/pipermail/sdl-cvs/2006-January/001106.html

But this problem revived by the following committing.
http://www.libsdl.org/pipermail/sdl-cvs/2006-February/001122.html
Comment 1 Hayashi Naoyuki 2006-02-04 23:04:46 UTC
Created attachment 69 [details]
SDL12-osf1.patch
Comment 2 Sam Lantinga 2006-03-09 10:19:34 UTC
I believe the current code in CVS works... Can you submit a new bug + patch if there are additional tweaks needed?  Thanks!