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 2698 - Build fails with smpeg + libmikmod enabled
Summary: Build fails with smpeg + libmikmod enabled
Status: RESOLVED FIXED
Alias: None
Product: SDL_mixer
Classification: Unclassified
Component: misc (show other bugs)
Version: 2.0.0
Hardware: ARM Android (All)
: P2 normal
Assignee: Sam Lantinga
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-23 16:05 UTC by Bob Ombo
Modified: 2017-10-18 08:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bob Ombo 2014-08-23 16:05:23 UTC
ndk-build fails when
in: jni/SDL2_mixer-2.0.0/Android.mk
SUPPORT_MOD_MIKMOD := true
SUPPORT_MP3_SMPEG := true

What i found out: 
libs are not built at all because the external Android.mk are not used.

'include $(call all-subdir-makefiles)' in ./Android.mk does just use ./sub*/Android.mk and not ./sub*/*/Android.mk

So we need to add it in 
jni/SDL2_mixer-2.0.0/Android.mk
and there needs to be a
jni/SDL2_mixer-2.0.0/external/Android.mk
with one line 'include $(call all-subdir-makefiles)'

That compiles it, but leads to some linking errors, i could not yet resolve.
Comment 1 Sam Lantinga 2017-10-18 08:57:29 UTC
Fixed, thanks!
https://hg.libsdl.org/SDL_mixer/rev/3b05140ef301