Date   

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@...>
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@...]
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@...>
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
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


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@...]
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@...>
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
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


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@...]
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@...>
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
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


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,

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@...> wrote:
Hi Roan,

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@...]
Sent: 27 August 2012 20:56
To: John Gray
Cc: openmama-users@...
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@...> 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/libmamac
pp.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@...
https://lists.openmama.org/mailman/listinfo/openmama-users


Re: installing openmama on ubuntu 12

John Gray <john.gray@...>
 

Hi Roan,

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@...]
Sent: 27 August 2012 20:56
To: John Gray
Cc: openmama-users@...
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@...> 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/libmamac
pp.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@...
https://lists.openmama.org/mailman/listinfo/openmama-users


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@...>
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
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


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@...> 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@...
https://lists.openmama.org/mailman/listinfo/openmama-users


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
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


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
sudo yum install uuid-devel
sudo yum install e2fsprogs-libs

compile is working.

Thanks a lot!

Anthony

On Thu, Aug 9, 2012 at 12:13 AM, Michael Schonberg <openmama.patch@...> wrote:


On Wed, 8 Aug 2012, Anthony Si wrote:

> Hi Mike, 
> thanks for your quick reply.
>
>       uname -a
>       Linux 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC
>       2012 x86_64 x86_64 x86_64 GNU/Linux
>
> It's CentOS 6.3 
>
> it's from a download source archive, not git
>
>       sudo yum install uuid
>       Package uuid-1.6.1-10.el6.x86_64 already installed and latest
>       version
>       Nothing to do
>
>
> I symlinked /usr/lib64/libuuid.so -> /lib64/libuuid.so.1 

Is uuid.h installed on your system?  It should be in /usr/include/uuid/
>
> Many thanks 
>
> Anthony 
>
> On Wed, Aug 8, 2012 at 10:40 PM, Mike Schonberg <mschonberg@...> wrote:
>
>       Anthony,
>
>        
>
>       Did you clone from the git repository or download the source
>       archive?
>
>       What OS are you running on?
>
>       Do you have libuuid installed on your system?
>
>        
>
>       Regards,
>
>       -Mike
>
>        
>
>       From: openmama-users-bounces@...
>       [mailto:openmama-users-bounces@...] On Behalf Of
>       Anthony Si
>       Sent: Wednesday, August 08, 2012 10:17 AM
>       To: openmama-users@...
>       Subject: [Openmama-users] build error on mamalibrary
>
>  
>
> Hi there, 
>
>  
>
> Please kindly assist with this build error in OpenMama library 
>
>  
>
> cd dvlp/OpenMAMA-2.1.1.2
>
> sudo make mama-install
>
>  
>
> I'm seeing the following error:
>
>  
>
> "Making install in avis
>
> make[5]: Entering directory
> `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'
>
> /bin/sh ../../../../libtool --tag=CC   --mode=compile gcc
> -DHAVE_CONFIG_H -I. -I../../../..   -I./src/c -I/usr/local/include
> -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long
> -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes
> -Wall  -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes
> -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF
> .deps/subinitial.Tpo -c -o subinitial.lo subinitial.c
>
> libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I./src/c
> -I/usr/local/include -I./../../
> -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit
> -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -g -O2
> -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes
> -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c
> subinitial.c  -fPIC -DPIC -o .libs/subinitial.o
>
> In file included from subinitial.c:22:
>
> ./../../../../../../common/c_cpp/src/c/wombat/wUuid.h:28: error:
> expected ā=ā, ā,ā, ā;ā, āasmā or ā__attribute__ā before āwUuidā
>
> subinitial.c: In function āavisBridgeMamaInbox_createByIndexā:
>
> subinitial.c:110: error: āwUuidā undeclared (first use in this
> function)
>
> subinitial.c:110: error: (Each undeclared identifier is reported only
> once
>
> subinitial.c:110: error: for each function it appears in.)
>
> subinitial.c:110: error: expected ā;ā before āt_uuidā
>
> subinitial.c:127: warning: implicit declaration of function
> āuuid_generate_timeā
>
> subinitial.c:127: error: āt_uuidā undeclared (first use in this
> function)
>
> subinitial.c:128: warning: implicit declaration of function
> āuuid_unparseā
>
> make[5]: *** [subinitial.lo] Error 1
>
> make[5]: Leaving directory
> `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'
>
> "
>
>  
>
> Can anyone please advice how this can be resolved?
>
>  
>
> Many Thanks 
>
>  
>
> Anthony 
>
> ____________________________________________________________________________
>
> Please consider the environment before printing this email.
>
> Visit our website at http://www.nyse.com
> ***************************************************************************
> **
> Note: The information contained in this message and any attachment to
> it is privileged, confidential and protected from disclosure. If the
> reader of this message is not the intended recipient, or an employee
> or agent responsible for delivering this message to the intended
> recipient, you are hereby notified that any dissemination,
> distribution or copying of this communication is strictly prohibited.
> If you have received this communication in error, please notify the
> sender immediately by replying to the message, and please delete it
> from your system. Thank you. NYSE Euronext.
>
>
>
>


