That would tend to mean that wait_queue_head_t wasn't defined, but it's defined in <linux/wait.h>, which is included from <asm/semaphore.h>. Odd. Maybe you can make sure that <linux/wait.h> exists and has that definition in it?
_________________________
Bitt Faulk