From: Chris Torek <chris%umcp-cs.csnet at csnet-relay.arpa> Sounds like you wrote struct xxx { ... } foo () { which creates a ***STRUCTURE VALUED*** function. Don't forget that ';'! Try struct xxx { ... }; foo () { instead.