Re: build error on mamalibrary

Michael Schonberg
 

On Wed, 8 Aug 2012, Anthony Si wrote:

Hi Mike, 
thanks for your quick reply.

uname -a
Linux 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC
2012 x86_64 x86_64 x86_64 GNU/Linux

It's CentOS 6.3 

it's from a download source archive, not git

sudo yum install uuid
Package uuid-1.6.1-10.el6.x86_64 already installed and latest
version
Nothing to do


I symlinked /usr/lib64/libuuid.so -> /lib64/libuuid.so.1 
Is uuid.h installed on your system? It should be in /usr/include/uuid/

Many thanks 

Anthony 

On Wed, Aug 8, 2012 at 10:40 PM, Mike Schonberg <mschonberg@...> wrote:

Anthony,

 

Did you clone from the git repository or download the source
archive?

What OS are you running on?

Do you have libuuid installed on your system?

 

Regards,

-Mike

 

From: openmama-users-bounces@...
[mailto:openmama-users-bounces@...] On Behalf Of
Anthony Si
Sent: Wednesday, August 08, 2012 10:17 AM
To: openmama-users@...
Subject: [Openmama-users] build error on mamalibrary

 

Hi there, 

 

Please kindly assist with this build error in OpenMama library 

 

cd dvlp/OpenMAMA-2.1.1.2

sudo make mama-install

 

I'm seeing the following error:

 

"Making install in avis

make[5]: Entering directory
`/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'

/bin/sh ../../../../libtool --tag=CC   --mode=compile gcc
-DHAVE_CONFIG_H -I. -I../../../..   -I./src/c -I/usr/local/include
-I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long
-Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes
-Wall  -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes
-Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF
.deps/subinitial.Tpo -c -o subinitial.lo subinitial.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I./src/c
-I/usr/local/include -I./../../
-I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit
-Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -g -O2
-Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes
-Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c
subinitial.c  -fPIC -DPIC -o .libs/subinitial.o

In file included from subinitial.c:22:

./../../../../../../common/c_cpp/src/c/wombat/wUuid.h:28: error:
expected â=â, â,â, â;â, âasmâ or â__attribute__â before âwUuidâ

subinitial.c: In function âavisBridgeMamaInbox_createByIndexâ:

subinitial.c:110: error: âwUuidâ undeclared (first use in this
function)

subinitial.c:110: error: (Each undeclared identifier is reported only
once

subinitial.c:110: error: for each function it appears in.)

subinitial.c:110: error: expected â;â before ât_uuidâ

subinitial.c:127: warning: implicit declaration of function
âuuid_generate_timeâ

subinitial.c:127: error: ât_uuidâ undeclared (first use in this
function)

subinitial.c:128: warning: implicit declaration of function
âuuid_unparseâ

make[5]: *** [subinitial.lo] Error 1

make[5]: Leaving directory
`/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'

"

 

Can anyone please advice how this can be resolved?

 

Many Thanks 

 

Anthony 

