[LLVMdev] Error building llvm on AIX 7.1
sunil.saggar at gmail.com
Tue Oct 23 06:08:31 PDT 2012
I am trying to build llvm on AIX. I installed all the required packages
including gcc, g++, etc
./configure also went fine. but i tried to run gmake, i got the following
llvm: Compiling MemoryBuffer.cpp for Release+Asserts build
llvm: Compiling MemoryObject.cpp for Release+Asserts build
llvm: Compiling Mutex.cpp for Release+Asserts build
llvm: Compiling Path.cpp for Release+Asserts build
In file included from Path.cpp:289:0:
Unix/Path.inc: In static member function 'static llvm::sys::Path
llvm::sys::Path::GetMainExecutable(const char*, void*)':
Unix/Path.inc:345:3: error: 'Dl_info' was not declared in this scope
Unix/Path.inc:345:11: error: expected ';' before 'DLInfo'
Unix/Path.inc:346:31: error: 'DLInfo' was not declared in this scope
Unix/Path.inc:346:37: error: 'dladdr' was not declared in this scope
Unix/Path.inc: In static member function 'static void
llvm::sys::Path::UnMapFilePages(const char*, size_t)':
Unix/Path.inc:887:19: warning: cast from type 'const char*' to type 'void*'
casts away qualifiers [-Wcast-qual]
rm: /usr/llvm/llvm-3.1.src/lib/Support/Release+Asserts/Path.d.tmp: A file
or directory in the path name does not exist.
gmake: *** [/usr/llvm/llvm-3.1.src/lib/Support/Release+Asserts/Path.o]
gmake: Leaving directory `/usr/llvm/llvm-3.1.src/lib/Support'
gmake: *** [all] Error 1
Any pointers ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev