g++ -fhandle-exceptions -pipe -I. -D__OMNIORB2__ -I../../../include -DDEFAULT_LOGDIR=\"/var/omninames\" -o omniNames NamingContext_i.o log.o omniNames.o -L../../../src/lib/omniORB2 -lomniORB2 -L../../../src/lib/omnithread -lomnithread
../../../src/lib/omnithread/libomnithread.a(posix.o): In function `omni_mutex::omni_mutex(void)':
posix.o(.text+0x10): undefined reference to `pthread_mutex_init'
../../../src/lib/omnithread/libomnithread.a(posix.o): In function `omni_mutex::~omni_mutex(void)':
posix.o(.text+0xa2): undefined reference to `pthread_mutex_destroy'
../../../src/lib/omnithread/libomnithread.a(posix.o): In function `omni_mutex::lock(void)':