____________________________________________________________________________

Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
***************************************************************************
**
Note: The information contained in this message and any attachment to
it is privileged, confidential and protected from disclosure. If the
reader of this message is not the intended recipient, or an employee
or agent responsible for delivering this message to the intended
recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited.
If you have received this communication in error, please notify the
sender immediately by replying to the message, and please delete it
from your system. Thank you. NYSE Euronext.




Re: build error on mamalibrary

Anthony Si
 

Hi Mike, 

thanks for your quick reply.

uname -a
Linux 2.6.32-279.2.1.el6.x86_64 #1 SMP Fri Jul 20 01:55:29 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
It's CentOS 6.3 

it's from a download source archive, not git

sudo yum install uuid
Package uuid-1.6.1-10.el6.x86_64 already installed and latest version
Nothing to do

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:

Anthony,

 

Did you clone from the git repository or download the source archive?

What OS are you running on?

Do you have libuuid installed on your system?

 

Regards,

-Mike

 

From: openmama-users-bounces@... [mailto:openmama-users-bounces@...] On Behalf Of Anthony Si
Sent: Wednesday, August 08, 2012 10:17 AM
To: openmama-users@...
Subject: [Openmama-users] build error on mamalibrary

 

Hi there, 

 

Please kindly assist with this build error in OpenMama library 

 

cd dvlp/OpenMAMA-2.1.1.2

sudo make mama-install

 

I'm seeing the following error:

 

"Making install in avis

make[5]: Entering directory `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'

/bin/sh ../../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../..   -I./src/c -I/usr/local/include -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall  -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c -o subinitial.lo subinitial.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I./src/c -I/usr/local/include -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c subinitial.c  -fPIC -DPIC -o .libs/subinitial.o

In file included from subinitial.c:22:

./../../../../../../common/c_cpp/src/c/wombat/wUuid.h:28: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âwUuidâ

subinitial.c: In function âavisBridgeMamaInbox_createByIndexâ:

subinitial.c:110: error: âwUuidâ undeclared (first use in this function)

subinitial.c:110: error: (Each undeclared identifier is reported only once

subinitial.c:110: error: for each function it appears in.)

subinitial.c:110: error: expected â;â before ât_uuidâ

subinitial.c:127: warning: implicit declaration of function âuuid_generate_timeâ

subinitial.c:127: error: ât_uuidâ undeclared (first use in this function)

subinitial.c:128: warning: implicit declaration of function âuuid_unparseâ

make[5]: *** [subinitial.lo] Error 1

make[5]: Leaving directory `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'

"

 

Can anyone please advice how this can be resolved?

 

Many Thanks 

 

Anthony 


Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.



Re: build error on mamalibrary

Mike Schonberg <mschonberg@...>
 

Anthony,

 

Did you clone from the git repository or download the source archive?

What OS are you running on?

Do you have libuuid installed on your system?

 

Regards,

-Mike

 

From: openmama-users-bounces@... [mailto:openmama-users-bounces@...] On Behalf Of Anthony Si
Sent: Wednesday, August 08, 2012 10:17 AM
To: openmama-users@...
Subject: [Openmama-users] build error on mamalibrary

 

Hi there, 

 

Please kindly assist with this build error in OpenMama library 

 

cd dvlp/OpenMAMA-2.1.1.2

sudo make mama-install

 

I'm seeing the following error:

 

"Making install in avis

make[5]: Entering directory `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'

/bin/sh ../../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../..   -I./src/c -I/usr/local/include -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall  -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c -o subinitial.lo subinitial.c

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I./src/c -I/usr/local/include -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c subinitial.c  -fPIC -DPIC -o .libs/subinitial.o

In file included from subinitial.c:22:

./../../../../../../common/c_cpp/src/c/wombat/wUuid.h:28: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âwUuidâ

subinitial.c: In function âavisBridgeMamaInbox_createByIndexâ:

subinitial.c:110: error: âwUuidâ undeclared (first use in this function)

subinitial.c:110: error: (Each undeclared identifier is reported only once

subinitial.c:110: error: for each function it appears in.)

subinitial.c:110: error: expected â;â before ât_uuidâ

subinitial.c:127: warning: implicit declaration of function âuuid_generate_timeâ

subinitial.c:127: error: ât_uuidâ undeclared (first use in this function)

subinitial.c:128: warning: implicit declaration of function âuuid_unparseâ

make[5]: *** [subinitial.lo] Error 1

make[5]: Leaving directory `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'

