[LLVMdev] Error Building LLVM on AIX 6

Patrick Simmons simmon12 at illinois.edu
Sun Aug 22 15:38:25 PDT 2010


  I get the following problem building LLVM 2.7 on AIX 6:

gmake[1]: Entering directory 
`/home/home/ac/psimmons/llvm/llvm-2.7/lib/System'
llvm[1]: Compiling Path.cpp for Release build
In file included from Path.cpp:262:
Unix/Path.inc: In static member function 'static llvm::sys::Path 
llvm::sys::Path::GetTemporaryDirectory(std::string*)':
Unix/Path.inc:142: error: 'mkdtemp' was not declared in this scope
Unix/Path.inc: In static member function 'static llvm::sys::Path 
llvm::sys::Path::GetMainExecutable(const char*, void*)':
Unix/Path.inc:365: error: 'Dl_info' was not declared in this scope
Unix/Path.inc:365: error: expected `;' before 'DLInfo'
Unix/Path.inc:366: error: 'DLInfo' was not declared in this scope
Unix/Path.inc:366: error: 'dladdr' was not declared in this scope
gmake[1]: *** 
[/home/home/ac/psimmons/llvm/llvm-2.7/lib/System/Release/Path.o] Error 1
gmake[1]: Leaving directory 
`/home/home/ac/psimmons/llvm/llvm-2.7/lib/System'
gmake: *** [all] Error 1
-bash-3.2$ pwd

Is this a known problem?  How should I go about fixing this?

Thanks,
--Patrick

-- 
If I'm not here, I've gone out to find myself.  If I get back before I return, please keep me here.




More information about the llvm-dev mailing list