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 788 - Compilation error
Summary: Compilation error
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: *don't know* (show other bugs)
Version: 1.2.13
Hardware: PowerPC Mac OS Classic
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords: target-1.2.14
Depends on:
Blocks:
 
Reported: 2009-09-03 19:17 UTC by Krisztian Koves
Modified: 2009-12-03 01:05 UTC (History)
2 users (show)

See Also:


Attachments
Word document of MPW's error message (31.50 KB, application/msword)
2009-09-03 19:17 UTC, Krisztian Koves
Details
MPW export list with carriage return line endings (3.35 KB, text/plain)
2009-10-17 21:04 UTC, Sam Lantinga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Krisztian Koves 2009-09-03 19:17:15 UTC
Created attachment 350 [details]
Word document of MPW's error message

I could not compile SDL with MPW. I have attached a Word document that contains the error messages that MPW output.
Comment 1 Ryan C. Gordon 2009-09-13 16:33:32 UTC
Tagging this bug with "target-1.2.14" so we can try to resolve it for SDL 1.2.14.

Please note that we may choose to resolve it as WONTFIX. This tag is largely so we have a comprehensive wishlist of bugs to examine for 1.2.14 (and so we can close bugs that we'll never fix, rather than have them live forever in Bugzilla).

--ryan.
Comment 2 Ryan C. Gordon 2009-09-19 08:09:53 UTC
I'm not able to test this from here, but it looks like a file has the wrong endline characters and MPW doesn't like it. It appears to think the list of exported symbol names is all one big symbol.

Probably the culprit is SDL.shlib.r ... Sam, do you even still have a box that can run MPW?

--ryan.
Comment 3 Sam Lantinga 2009-10-06 22:11:20 UTC
I just downloaded the latest SDL 1.2 snapshot and built it under MPW on Mac OS 9 with no problems:
http://www.libsdl.org/tmp/SDL-1.2.zip

Did you unpack MPWmake.sea and move SDL.make into the SDL-1.2.14 folder and set the working directory of MPW to that folder?

Are you still getting the error with the latest snapshot?  If so, what are you using to unpack SDL?
Comment 4 Krisztian Koves 2009-10-17 19:31:52 UTC
(In reply to comment #3)

I did unpack it and move the MPWMake file to the right place, as well as anything else that needed moving, but still those errors came up that are listed in the Word document. I was using MPW on Mac OS 8.6.
Comment 5 Sam Lantinga 2009-10-17 21:04:54 UTC
Created attachment 421 [details]
MPW export list with carriage return line endings

Can you try this SDL.x export file?
It goes in src/main/macos/exports

Thanks!
Comment 6 Sam Lantinga 2009-10-17 21:05:32 UTC
...
Comment 7 Sam Lantinga 2009-10-18 14:05:33 UTC
Actually, I converted all the .r files to Mac carriage return line endings.  You can try it out here:  http://www.libsdl.org/tmp/release/SDL-1.2.14.zip
Comment 8 C.W. Betts 2009-10-19 19:33:08 UTC
(In reply to comment #5)
> Can you try this SDL.x export file?
> It goes in src/main/macos/exports
From my own experience compiling SDL using MPW, MPW needs all files to have the filetype 'TEXT'.  Anything else and MPW complains that it's not a text file (even if it is).
Comment 9 Sam Lantinga 2009-10-21 15:10:21 UTC
I'm waiting for a response from the original author.
Comment 10 Sam Lantinga 2009-12-03 01:05:21 UTC
I think this is fixed, and there's no response from the original author, so I'm closing this for now.  Please reopen it if it's not fixed in the SDL 1.2.14 release. :)