"

 

Can anyone please advice how this can be resolved?

 

Many Thanks 

 

Anthony 


Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


build error on mamalibrary

Anthony Si
 

Hi there, 

Please kindly assist with this build error in OpenMama library 

cd dvlp/OpenMAMA-2.1.1.2
sudo make mama-install

I'm seeing the following error:

"Making install in avis
make[5]: Entering directory `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'
/bin/sh ../../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../../..   -I./src/c -I/usr/local/include -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall  -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c -o subinitial.lo subinitial.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../../.. -I./src/c -I/usr/local/include -I./../../ -I./../../../../../../common/c_cpp/src/c -Wno-long-long -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -g -O2 -Wimplicit -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wall -MT subinitial.lo -MD -MP -MF .deps/subinitial.Tpo -c subinitial.c  -fPIC -DPIC -o .libs/subinitial.o
In file included from subinitial.c:22:
./../../../../../../common/c_cpp/src/c/wombat/wUuid.h:28: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â before âwUuidâ
subinitial.c: In function âavisBridgeMamaInbox_createByIndexâ:
subinitial.c:110: error: âwUuidâ undeclared (first use in this function)
subinitial.c:110: error: (Each undeclared identifier is reported only once
subinitial.c:110: error: for each function it appears in.)
subinitial.c:110: error: expected â;â before ât_uuidâ
subinitial.c:127: warning: implicit declaration of function âuuid_generate_timeâ
subinitial.c:127: error: ât_uuidâ undeclared (first use in this function)
subinitial.c:128: warning: implicit declaration of function âuuid_unparseâ
make[5]: *** [subinitial.lo] Error 1
make[5]: Leaving directory `/home/yatkasi/dvlp/OpenMAMA-2.1.1.2/mama/c_cpp/src/c/bridge/avis'
"

Can anyone please advice how this can be resolved?

Many Thanks 

Anthony 


Re: problems compiling mama jni component

Roan Horning
 

Hi Mike,

Resolved my issue. I was trying to compile this from the src in the
git repository. I had also previously downloaded the source for the
OpenMAMA release 2.1.1.2. When I looked for the file in the 2.1.1.2
directory structure I found the needed file with the correct structure
defined. Once I copied this into the corresponding place in my git
clone, mamajni compiled without issue. Thanks once again for pointing
me in the right direction on the JDK issue.

Roan

On Sat, Jul 28, 2012 at 5:25 PM, Roan Horning <roan.horning@...> wrote:
Mike,

Thank you for your response. I did have OpenJDK and not a valid JDK
from Oracle. I downloaded JDK 6 from Oracle, and have followed your
suggestion to make sure it is the system default:

$ echo $JAVA_HOME
/home/x15/Development/jdk1.6.0_33

$ echo $PATH
/home/x15/Development/jdk1.6.0_33/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

$ which java
/home/x15/Development/jdk1.6.0_33/bin/java

$ which javac
/home/x15/Development/jdk1.6.0_33/bin/javac

$ which ant
/usr/bin/ant

$ java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) Server VM (build 20.8-b03, mixed mode)

$ javac -version
javac 1.6.0_33

Is this a correct version of Java from Oracle to use, or did I
download the wrong SDK?

after running cleaning the project, re-running
generateBuildFiles.sh, configure --avis-path=/usr/local, make and
then make mamajni I get the following error:

