ratheesh k wrote: > I have an embedded box running 2.6.18 linux with rt patch. > > I am developing an userspace application which need timer_create() . > I have a big desktop machine with a 4 GB ram, running only linux > 2.6.18 ( not rt linux ) . I would like to compile and test it on this > Desktop PC . > > I compiled my program and linked with librt.a on my Desktop PC. But > when i run my program , it says > > undefined symbol: pthread_once > > what could be the problem, ??? pthread_once is defined in libpthread, which you should be linking against if you're using librt. -- Glynn Clements <glynn@xxxxxxxxxxxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html