Re: installing openmama on ubuntu 12


Roan Horning
 

I haven't run into this specific issue, but usually when I get
messages about undefined references it means I haven't installed the
development version of the library in question. It looks like there is
a libboost-thread-dev package in Ubuntu. That might solve your
problems.

--Roan

On Mon, Aug 27, 2012 at 3:23 PM, John Gray <john.gray@neueda.com> wrote:
I have installed openmama on Ubuntu 12 (32bit) but having trouble building
it - getting the following error:



Googling seems to indicate a problem with Boost or pthreads. Any advice?



Thanks

John



/bin/bash ../../../libtool --tag=CXX --mode=link g++ -g -O2
-L/usr/local/lib -L./../../cpp -L./../../c
-L./../../../../../common/c_cpp/src/c -o mamalistencpp mamalistencpp.o
-lmamacpp -lmama -lpthread -ldl -lnsl

libtool: link: g++ -g -O2 -o .libs/mamalistencpp mamalistencpp.o
-L/usr/local/lib -L./../../cpp -L./../../c
-L./../../../../../common/c_cpp/src/c
/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/cpp/.libs/libmamacpp.so
-L./../c
/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so
-L./../../../../common/c_cpp/src/c -lrt -luuid -lpthread -ldl -lnsl
-Wl,-rpath -Wl,/home/openmama/openmama/OpenMAMA-2.1/lib

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_init'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_mutexattr_settype'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_key_create'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_destroy'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_getspecific'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_timedwait'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_create'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_mutexattr_init'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_key_delete'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_post'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_trywait'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_getvalue'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_setspecific'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `sem_wait'

/home/openmama/openmama/OpenMAMA-2.1/mama/c_cpp/src/c/.libs/libmama.so:
undefined reference to `pthread_join'


_______________________________________________
Openmama-users mailing list
Openmama-users@lists.openmama.org
https://lists.openmama.org/mailman/listinfo/openmama-users

Join Openmama-users@lists.openmama.org to automatically receive all group messages.