make[4]: Entering directory `/home/x15/Development/openMAMA/mama/jni/src/c'

/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -I/home/x15/Development/jdk1.6.0_33/include
-I/home/x15/Development/jdk1.6.0_33/include/solaris
-I/home/x15/Development/jdk1.6.0_33/include/linux
-I/opt/openmama/include -pedantic -Wno-long-long -g -O2 -pedantic
-Wno-long-long -I./../../../../common/c_cpp/src/c
-I./../../../../mama/c_cpp/src/c -MT mamasubscriptionjni.lo -MD -MP
-MF .deps/mamasubscriptionjni.Tpo -c -o mamasubscriptionjni.lo
mamasubscriptionjni.c

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/x15/Development/jdk1.6.0_33/include
-I/home/x15/Development/jdk1.6.0_33/include/solaris
-I/home/x15/Development/jdk1.6.0_33/include/linux
-I/opt/openmama/include -pedantic -Wno-long-long -g -O2 -pedantic
-Wno-long-long -I./../../../../common/c_cpp/src/c
-I./../../../../mama/c_cpp/src/c -MT mamasubscriptionjni.lo -MD -MP
-MF .deps/mamasubscriptionjni.Tpo -c mamasubscriptionjni.c -fPIC
-DPIC -o .libs/mamasubscriptionjni.o

mamasubscriptionjni.c:33:36: fatal error: mamajni/dictionaryimpl.h: No
such file or directory
compilation terminated.

make[4]: *** [mamasubscriptionjni.lo] Error 1

I am using the version of ant provided by Ubuntu. Any suggestions?

Thanks for your time,

Roan




On Mon, Jul 23, 2012 at 3:27 PM, Mike Schonberg <mschonberg@...> wrote:
Roan,

You need a valid JDK 5 or 6 from Oracle installed on your machine as well as ant. The JDK bin directory, and ant should be in your path before any other directories that may have a javac (from OpenJDK perhaps). Also you need to set your JAVA_HOME environment variable to point to the JDK.

See the README file for details.

Regards,
-Mike

-----Original Message-----
From: openmama-users-bounces@... [mailto:openmama-
users-bounces@...] On Behalf Of Roan Horning
Sent: Saturday, July 21, 2012 4:18 AM
To: openmama-users@...
Subject: [Openmama-users] problems compiling mama jni component

Hi,

I am having a problem compiling the mama jni code. I receive the
following error message:

mamasubscriptionjni.c:33:36: fatal error: mamajni/dictionaryimpl.h:
No such file or directory

Double checking, I find that there is no dictionaryimpl.h in
mama/jni/src/c/mamajni/

I found dictionaryimpl.h in:

mama/c_cpp/src/c/dictionaryimpl.h

if I copy it to the mamajni folder and try compiling again, I get the
error message

mamasubscriptionjni.c:1109:5: error: unknown type name
'dictionaryClosure'

It appears that all the other header files in the
mama/jni/src/c/mamajni/ directory are being generated. I am guessing
something in my build environment is preventing the correct
dictionaryimpl.h from being generated also.

I am compiling the openMAMA code cloned from the git repository.
My OS is the 32 bit version of Ubuntu 11.10 with kernel
3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686
i686 i386 GNU/Linux

Any help is greatly appreciated

--Roan
_______________________________________________
Openmama-users mailing list
Openmama-users@...
https://lists.openmama.org/mailman/listinfo/openmama-users
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com

****************************************************

Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


Re: problems compiling mama jni component

Roan Horning
 

Mike,

Thank you for your response. I did have OpenJDK and not a valid JDK
from Oracle. I downloaded JDK 6 from Oracle, and have followed your
suggestion to make sure it is the system default:

$ echo $JAVA_HOME
/home/x15/Development/jdk1.6.0_33

$ echo $PATH
/home/x15/Development/jdk1.6.0_33/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games

$ which java
/home/x15/Development/jdk1.6.0_33/bin/java

$ which javac
/home/x15/Development/jdk1.6.0_33/bin/javac

$ which ant
/usr/bin/ant

$ java -version
java version "1.6.0_33"
Java(TM) SE Runtime Environment (build 1.6.0_33-b04)
Java HotSpot(TM) Server VM (build 20.8-b03, mixed mode)

$ javac -version
javac 1.6.0_33

Is this a correct version of Java from Oracle to use, or did I
download the wrong SDK?

after running cleaning the project, re-running
generateBuildFiles.sh, configure --avis-path=/usr/local, make and
then make mamajni I get the following error:

make[4]: Entering directory `/home/x15/Development/openMAMA/mama/jni/src/c'

/bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I../.. -I/home/x15/Development/jdk1.6.0_33/include
-I/home/x15/Development/jdk1.6.0_33/include/solaris
-I/home/x15/Development/jdk1.6.0_33/include/linux
-I/opt/openmama/include -pedantic -Wno-long-long -g -O2 -pedantic
-Wno-long-long -I./../../../../common/c_cpp/src/c
-I./../../../../mama/c_cpp/src/c -MT mamasubscriptionjni.lo -MD -MP
-MF .deps/mamasubscriptionjni.Tpo -c -o mamasubscriptionjni.lo
mamasubscriptionjni.c

libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../..
-I/home/x15/Development/jdk1.6.0_33/include
-I/home/x15/Development/jdk1.6.0_33/include/solaris
-I/home/x15/Development/jdk1.6.0_33/include/linux
-I/opt/openmama/include -pedantic -Wno-long-long -g -O2 -pedantic
-Wno-long-long -I./../../../../common/c_cpp/src/c
-I./../../../../mama/c_cpp/src/c -MT mamasubscriptionjni.lo -MD -MP
-MF .deps/mamasubscriptionjni.Tpo -c mamasubscriptionjni.c -fPIC
-DPIC -o .libs/mamasubscriptionjni.o

mamasubscriptionjni.c:33:36: fatal error: mamajni/dictionaryimpl.h: No
such file or directory
compilation terminated.

make[4]: *** [mamasubscriptionjni.lo] Error 1

I am using the version of ant provided by Ubuntu. Any suggestions?

Thanks for your time,

Roan

On Mon, Jul 23, 2012 at 3:27 PM, Mike Schonberg <mschonberg@...> wrote:
Roan,

You need a valid JDK 5 or 6 from Oracle installed on your machine as well as ant. The JDK bin directory, and ant should be in your path before any other directories that may have a javac (from OpenJDK perhaps). Also you need to set your JAVA_HOME environment variable to point to the JDK.

See the README file for details.

Regards,
-Mike

-----Original Message-----
From: openmama-users-bounces@... [mailto:openmama-
users-bounces@...] On Behalf Of Roan Horning
Sent: Saturday, July 21, 2012 4:18 AM
To: openmama-users@...
Subject: [Openmama-users] problems compiling mama jni component

Hi,

I am having a problem compiling the mama jni code. I receive the
following error message:

mamasubscriptionjni.c:33:36: fatal error: mamajni/dictionaryimpl.h:
No such file or directory

Double checking, I find that there is no dictionaryimpl.h in
mama/jni/src/c/mamajni/

I found dictionaryimpl.h in:

mama/c_cpp/src/c/dictionaryimpl.h

if I copy it to the mamajni folder and try compiling again, I get the
error message

mamasubscriptionjni.c:1109:5: error: unknown type name
'dictionaryClosure'

It appears that all the other header files in the
mama/jni/src/c/mamajni/ directory are being generated. I am guessing
something in my build environment is preventing the correct
dictionaryimpl.h from being generated also.

I am compiling the openMAMA code cloned from the git repository.
My OS is the 32 bit version of Ubuntu 11.10 with kernel
3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686
i686 i386 GNU/Linux

Any help is greatly appreciated

--Roan
_______________________________________________
Openmama-users mailing list
Openmama-users@...
https://lists.openmama.org/mailman/listinfo/openmama-users
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com

****************************************************

Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


Re: problems compiling mama jni component

Mike Schonberg <mschonberg@...>
 

Roan,

You need a valid JDK 5 or 6 from Oracle installed on your machine as well as ant. The JDK bin directory, and ant should be in your path before any other directories that may have a javac (from OpenJDK perhaps). Also you need to set your JAVA_HOME environment variable to point to the JDK.

See the README file for details.

