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 - Error compiling on Tru64
Summary: Error compiling on Tru64
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 1.2
Hardware: Other Other
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 23:02 UTC by Hayashi Naoyuki
Modified: 2006-03-09 10:19 UTC (History)
0 users

See Also:


Attachments
SDL12-osf1.patch (1.63 KB, patch)
2006-02-04 23:04 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-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!