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 4357 - iosbuild.sh broken with SDL 2.0.9
Summary: iosbuild.sh broken with SDL 2.0.9
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: build (show other bugs)
Version: 2.0.9
Hardware: iPhone/iPod touch iOS (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-04 08:37 UTC by Christoph Charles
Modified: 2019-12-31 18:40 UTC (History)
1 user (show)

See Also:


Attachments
Patch to configure.in that seems to solve the issue (727 bytes, patch)
2018-11-04 08:37 UTC, Christoph Charles
Details | Diff
Patch for latest SDL2 (589 bytes, patch)
2019-12-31 17:01 UTC, Daniel Knobe
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christoph Charles 2018-11-04 08:37:01 UTC
Created attachment 3444 [details]
Patch to configure.in that seems to solve the issue

The new source files for coremotion sensors don't seem to have been included correctly in configure.in. This leads to the build script ios-build.sh to fail at link time, complaining about missing symbols, namely about missing SDL_COREMOTION_SensorDriver.

Changing configure.in as provided in the patch attached seems to solve the issue;
Comment 1 Daniel Knobe 2019-12-31 15:09:03 UTC
Same problem here (SDL 2.0.9, 2.0.10 and current snapshot 2.0.11).

The attached patch works and looks good. It should be applied to configure.ac on the sdl2 mainline (previously configure.in in older sdl2 versions).

For those who don't know autotools well:
Run autogen.sh after applying the patch and before running ios-build.sh.
Comment 2 Daniel Knobe 2019-12-31 17:01:03 UTC
Created attachment 4145 [details]
Patch for latest SDL2
Comment 3 Sam Lantinga 2019-12-31 18:40:49 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL/rev/7bcf24416ca6