Regards,
-Mike

-----Original Message-----
From: openmama-users-bounces@... [mailto:openmama-
users-bounces@...] On Behalf Of Roan Horning
Sent: Saturday, July 21, 2012 4:18 AM
To: openmama-users@...
Subject: [Openmama-users] problems compiling mama jni component

Hi,

I am having a problem compiling the mama jni code. I receive the
following error message:

mamasubscriptionjni.c:33:36: fatal error: mamajni/dictionaryimpl.h:
No such file or directory

Double checking, I find that there is no dictionaryimpl.h in
mama/jni/src/c/mamajni/

I found dictionaryimpl.h in:

mama/c_cpp/src/c/dictionaryimpl.h

if I copy it to the mamajni folder and try compiling again, I get the
error message

mamasubscriptionjni.c:1109:5: error: unknown type name
'dictionaryClosure'

It appears that all the other header files in the
mama/jni/src/c/mamajni/ directory are being generated. I am guessing
something in my build environment is preventing the correct
dictionaryimpl.h from being generated also.

I am compiling the openMAMA code cloned from the git repository.
My OS is the 32 bit version of Ubuntu 11.10 with kernel
3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686
i686 i386 GNU/Linux

Any help is greatly appreciated

--Roan
_______________________________________________
Openmama-users mailing list
Openmama-users@...
https://lists.openmama.org/mailman/listinfo/openmama-users
Please consider the environment before printing this email.

Visit our website at http://www.nyse.com

****************************************************

Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


problems compiling mama jni component

Roan Horning
 

Hi,

I am having a problem compiling the mama jni code. I receive the
following error message:

mamasubscriptionjni.c:33:36: fatal error: mamajni/dictionaryimpl.h:
No such file or directory

Double checking, I find that there is no dictionaryimpl.h in
mama/jni/src/c/mamajni/

I found dictionaryimpl.h in:

mama/c_cpp/src/c/dictionaryimpl.h

if I copy it to the mamajni folder and try compiling again, I get the
error message

mamasubscriptionjni.c:1109:5: error: unknown type name 'dictionaryClosure'

It appears that all the other header files in the
mama/jni/src/c/mamajni/ directory are being generated. I am guessing
something in my build environment is preventing the correct
dictionaryimpl.h from being generated also.

I am compiling the openMAMA code cloned from the git repository.
My OS is the 32 bit version of Ubuntu 11.10 with kernel
3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14 UTC 2012 i686
i686 i386 GNU/Linux

Any help is greatly appreciated

--Roan


Re: missing lib mamamwmimpl

Damian Maguire
 

Hey Aidan, 

I'd reach out to NYSE Technologies themselves to discuss the requirements for SuperFeed. To the best of my knowledge the platform leverages the NYSE Technologies Data Fabric middleware (also called wmw), though they may have support for redistribution under other middlewares. As stated before, Data Fabric is only currently supported under the NYSE Enterprise Edition, not OpenMAMA itself, so you'd need a bridge provided with it in order to make it work. 

Thanks, 

Damian

On 16 July 2012 15:12, Russell Aidan (Ext. - UniCredit Business Integrated Solutions) <aidan.russell.extern@...> wrote:
Hi Damian,
 
Another question on MAMA bridge modules - which bridge module is needed to implement a MAMA / MAMDA client for the SuperFeed Data Fabric middleware ? In this case, this means an Enterprise  MAMA client (not OpenMAMA).
 
I'm not sure if I should address this to technology sales, let me know if I should re-send.
 
thanks,
Aidan


From: Jacobraj Benet [mailto:JBenet@...]
Sent: Thursday, July 12, 2012 4:57 PM

To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'Damian Maguire'
Cc: openmama-users@...
Subject: RE: [Openmama-users] missing lib mamamwmimpl

Hi Damian,

What is the compilation error you are getting when compiling the avis middleware.

Do you have the avis middleware installed on your platform.

Make sure to follow the instructions on this link http://www.openmama.org/users/build-openmama to build the avis bridge.


Thanks,
Jacob

