May 24, 2007 15:11
So I'm compiling this module for work.
And I'm getting this error when I attempt to load the module into memory:
undefined symbol: sem_wait
Any programmers/linux people know why that would happen? I believe the offending code snippet is this:
#include
...
#define lock_get(lock) sem_wait(lock)
...
semaphore.h is in the gcc search path. I don't know why it is throwing this error. Anyone have an inkling?
*nudge Furt* *nudge Bryguy*