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

Summary: iosbuild.sh broken with SDL 2.0.9
Product: SDL Reporter: Christoph Charles <c.charles.dev>
Component: buildAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: Daniel-Knobe
Version: 2.0.9   
Hardware: iPhone/iPod touch   
OS: iOS (All)   
Attachments: Patch to configure.in that seems to solve the issue
Patch for latest SDL2

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