Linker error when compiling on OS X 10.5

When attempting to compile RetroArch on 10.5 using MacPorts GCC 4.6, I get this linker error:

LD retroarch
Undefined symbols:
  "_rarch_key_map_sdl", referenced from:
      _rarch_key_map_sdl$non_lazy_ptr in sdl_input.o
     (maybe you meant: _rarch_key_map_sdl$non_lazy_ptr)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [retroarch] Error 1

My config.mk is here.

Any solutions?

Failing that, are there any known up-to-date (or decently up-to-date) RetroArch builds for PPC Macs out there?