The camera LEDs don't do what I expect based on the code

Now I do see with compiling, that it shows a lot of error messages in the main.c so that could explain why it doesn't work as expected.
This main.c is from Coutts,
http://bitbucket.org/coutts/1000d_dev/src
The error messages while compiling are:
-----------------------------------------------------------------------------------------------------------
~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc -c -o entry.o entry.S
~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc -c -o entry_subs.o entry_subs.S
~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc -nostdlib -march=armv5te -fno-builtin -Wall -pedantic -std=gnu99 -c -o main.o main.c
main.c: In function 'dumpmemo':
main.c:19:3: warning: implicit declaration of function 'FIO_CloseFile' [-Wimplicit-function-declaration]
FIO_CloseFile(f);
^
main.c:22:2: warning: implicit declaration of function 'FIO_OpenFile' [-Wimplicit-function-declaration]
f = FIO_OpenFile("B:/ROMDUMP.BIN", 0, 0644);
^
main.c: In function 'MyTask2':
main.c:34:2: warning: implicit declaration of function 'msleep' [-Wimplicit-function-declaration]
msleep(5000);
^
main.c:37:5: warning: implicit declaration of function 'prop_request_change' [-Wimplicit-function-declaration]
prop_request_change(0x80040007, &x, 4);
^
main.c: In function 'CreateMyTask':
main.c:92:2: warning: ISO C forbids passing argument 4 of 'CreateTask' between function pointer and 'void *' [-Wpedantic]
CreateTask("MyTask2", 0x1A, 0x2000, MyTask2, 0);
^
In file included from main.c:1:0:
main.h:2:12: note: expected 'void *' but argument is of type 'void (*)()'
extern int CreateTask (const char *name, int prio, int stack_size /*?*/, void *entry, long parm /*?*/);
^
~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-gcc -nostdlib -march=armv5te -fno-builtin -Wall -pedantic -std=gnu99 -Wl,-T,link.script -oAUTOEXEC.arm.elf entry.o entry_subs.o main.o link.script
~/gcc-arm-none-eabi-4_8-2013q4/bin/arm-none-eabi-objcopy -O binary AUTOEXEC.arm.elf AUTOEXEC.BIN
-----------------------------------------------------------------------------------------------------------