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@nyx.com> 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@lists.openmama.org
[mailto:openmama-users-bounces@lists.openmama.org] On Behalf Of
Anthony Si
Sent: Wednesday, August 08, 2012 10:17 AM
To: openmama-users@lists.openmama.org
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.



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