hi :D

i am trying to compile this code in the ide, which i've got from this
forum (i think i've got it from this forum, can't remember).

Code:
program helloworld;

{$apptype arm9} //...or arm7
{$define ARM9}   //...or arm7, according to apptype

{$mode objfpc}   // required for some libc funcs implementation

uses
  ctypes; // required by nds headers!

{$include nds.inc}  // headers!


var
	i: integer;

begin

  consoleDemoInit();
  videoSetMode(MODE_FB0);
  vramSetBankA(VRAM_A_LCD);
  printf('Hallo Wereld!'+#10);
  printf('www.noeska.com');

  for i := 0 to (256 * 192) - 1 do
    VRAM_A[i] := RGB15(31,0,0);

  while true do;

end.
The compiler tells me:

Recompiling because of C:\FPC214\libnds\nds\arm9\videoGL.inc
Undefined symbol: _consoleDemoInit
Undefined symbol: _vramSetBankA
Undefined symbol: _printf
i have set all needed directorys (accounting to a readme.txt) manually in
the fpc-ide (because it didn't really work with the fpc.cfg in bin\arm-nds).

can anybody help me, pls? i do not understand what i should do to fix
the error...