I would never claim to be a programmer, but the output you posted tells you what the errors are. You need to look at the line in your source code where the error occurs and figure out what is wrong.
Code:
/home/uranus/C_project/hid/src/hid.cpp:54: error: ‘wait_queue_head_t’ does not name a type
Tells you that line 54 in hid.cpp is where the error occurs and what the error is. In KDevelop, if you click on the error message, you will be taken to the appropriate line.
I suspect someone would need to see the source before they could tell you what you're doing wrong.