Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenTTD fails to compile on Mac OS X as of r24488 #5276

Closed
DorpsGek opened this issue Aug 22, 2012 · 5 comments
Closed

OpenTTD fails to compile on Mac OS X as of r24488 #5276

DorpsGek opened this issue Aug 22, 2012 · 5 comments
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

tailcat opened the ticket and wrote:

OpenTTD fails to compile on Mac OS X 10.8, revision r24487 compiles successfully.

[SRC] Linking openttd
Undefined symbols for architecture x86_64:
"char const* TryGetBaseSetFile(ContentInfo const*, bool, GraphicsSet const*)", referenced from:
ContentInfo::GetTextfile(TextfileType) const in tcp_content.o
"char const* TryGetBaseSetFile(ContentInfo const*, bool, MusicSet const*)", referenced from:
ContentInfo::GetTextfile(TextfileType) const in tcp_content.o
"char const* TryGetBaseSetFile(ContentInfo const*, bool, SoundsSet const*)", referenced from:
ContentInfo::GetTextfile(TextfileType) const in tcp_content.o
ld: symbol(s) not found for architecture x86_64
collect2: ld returned 1 exit status
make[1]: *** [openttd] Error 1
make: *** [all] Error 1

Bug seems to have been introduced in r24488, it is still won't compile as of r24494

Reported version: trunk
Operating system: Mac OS X


This issue was imported from FlySpray: https://bugs.openttd.org/task/5276
@DorpsGek
Copy link
Member Author

planetmaker wrote:

I fail to reproduce the problem. Can you attach your config.cache? Did you switch architecture or compiler like from gcc 4.0 to gcc 4.2 without re-configure and make clean?


This comment was imported from FlySpray: https://bugs.openttd.org/task/5276#comment11463

@DorpsGek
Copy link
Member Author

tailcat wrote:

config.cache file attached, yes I did a "make distclean" before I reported the error.

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5276#comment11464

@DorpsGek
Copy link
Member Author

frosch wrote:

Does this diff make it compile again?

Attachments


This comment was imported from FlySpray: https://bugs.openttd.org/task/5276#comment11465

@DorpsGek
Copy link
Member Author

tailcat wrote:

Thanks frosch, that solved the problem.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5276#comment11466

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Fixed

in r24496


This comment was imported from FlySpray: https://bugs.openttd.org/task/5276

@DorpsGek DorpsGek added flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) Build system labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant