Moses-support Digest, Vol 83, Issue 38

Send Moses-support mailing list submissions to
moses-support@mit.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.mit.edu/mailman/listinfo/moses-support
or, via email, send a message with subject or body 'help' to
moses-support-request@mit.edu

You can reach the person managing the list at
moses-support-owner@mit.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Moses-support digest..."


Today's Topics:

1. compile error with LDHT in randlm (Hoai-Thu Vuong)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Sep 2013 17:51:12 +0700
From: Hoai-Thu Vuong <thuvh87@gmail.com>
Subject: [Moses-support] compile error with LDHT in randlm
To: "moses-support@mit.edu" <moses-support@mit.edu>
Message-ID:
<CABBkmgreWEYRH-+swMo_wxmsLzBTNcqrAE=PTFbMF7nq8k8P2g@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello

I build LDHT in randlm and have got some errors, look like

MurmurHash3.cpp:81:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp:68:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp:60:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp:55:23: warning: always_inline function might not be
inlinable [-Wattributes]
MurmurHash3.cpp: In function 'void MurmurHash3_x86_32(const void*, int,
uint32_t, void*)':
MurmurHash3.cpp:55:23: error: inlining failed in call to always_inline
'uint32_t getblock(const uint32_t*, int)': function body can be overwritten
at link time


I attach full error log here. My compiler is g++ version 4.7, OS is Ubuntu
server 64bit 13.04, I clean install then install require package such as
git, build essential, libtool, autoconf, google sparse hash, boost thread.
With same source code I compile successful with g++ version 4.6, OS is
ubuntu 64bit 12.04.

I google solution to fix, and one guy recommend me change line (in
MurmurHash3.cpp):

#define FORCE_INLINE __attribute__((always_inline))

to

#define FORCE_INLINE inline __attribute__((always_inline))

do this, I pass this error, however, I receive another error ::close(m_sd)
not found in deconstructor of ~TransportTCP()




--
Thu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/mailman/private/moses-support/attachments/20130924/f1739a62/attachment-0001.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: error.log
Type: application/octet-stream
Size: 3593 bytes
Desc: not available
Url : http://mailman.mit.edu/mailman/private/moses-support/attachments/20130924/f1739a62/attachment-0001.obj

------------------------------

_______________________________________________
Moses-support mailing list
Moses-support@mit.edu
http://mailman.mit.edu/mailman/listinfo/moses-support


End of Moses-support Digest, Vol 83, Issue 38
*********************************************

0 Response to "Moses-support Digest, Vol 83, Issue 38"

Post a Comment