dev builds
themes manual
device status forums
mailing lists
IRC bugs
dev guide

Rockbox mail archive

Subject: Simulator on Darwin (OS X)

Simulator on Darwin (OS X)

From: Jvo Studer <>
Date: Thu, 9 Mar 2006 17:26:49 +0100

Is there anybody out there who successfully built the simulator on
Darwin BSD (OS X)?

I have some serious problems I need some help with.
First I successfully installed SDL via the classical ./configure, make,
sudo make install.
Also added the necessary Paths to /etc/profile for SDL and X11R6.

When I try to build a simulator I got the following error:

Simulator build selected

Build (S)DL version? (S)

Selected sdl simulator
Unsupported system: Darwin, fix configure and retry

So I changed configure for using the same options as the Linux or
FreeBSD version.
With FreeBSD I get:
Selected sdl simulator
Darwin (BSD) host detected
../tools/configure: line 162: [: too many arguments
Simulator environment deemed big endian
sub directory archos already present
Using gcc 3.3 (303)
Created Makefile
192:~/SDK/rockbox-jsl060305/build jvostuder$ make
make[1]: `rdf2binary' is up to date.
make[1]: `convbdf' is up to date.
make[1]: `scramble' is up to date.
make[1]: `descramble' is up to date.
make[1]: `mkboot' is up to date.
make[1]: `bmp2rb' is up to date.
make[1]: `codepages' is up to date.
make[1]: *** No rule to make target `SDL.h', needed by
`/Users/jvostuder/SDK/rockbox-jsl060305/build/sim/button.o'. Stop.
make: *** [all] Error 2

If I change it to use 'Linux' I can create the Makefile but then
building fails:
CC button.c
CC kernel.c
CC lcd-bitmap.c
CC lcd-remote.c
CC lcd-sdl.c
CC sound.c
CC thread-sdl.c
CC uisdl.c
AR /Users/jvostuder/SDK/rockbox-jsl060305/build/libsim.a
CC fmradio.c
CC io.c
io.c:29:21: sys/vfs.h: No such file or directory
io.c: In function `fat_size':
io.c:272: error: storage size of `fs' isn't known
io.c:274: warning: implicit declaration of function `statfs'
io.c:272: warning: unused variable `fs'
make[1]: *** [/Users/jvostuder/SDK/rockbox-jsl060305/build/comsim/io.o]
Error 1
make: *** [all] Error 2

As you can see I'm really stuck here, any help apreciated.

Received on 2006-03-09

Page was last modified "Sat May 23 08:12:40 2020" The Rockbox Crew