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 |
|
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 |
|
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:
|
|
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/
|
|
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:
|
|