Linker error on iOS, _main not found?

Hey

Im trying to compile the iPad demos from latest HG, but get this linker
error:

Undefined symbols for architecture armv7:

“_main”, referenced from:

  start in crt1.3.1.o

ld: symbol(s) not found for architecture armv7
clang: error: linker command failed with exit code 1 (use -v to see
invocation)

Anyone know how to fix it?

/Jacob

– “Believe nothing, no matter where you read it, or who said it, no matter
if I have said it, unless it agrees with your own reason and your own
common sense.” – Buddha