Error building SDL 1.3 for Android on OSX 10.7.2

Hi, I’ve having troubling building SDL 1.3 for Android on OSX 10.7.2.

The problem occurs when I run ndk-build, I get error “SDL/src/cpuinfo/SDL_cpuinfo.c:33:24: error: sys/sysctl.h: No such file or directory”

Tried the solutions posted here and elsewhere including using a clean source code tree but no joy.

Grateful for thoughts on a fix, thanks.

It sounds like you’ve overwritten SDL_config.h with one generated by
configure. Try copying include/SDL_config_android.h to include/SDL_config.hOn Fri, Jan 20, 2012 at 11:27 PM, surfslipstream wrote:

**
Hi, I’ve having troubling building SDL 1.3 for Android on OSX 10.7.2.

The problem occurs when I run ndk-build, I get error
"SDL/src/cpuinfo/SDL_cpuinfo.c:33:24: error: sys/sysctl.h: No such file or
directory"

Tried the solutions posted here and elsewhere including using a clean
source code tree but no joy.

Grateful for thoughts on a fix, thanks.


SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org