I needed to remove that #if 0 as well. The only possiblity I can come up with is that some combination of tools you used was trying to link the kernel against libc.
_________________________
40GB - serial #40104051 gpsapp