Hi All,<br><br>I am trying to build llvm on AIX. I installed all the required packages including gcc, g++, etc<br>./configure also went fine. but i tried to run gmake, i got the following error:<br><br>llvm[1]: Compiling MemoryBuffer.cpp for Release+Asserts build<br>
llvm[1]: Compiling MemoryObject.cpp for Release+Asserts build<br>llvm[1]: Compiling Mutex.cpp for Release+Asserts build<br>llvm[1]: Compiling Path.cpp for Release+Asserts build<br>In file included from Path.cpp:289:0:<br>
Unix/Path.inc: In static member function 'static llvm::sys::Path llvm::sys::Path::GetMainExecutable(const char*, void*)':<br>Unix/Path.inc:345:3: error: 'Dl_info' was not declared in this scope<br>Unix/Path.inc:345:11: error: expected ';' before 'DLInfo'<br>
Unix/Path.inc:346:31: error: 'DLInfo' was not declared in this scope<br>Unix/Path.inc:346:37: error: 'dladdr' was not declared in this scope<br>Unix/Path.inc: In static member function 'static void llvm::sys::Path::UnMapFilePages(const char*, size_t)':<br>
Unix/Path.inc:887:19: warning: cast from type 'const char*' to type 'void*' casts away qualifiers [-Wcast-qual]<br>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.<br>
gmake[1]: *** [/usr/llvm/llvm-3.1.src/lib/Support/Release+Asserts/Path.o] Error 1<br>gmake[1]: Leaving directory `/usr/llvm/llvm-3.1.src/lib/Support'<br>gmake: *** [all] Error 1<br><br><br>Any pointers ?<br clear="all">
<br>-- <br>-------------------<div>Thanks<br>Sunil <br></div><br>