What steps will reproduce the problem?
1. ./configure --mandir=/usr/local/man --without-readline
--with-libgmp-prefix=/usr/local
2. gmake
What is the expected output? What do you see instead?
g++ -g -O2 -fPIC -I/usr/local/include -I/usr/local/include -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -I. -I.
-DLIBDIR='"/usr/local/lib"' -DLIBPURE='"libpure.so.6"' -c -o interpreter.o
interpreter.cc
interpreter.cc:35:40: error: llvm/System/DynamicLibrary.h: No such file or
directory
What version of the product are you using? On what operating system?
pure-0.46
FreeBSD 8.2-STABLE
Please provide any additional information below.
In llvm >2.8, this header file has been moved to llvm/Support.
After fix this, pure is still not be able to build with llvm 2.9:
interpreter.cc: In member function 'bool interpreter::LoadFaustDSP(bool, const
char*, std::string*, const char*)':
interpreter.cc:1601:54: error: no matching function for call to
'llvm::MemoryBuffer::getFile(const char*&, std::string*&)'
/usr/local/include/llvm/Support/MemoryBuffer.h:65:21: note: candidates are:
static llvm::error_code llvm::MemoryBuffer::getFile(llvm::StringRef,
llvm::OwningPtr<llvm::MemoryBuffer>&, int64_t)
/usr/local/include/llvm/Support/MemoryBuffer.h:67:21: note:
static llvm::error_code llvm::MemoryBuffer::getFile(const char*,
llvm::OwningPtr<llvm::MemoryBuffer>&, int64_t)
interpreter.cc: In member function 'bool interpreter::LoadBitcode(bool, const
char*, std::string*)':
interpreter.cc:1878:54: error: no matching function for call to
'llvm::MemoryBuffer::getFile(const char*&, std::string*&)'
/usr/local/include/llvm/Support/MemoryBuffer.h:65:21: note: candidates are:
static llvm::error_code llvm::MemoryBuffer::getFile(llvm::StringRef,
llvm::OwningPtr<llvm::MemoryBuffer>&, int64_t)
/usr/local/include/llvm/Support/MemoryBuffer.h:67:21: note:
static llvm::error_code llvm::MemoryBuffer::getFile(const char*,
llvm::OwningPtr<llvm::MemoryBuffer>&, int64_t)
Original issue reported on code.google.com by lich...@gmail.com on 17 Mar 2011 at 9:36
Original issue reported on code.google.com by
lich...@gmail.com
on 17 Mar 2011 at 9:36