[LLVMdev] Error building llvm on AIX 7.1

Sunil Saggar sunil.saggar at gmail.com
Tue Oct 23 06:08:31 PDT 2012


Hi All,

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

llvm[1]: Compiling MemoryBuffer.cpp for Release+Asserts build
llvm[1]: Compiling MemoryObject.cpp for Release+Asserts build
llvm[1]: Compiling Mutex.cpp for Release+Asserts build
llvm[1]: 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[1]: *** [/usr/llvm/llvm-3.1.src/lib/Support/Release+Asserts/Path.o]
Error 1
gmake[1]: Leaving directory `/usr/llvm/llvm-3.1.src/lib/Support'
gmake: *** [all] Error 1


Any pointers ?

-- 
-------------------
Thanks
Sunil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20121023/4fcf0036/attachment.html>


More information about the llvm-dev mailing list