Bayani, I assume you're using the element at userlevel?
According to Linux manual pages, "Programs using the POSIX semaphores API must be compiled with cc -lrt to link against the real-time library, librt." You do this in Click by adding this to the end of your element: ELEMENT_LIBS((-lrt)) make elemlist; make & you should be good to go Eddie Bayani Carbone wrote: > Hi, is it possible to use POSIX semaphores in an element? I keep getting > this error when running a configuration: > undefined symbol: sem_unlink. Will I have to use System V semaphores > instead (shared memory works fine btw)? > > Thanks, > > Bayani Carbone > _______________________________________________ > click mailing list > [email protected] > https://amsterdam.lcs.mit.edu/mailman/listinfo/click _______________________________________________ click mailing list [email protected] https://amsterdam.lcs.mit.edu/mailman/listinfo/click