From: Russell Aidan (Ext. - UniCredit Business Integrated Solutions) [aidan.russell.extern@...]
Sent: Thursday, July 12, 2012 9:38 AM
To: Jacobraj Benet; 'Damian Maguire'
Cc: openmama-users@...
Subject: RE: [Openmama-users] missing lib mamamwmimpl

Hi,
 
I built and installed mama from the source for our platform. Where do I find the avis bridge to build ?
 
I tried building .../OpenMAMA-2.1/mama/c_cpp/src/c/bridge/avis, which fails to compile.
 
regards,
Aidan


From: Jacobraj Benet [mailto:JBenet@...]
Sent: Thursday, July 12, 2012 4:35 PM
To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions); 'Damian Maguire'
Cc: openmama-users@...
Subject: RE: [Openmama-users] missing lib mamamwmimpl

Hi Damian,

I would recommend that you build the mama and the bridge shared object from the source code to your specific operating system and then make sure to export the LD_LIBRARY_PATH to the location of the shared object folder.

Thanks
Jacob

From: openmama-users-bounces@... [openmama-users-bounces@...] on behalf of Russell Aidan (Ext. - UniCredit Business Integrated Solutions) [aidan.russell.extern@...]
Sent: Thursday, July 12, 2012 7:24 AM
To: 'Damian Maguire'
Cc: openmama-users@...
Subject: Re: [Openmama-users] missing lib mamamwmimpl

Hi Damian,
 
Thanks for the response. I'm just getting up-to-speed on OpenMAMA. I tried the test program as supplied, I think this is looking for the wombat bridge. I'm not sure yet which bridge would be used, though we are looking at the NYSE SuperFeed.
 
I tried the test program for the avis bridge but also fails in locating the libmamaavisimpl. I found this lib in the bin download, but not the src download. However the bin download is Linux 64-bit, and I use 32-bit Linux.
 
So I would need to locate or build the libmamaavisimpl for 32-bit. Could you suggest how to proceed ?
 
Thanks,
Aidan


From: Damian Maguire [mailto:dmagdrums@...]
Sent: Thursday, July 12, 2012 2:06 PM
To: Russell Aidan (Ext. - UniCredit Business Integrated Solutions)
Cc: openmama-users@...
Subject: Re: [Openmama-users] missing lib mamamwmimpl

Hi Aidan, 

Which middleware are you attempting to make use of here? The NYSE Enterprise Edition will support LBM, Tibrv and WMW, but OpenMAMA presently only supports the Avis bridge out of the box (unless you've built a bridge yourself). "mwm" isn't something I'm familiar with. 

Can you try running the same command, but switching the value of the -m parameter to "-m avis", then checking the results?

Thanks, 

Damian

On 12 July 2012 12:12, Russell Aidan (Ext. - UniCredit Business Integrated Solutions) <aidan.russell.extern@...> wrote:
Hi,
 
I downloaded the OpenMAMA-2.1 source, installed and built the source on Linux (32 bit); I tried the following test program, but with the following error:
 
bash-3.2$ mamapublisherc -tport openmama_pub -m mwm
Starting Publisher with:
   topic:              MAMA_TOPIC
   inbound topic:      MAMA_INBOUND_TOPIC
   interval            0.500000
   transport:          openmama_pub
2012-07-12 12:03:08: mama_loadBridge(): Invalid middleware [mwm]
2012-07-12 12:03:08: mama_loadmamaPayload(): Could not open middleware bridge library [mamamwmimpl] [libmamamwmimpl.so: cannot open shared object file: No such file or directory]
Error loading bridge: NO_BRIDGE_IMPL
 
How do I download or build the mamamwmimpl lib ?
 
thanks,
Aidan
 
regards,
 
Aidan Russell
Quoting Systems Development
 
0049 89 378 12843
 
 
 

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



Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.


Please consider the environment before printing this email.

Visit our website at http://www.nyse.com
*****************************************************************************
Note: The information contained in this message and any attachment to it is privileged, confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by replying to the message, and please delete it from your system. Thank you. NYSE Euronext.