I'm using osx 10.4.11, Xcode 2.2.1

I've downloaded:

from here:
Simple DirectMedia Layer

I followed the instructions in the readme in SDL-1.2.13.dmg and copied the framework to:

/Library/Frameworks and then also to User/Library/Frameworks when it wasn't working

I then copied the contents of templatesforxcode in to SDL-devel-1.2.13-extras.dmg /Library/Application Support/Apple/Developer Tools/Project Templates/Appllcation and they are showing up when I create a new project in xcode

Whenever I try to compile, using any of the sdl templates, I get this error:

Command /usr/bin/gcc-4.0 failed with exit code 1
/Library/Frameworks/SDL.framework/SDL load command 6 unknown cmd field

So, I'm guessing it's finding the framework, but what does that error mean? And how do I fix it?