There's a "-Ddef" in your compile line that doesn't belong there. I'm curious about where it came from, as configure never generates this and you're not the first person to be tripped up by this problem. Can you trace your configure / make depend / make steps and locate what generated that definition?
That was it. Thanks for the quick response and keen eye.
Jon Roberts www.mentata.com