Re: MAMA API not enforcing entitlement checks message
Nicolas Huyghe
Hi Jacob,
The publisher / subscriber samples work fine (as well as the JNI samples). I need to understand how entitlements are working when using OpenMAMA. Is the entitlement server proprietary (as well as the entitlement client code which is disabled by default when compiling OpenMAMA)?. Can you tell me what OEA entitlement stand for in the dev guide?
Thanks
-Nicolas
From: Jacobraj Benet [mailto:JBenet@...]
Sent: Wednesday, August 29, 2012 4:37 PM To: Nicolas Huyghe; openmama-users@... Subject: Re: [Openmama-users] MAMA API not enforcing entitlement checks message
Hi Nicolas,
The below message is only a warning message that informs that application is not enforcing entitlement.
This is not of any concern, How are you running the example program? Can you run the same application with –v –v –v –v and send us the error output.
Thanks, -- Jacob
From: Nicolas Huyghe <Nicolas.Huyghe@...>
Hi,
I am new to Open MAMA and have the message below when starting a sample subscriber.
******************************************************************************** Note: This build of the MAMA API is not enforcing entitlement checks. Please see the Licensing file for details **********************************************************************************
Does anybody know where this “licensing file” is or what this message is about?
Nicolas Please consider the environment before printing this email. Visit our website at http://www.nyse.com
|
|
Re: installing openmama on ubuntu 12
Jacobraj Benet <JBenet@...>
Hi John,
I don't have lot of experience setting up the Virtual machine and so I can't provide much guidance on the version of Virtual Machine to use for the training.
In the past, we have use linux laptop without the Virtual machine and we were able to build, compile and run MAMA application with no issues on many flavors of Linux.
Just for clarification purpose, Why are you using Virtual machine if we are going to provide laptop for every individual. Why not just provide them linux installed laptop? Just a thought.
Thanks,
-- Jacob
From: John Gray <john.gray@...>
Date: Wednesday, August 29, 2012 3:17 PM To: Jacobraj Benet <jbenet@...>, "openmama-users@..." <openmama-users@...> Cc: Brian Fitzpatrick <brian.fitzpatrick@...>, Jamie Hill <JHill@...> Subject: RE: [Openmama-users] installing openmama on ubuntu 12 (Adding Jamie)
Hi Jacob
I have a working version on Ubuntu 10.04 64bit – but this is unsuitable for training as there was a lot of problems that were never quite resolved getting the VM setup for the dry run. I was aiming for a 32bit version of VMDK in 2GB max file size (VBOX and VMWare compatible) as the lowest common denominator – never quite sure what there will be available on client training sites.
Im open to any other suggestions around this issue and how we can have a very portable system that will easily work with the majority of expected hardware arrangements.
The environment build is talking the vast majority of the prep time – the other tasks are largely about getting a bit more orgainsed with exercises etc. I will need some input from NYSE with the building of this.
Thanks John
From: Jacobraj Benet [mailto:JBenet@...]
Sent: 28 August 2012 22:33 To: John Gray; openmama-users@... Cc: Brian Fitzpatrick Subject: Re: [Openmama-users] installing openmama on ubuntu 12
Hi John,
Are you having this issue only on ubuntu 12 or also in earlier version of Ubuntu? I know in the past you were able to build and run mama on Ubuntu, What is very different with this build?
Is the build issue only on 64 bit? Or also on the 32 bit?
Thanks, -- Jacob
From: John Gray <john.gray@...>
Hi
I did a complete folder rm –rf OpenMama2.1 and re-extracted the files.
I’ve made sure the pthread is installed and the LD_LIBRARY_PATH is set but still getting the same 3 errors:
· Warning about not using WombatCommon in configuration output (/opt/openmama/include/wombat/machine.h not useable and not present) · Undefined pthread references (as before) · File in wrong format (as before)
I have also tried the latest downloads version 2.1.1.2 but for the same configure command line I get a series of “No such file or directory” errors: Line 58, 63,68,73
Any further thoughts?
j
From: Jacobraj Benet [mailto:JBenet@...]
Hi John,
Can you try to do a clean build of the MAMA API making sure that the pthread is installed and the location of the installed folder is in the LD_LIBRARY_PATH
If it still complaining about pthread, then can you try it on some other machine to rule out any architectural issues. I am unable to advice clearly as this is machine specific library error, but it seems like either pthread is not installed properly or the location of the pthread in not included in the Lib folder.
Thanks, -- Jacob
From: John Gray <john.gray@...>
Hi Jacob,
Im still stuck with these errors – can you give some advice?
Thanks j
From: John Gray
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj Benet
[mailto:JBenet@...]
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at http://www.nyse.com
|
|
Re: MAMA API not enforcing entitlement checks message
Jacobraj Benet <JBenet@...>
Hi Nicolas,
The below message is only a warning message that informs that application is not enforcing entitlement.
This is not of any concern, How are you running the example program? Can you run the same application with –v –v –v –v and send us the error output.
Thanks,
-- Jacob
From: Nicolas Huyghe <Nicolas.Huyghe@...>
Date: Wednesday, August 29, 2012 11:01 AM To: "openmama-users@..." <openmama-users@...> Subject: [Openmama-users] MAMA API not enforcing entitlement checks message Hi,
I am new to Open MAMA and have the message below when starting a sample subscriber.
******************************************************************************** Note: This build of the MAMA API is not enforcing entitlement checks. Please see the Licensing file for details **********************************************************************************
Does anybody know where this “licensing file” is or what this message is about?
Nicolas Please consider the environment before printing this email. Visit our website at http://www.nyse.com
|
|
Re: installing openmama on ubuntu 12
John Gray <john.gray@...>
(Adding Jamie)
Hi Jacob
I have a working version on Ubuntu 10.04 64bit – but this is unsuitable for training as there was a lot of problems that were never quite resolved getting the VM setup for the dry run. I was aiming for a 32bit version of VMDK in 2GB max file size (VBOX and VMWare compatible) as the lowest common denominator – never quite sure what there will be available on client training sites.
Im open to any other suggestions around this issue and how we can have a very portable system that will easily work with the majority of expected hardware arrangements.
The environment build is talking the vast majority of the prep time – the other tasks are largely about getting a bit more orgainsed with exercises etc. I will need some input from NYSE with the building of this.
Thanks John
From: Jacobraj
Benet [mailto:JBenet@...]
Sent: 28 August 2012 22:33 To: John Gray; openmama-users@... Cc: Brian Fitzpatrick Subject: Re: [Openmama-users] installing openmama on ubuntu 12
Hi John,
Are you having this issue only on ubuntu 12 or also in earlier version of Ubuntu? I know in the past you were able to build and run mama on Ubuntu, What is very different with this build?
Is the build issue only on 64 bit? Or also on the 32 bit?
Thanks, -- Jacob
From: John Gray <john.gray@...>
Hi
I did a complete folder rm –rf OpenMama2.1 and re-extracted the files.
I’ve made sure the pthread is installed and the LD_LIBRARY_PATH is set but still getting the same 3 errors:
· Warning about not using WombatCommon in configuration output (/opt/openmama/include/wombat/machine.h not useable and not present) · Undefined pthread references (as before) · File in wrong format (as before)
I have also tried the latest downloads version 2.1.1.2 but for the same configure command line I get a series of “No such file or directory” errors: Line 58, 63,68,73
Any further thoughts?
j
From: Jacobraj Benet [mailto:JBenet@...]
Hi John,
Can you try to do a clean build of the MAMA API making sure that the pthread is installed and the location of the installed folder is in the LD_LIBRARY_PATH
If it still complaining about pthread, then can you try it on some other machine to rule out any architectural issues. I am unable to advice clearly as this is machine specific library error, but it seems like either pthread is not installed properly or the location of the pthread in not included in the Lib folder.
Thanks, -- Jacob
From: John Gray <john.gray@...>
Hi Jacob,
Im still stuck with these errors – can you give some advice?
Thanks j
From: John Gray
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj Benet
[mailto:JBenet@...]
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at
http://www.nyse.com
|
|
MAMA API not enforcing entitlement checks message
Nicolas Huyghe
Hi,
I am new to Open MAMA and have the message below when starting a sample subscriber.
******************************************************************************** Note: This build of the MAMA API is not enforcing entitlement checks. Please see the Licensing file for details **********************************************************************************
Does anybody know where this “licensing file” is or what this message is about?
Nicolas
|
|
Re: installing openmama on ubuntu 12
Roan Horning
Hi Jacob,
toggle quoted messageShow quoted text
I am able to build it on Ubuntu 12.04 64bit .
On Tue, Aug 28, 2012 at 5:32 PM, Jacobraj Benet <JBenet@nyx.com> wrote:
Hi John,
|
|
Re: installing openmama on ubuntu 12
Jacobraj Benet <JBenet@...>
Hi John,
Are you having this issue only on ubuntu 12 or also in earlier version of Ubuntu? I know in the past you were able to build and run mama on Ubuntu, What is very different with this build?
Is the build issue only on 64 bit? Or also on the 32 bit?
Thanks,
-- Jacob
From: John Gray <john.gray@...>
Date: Tuesday, August 28, 2012 3:25 PM To: Jacobraj Benet <jbenet@...>, "openmama-users@..." <openmama-users@...> Cc: Brian Fitzpatrick <brian.fitzpatrick@...> Subject: RE: [Openmama-users] installing openmama on ubuntu 12 Hi
I did a complete folder rm –rf OpenMama2.1 and re-extracted the files.
I’ve made sure the pthread is installed and the LD_LIBRARY_PATH is set but still getting the same 3 errors:
· Warning about not using WombatCommon in configuration output (/opt/openmama/include/wombat/machine.h not useable and not present) · Undefined pthread references (as before) · File in wrong format (as before)
I have also tried the latest downloads version 2.1.1.2 but for the same configure command line I get a series of “No such file or directory” errors: Line 58, 63,68,73
Any further thoughts?
j
From: Jacobraj Benet [mailto:JBenet@...]
Sent: 28 August 2012 20:30 To: John Gray; openmama-users@... Cc: Brian Fitzpatrick Subject: Re: [Openmama-users] installing openmama on ubuntu 12
Hi John,
Can you try to do a clean build of the MAMA API making sure that the pthread is installed and the location of the installed folder is in the LD_LIBRARY_PATH
If it still complaining about pthread, then can you try it on some other machine to rule out any architectural issues. I am unable to advice clearly as this is machine specific library error, but it seems like either pthread is not installed properly or the location of the pthread in not included in the Lib folder.
Thanks, -- Jacob
From: John Gray <john.gray@...>
Hi Jacob,
Im still stuck with these errors – can you give some advice?
Thanks j
From: John Gray
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj Benet
[mailto:JBenet@...]
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at http://www.nyse.com
|
|
Re: installing openmama on ubuntu 12
John Gray <john.gray@...>
Hi
I did a complete folder rm –rf OpenMama2.1 and re-extracted the files.
I’ve made sure the pthread is installed and the LD_LIBRARY_PATH is set but still getting the same 3 errors:
· Warning about not using WombatCommon in configuration output (/opt/openmama/include/wombat/machine.h not useable and not present) · Undefined pthread references (as before) · File in wrong format (as before)
I have also tried the latest downloads version 2.1.1.2 but for the same configure command line I get a series of “No such file or directory” errors: Line 58, 63,68,73
Any further thoughts?
j
From: Jacobraj
Benet [mailto:JBenet@...]
Sent: 28 August 2012 20:30 To: John Gray; openmama-users@... Cc: Brian Fitzpatrick Subject: Re: [Openmama-users] installing openmama on ubuntu 12
Hi John,
Can you try to do a clean build of the MAMA API making sure that the pthread is installed and the location of the installed folder is in the LD_LIBRARY_PATH
If it still complaining about pthread, then can you try it on some other machine to rule out any architectural issues. I am unable to advice clearly as this is machine specific library error, but it seems like either pthread is not installed properly or the location of the pthread in not included in the Lib folder.
Thanks, -- Jacob
From: John Gray <john.gray@...>
Hi Jacob,
Im still stuck with these errors – can you give some advice?
Thanks j
From: John Gray
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj Benet
[mailto:JBenet@...]
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at
http://www.nyse.com
|
|
Re: installing openmama on ubuntu 12
Jacobraj Benet <JBenet@...>
Hi John,
Can you try to do a clean build of the MAMA API making sure that the pthread is installed and the location of the installed folder is in the LD_LIBRARY_PATH
If it still complaining about pthread, then can you try it on some other machine to rule out any architectural issues. I am unable to advice clearly as this is machine specific library error, but it seems like either pthread is not installed properly or
the location of the pthread in not included in the Lib folder.
Thanks,
-- Jacob
From: John Gray <john.gray@...>
Date: Tuesday, August 28, 2012 2:11 PM To: Jacobraj Benet <jbenet@...>, "openmama-users@..." <openmama-users@...> Cc: Brian Fitzpatrick <brian.fitzpatrick@...> Subject: FW: [Openmama-users] installing openmama on ubuntu 12 Hi Jacob,
Im still stuck with these errors – can you give some advice?
Thanks j
From: John Gray
Sent: 27 August 2012 21:36 To: 'Jacobraj Benet'; openmama-users@... Subject: RE: [Openmama-users] installing openmama on ubuntu 12
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj Benet
[mailto:JBenet@...]
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com Please consider the environment before printing this email. Visit our website at http://www.nyse.com
|
|
FW: installing openmama on ubuntu 12
John Gray <john.gray@...>
Hi Jacob,
Im still stuck with these errors – can you give some advice?
Thanks j
From: John Gray
Sent: 27 August 2012 21:36 To: 'Jacobraj Benet'; openmama-users@... Subject: RE: [Openmama-users] installing openmama on ubuntu 12
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj
Benet [mailto:JBenet@...]
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com
|
|
openmama build problem - generateBuildFiles.sh
Matthew Mulhern <MMulhern@...>
Hi,
I have been trying to install openmama on a CentOS 5 VM with varying degrees of success.
My first problem was, after downloading the source from the website archive (openmama releases), running the generateBuildFiles.sh script led to "cp: cannot stat ltmain.sh" errors.
It seems that the generateBuildFiles script calls libtoolize which is supposed to create ltmain.sh within the working directory. Unfortunately, after looking this issue up online (GNU
- libtoolize) it seems that this tool has become deprecated in that this function is no longer carried out (in favour of autoreconf -i being used instead).
On slightly editing the script so that it copies the required ltmain.sh from /usr/share/libtool, the build seems fine from then on. I was just wondering if anyone else has seen problems like this?
I have attached the original and edited shell scripts used.
With thanks,
Matt Mulhern
Please consider the environment before printing this e-mail. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient or have received this e-mail in error, please advise the sender immediately by reply e-mail and delete this message and any attachments without retaining a copy. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
|
|
Re: installing openmama on ubuntu 12
Roan Horning
Hi John,
toggle quoted messageShow quoted text
I have successfully compiled and installed it on Ubuntu 12,04. It is the 64 bit version though--so don't know if that is making a difference. Roan
On Mon, Aug 27, 2012 at 5:09 PM, John Gray <john.gray@neueda.com> wrote:
Hi Roan,
|
|
Re: installing openmama on ubuntu 12
John Gray <john.gray@...>
Hi Roan,
toggle quoted messageShow quoted text
I've loaded with synaptic package manager pretty much everything that might effect this in terms of pthread and boost. But still getting same error. Also still getting the warning about WombatCommon in the configuration stage - also getting an error in make: libmama.so: Could not read symbols: File in wrong format. Has anyone else tried a Ubuntu 12 install? Note: this is version 2.1 of the src and exe downloads. j
-----Original Message-----
From: Roan Horning [mailto:roan.horning@gmail.com] Sent: 27 August 2012 20:56 To: John Gray Cc: openmama-users@lists.openmama.org Subject: Re: [Openmama-users] installing openmama on ubuntu 12 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
|
|
Re: installing openmama on ubuntu 12
John Gray <john.gray@...>
Hi Jacob -still getting stuck
Did an install for pthread – then noticed that configuration was warning that there was no ncurses – so installed this also.
Now configuration giving warning:
Checking /opt/openmama/include/wombat/machine.h usability…no Checking /opt/openmama/include/wombat/machine.h presence…no Checking for /opt/openmama/include/wombat/machine.h …no Configure: WARNING: Not using WombatCommon API
The only thing in /opt/ folder is the Oracle VBOX guest additions.
Still getting the undefined references below for the pthread funcs.
NOTE: this is version 2.1 - not the latest download.
Thanks j
From: Jacobraj
Benet [mailto:JBenet@...]
Sent: 27 August 2012 20:42 To: John Gray; openmama-users@... Subject: Re: [Openmama-users] installing openmama on ubuntu 12
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks, Jacob -- Jacob
From: John Gray <john.gray@...>
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' Please consider the environment before printing this email. Visit our website at
http://www.nyse.com
|
|
Re: installing openmama on ubuntu 12
Roan Horning
I haven't run into this specific issue, but usually when I get
toggle quoted messageShow quoted text
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
|
|
Re: installing openmama on ubuntu 12
Jacobraj Benet <JBenet@...>
Hi John,
It looks like your missing the pthread library, Can you make sure that you have the pthread library installed in your machine.
Thanks,
Jacob
-- Jacob
From: John Gray <john.gray@...>
Date: Monday, August 27, 2012 2:23 PM To: "openmama-users@..." <openmama-users@...> Subject: [Openmama-users] installing openmama on ubuntu 12 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' Please consider the environment before printing this email. Visit our website at http://www.nyse.com
|
|
installing openmama on ubuntu 12
John Gray <john.gray@...>
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'
|
|
Re: build error on mamalibrary
Anthony Si
Hi Michael & Roan,
uuid.h is indeed missing. After taking Roan's suggestion: sudo yum install libuuid-devel compile is working. Thanks a lot! Anthony
On Thu, Aug 9, 2012 at 12:13 AM, Michael Schonberg <openmama.patch@...> wrote:
|
|
Re: build error on mamalibrary
Michael Schonberg
On Wed, 8 Aug 2012, Anthony Si wrote:
Hi Mike,Is uuid.h installed on your system? It should be in /usr/include/uuid/
|
|
Re: build error on mamalibrary
Anthony Si
Hi Mike,
thanks for your quick reply. uname -a It's CentOS 6.3 it's from a download source archive, not git
sudo yum install uuid I symlinked /usr/lib64/libuuid.so -> /lib64/libuuid.so.1 Many thanks Anthony On Wed, Aug 8, 2012 at 10:40 PM, Mike Schonberg <mschonberg@...> wrote:
|
|