- status: open --> wont-fix
User0: lemur-4.12 User1$ ./configure
checking build system type... i386-apple-darwin15.3.0
checking host system type... i386-apple-darwin15.3.0
checking for gcc... gcc
checking for C compiler default output file name... rm: a.out.dSYM: is a directory
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ar... ar
checking for log in -lm... yes
checking for pthread_create in -lpthread... yes
checking for deflate in -lz... yes
checking for mkstemps in -liberty... no
checking whether C++ namespaces are supported... yes
checking whether isnan is in namespace std... yes
checking whether isnan is in namespace gnu_cxx... no
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for mkstemp... yes
checking for mkstemps... yes
checking how to run the C++ preprocessor... g++ -E
checking bits/atomicity.h usability... no
checking bits/atomicity.h presence... no
checking for bits/atomicity.h... no
checking ext/atomicity.h usability... no
checking ext/atomicity.h presence... no
checking for ext/atomicity.h... no
configure: creating ./config.status
config.status: creating MakeDefns
config.status: creating Makefile
config.status: creating Makefile.app
config.status: creating site-search/build.param
config.status: creating site-search/crawl-index
config.status: creating site-search/seeds.txt
config.status: creating site-search/excluded_hosts
User0: lemur-4.12 User1$ make
/Library/Developer/CommandLineTools/usr/bin/make -C retrieval/obj -f ../src/Makefile all
Generating ../depend/Walker.d for ../src/Walker.cpp
Generating ../depend/UnpackerInternal.d for ../src/UnpackerInternal.cpp
Generating ../depend/Unpacker.d for ../src/Unpacker.cpp
Generating ../depend/TextQueryRetMethod.d for ../src/TextQueryRetMethod.cpp
Generating ../depend/TermFrequencyBeliefNode.d for ../src/TermFrequencyBeliefNode.cpp
Generating ../depend/TFIDFExpander.d for ../src/TFIDFExpander.cpp
Generating ../depend/SnippetBuilder.d for ../src/SnippetBuilder.cpp
Generating ../depend/RetMethodManager.d for ../src/RetMethodManager.cpp
Generating ../depend/RelevanceModel.d for ../src/RelevanceModel.cpp
Generating ../depend/RMExpander.d for ../src/RMExpander.cpp
Generating ../depend/QueryParserFactory.d for ../src/QueryParserFactory.cpp
Generating ../depend/QueryParser.d for ../src/QueryParser.cpp
Generating ../depend/QueryLexer.d for ../src/QueryLexer.cpp
Generating ../depend/QueryExpander.d for ../src/QueryExpander.cpp
Generating ../depend/QueryEnvironment.d for ../src/QueryEnvironment.cpp
Generating ../depend/QueryAnnotation.d for ../src/QueryAnnotation.cpp
Generating ../depend/PriorNode.d for ../src/PriorNode.cpp
Generating ../depend/PonteExpander.d for ../src/PonteExpander.cpp
Generating ../depend/Packer.d for ../src/Packer.cpp
Generating ../depend/NexiParser.d for ../src/NexiParser.cpp
Generating ../depend/NexiLexer.d for ../src/NexiLexer.cpp
Generating ../depend/NetworkServerStub.d for ../src/NetworkServerStub.cpp
Generating ../depend/NetworkServerProxy.d for ../src/NetworkServerProxy.cpp
Generating ../depend/MatchInfo.d for ../src/MatchInfo.cpp
Generating ../depend/LocalQueryServer.d for ../src/LocalQueryServer.cpp
Generating ../depend/ListAccumulator.d for ../src/ListAccumulator.cpp
Generating ../depend/InferenceNetworkBuilder.d for ../src/InferenceNetworkBuilder.cpp
Generating ../depend/InferenceNetwork.d for ../src/InferenceNetwork.cpp
Generating ../depend/IndriRetMethod.d for ../src/IndriRetMethod.cpp
Generating ../depend/FieldIteratorNode.d for ../src/FieldIteratorNode.cpp
Generating ../depend/DocListIteratorNode.d for ../src/DocListIteratorNode.cpp
Generating ../depend/Copier.d for ../src/Copier.cpp
Generating ../depend/ContextCountAccumulator.d for ../src/ContextCountAccumulator.cpp
Generating ../depend/CachedFrequencyBeliefNode.d for ../src/CachedFrequencyBeliefNode.cpp
g++ -DPACKAGE_NAME=\"Lemur\" -DPACKAGE_TARNAME=\"lemur\" -DPACKAGE_VERSION=\"4.12\" -DPACKAGE_STRING=\"Lemur\ 4.12\" -DPACKAGE_BUGREPORT=\"project@lemurproject.org\" -DYYTEXT_POINTER=1 -DHAVE_LIBM=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBZ=1 -DHAVE_NAMESPACES= -DISNAN_IN_NAMESPACE_STD= -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_FSEEKO=1 -DHAVE_MKSTEMP=1 -DHAVE_MKSTEMPS=1 -DP_NEEDS_GNU_CXX_NAMESPACE=0 -DNDEBUG=1 -g -O3 -I../include -I../../retrieval/include -I../../langmod/include -I../../index/include -I../../parsing/include -I../../utility/include -I../../contrib/antlr/include -I../../contrib/xpdf/include -o CachedFrequencyBeliefNode.o -c ../src/CachedFrequencyBeliefNode.cpp
In file included from ../src/CachedFrequencyBeliefNode.cpp:12:
In file included from ../include/indri/CachedFrequencyBeliefNode.hpp:26:
In file included from ../include/indri/ListCache.hpp:27:
In file included from ../include/indri/QuerySpec.hpp:30:
In file included from ../../utility/include/indri/ref_ptr.hpp:21:
../../utility/include/indri/atomic.hpp:51:13: error: unknown type name '_Atomic_word'
typedef _Atomic_word value_type;
^
../../utility/include/indri/atomic.hpp:54:6: error: use of undeclared identifier '__atomic_add'
__atomic_add( &variable, 1 );
^
../../utility/include/indri/atomic.hpp:58:7: error: use of undeclared identifier '__atomic_add'
__atomic_add( &variable, -1 );
^
3 errors generated.
make[1]: *** [CachedFrequencyBeliefNode.o] Error 1
make: *** [retrieval] Error 2
I keep getting this error. For some reason atomic.hpp can't see Atomicity.h . As you can see in the upper portion where I ran the configuration:
checking bits/atomicity.h presence... no
checking ext/atomicity.h presence... no
I am wondering what is the reason and how can I fix it. I tried changing the path for Atomicity.h in atomic.hpp. but it didn't work.