Hi everyone,I tried to build lldb following<a href="http://lldb.llvm.org/build.html"> the instructions provided on the build instruction section</a>, but I got these errors when making lldb. I now really donot know what to do or how to fix them. If anyone suffered the same issue ever or knows how to fix these errors, please let me konw. <div>
Thank you.</div><div><div>       </div><div>/home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:1458:45: warning: </div><div>      implicit conversion of NULL constant to 'lldb::addr_t' (aka</div>
<div>      'unsigned long long') [-Wnull-conversion]</div><div>        m_material_vars->m_allocated_area = NULL;</div><div>                                          ~ ^~~~</div><div>                                            0</div>
<div>/home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:2487:75:</div><div><font size="4" color="#cc0000"> <b>error: </b></font></div><div>      member access into incomplete type 'clang::ASTContext'</div>
<div>  ...= method_decl->getASTContext().getPointerType(class_qual_type);</div><div>                                   ^</div><div>/home/ponus/llvm/tools/clang/include/clang/AST/APValue.h:25:9: note: forward</div><div>
      declaration of 'clang::ASTContext'</div><div>  class ASTContext;</div><div>        ^</div><div>/home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:2567:75: </div><div><span style="color:rgb(204,0,0);font-size:large"> </span><b style="color:rgb(204,0,0);font-size:large">error: </b></div>
<div>      member access into incomplete type 'clang::ASTContext'</div><div>                QualType class_pointer_type = method_decl->getASTContext()....</div><div>                                                                          ^</div>
<div>/home/ponus/llvm/tools/clang/include/clang/AST/APValue.h:25:9: note: forward</div><div>      declaration of 'clang::ASTContext'</div><div>  class ASTContext;</div><div>        ^</div><div>/home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:2577:67:</div>
<div><span style="color:rgb(204,0,0);font-size:large"> </span><b style="color:rgb(204,0,0);font-size:large">error: </b></div><div>      member access into incomplete type 'clang::ASTContext'</div><div>  ...QualType class_type = method_decl->getASTContext().getObjCClassType();</div>
<div>                                                       ^</div><div>/home/ponus/llvm/tools/clang/include/clang/AST/APValue.h:25:9: note: forward</div><div>      declaration of 'clang::ASTContext'</div><div>  class ASTContext;</div>
<div>        ^</div><div>/home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:2825:49:</div><div><span style="color:rgb(204,0,0);font-size:large"> </span><b style="color:rgb(204,0,0);font-size:large">error: </b></div>
<div>      member access into incomplete type 'clang::ASTContext'</div><div>  ...= ast_context->getFunctionNoProtoType(ast_context->UnknownAnyTy);</div><div>                  ^</div><div>/home/ponus/llvm/tools/clang/include/clang/AST/APValue.h:25:9: note: forward</div>
<div>      declaration of 'clang::ASTContext'</div><div>  class ASTContext;</div><div>        ^</div><div>/home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:2826:46: </div><div><span style="color:rgb(204,0,0);font-size:large"> </span><b style="color:rgb(204,0,0);font-size:large">error: </b></div>
<div>      member access into incomplete type 'clang::ASTContext'</div><div>  ...= ast_context->getBlockPointerType(generic_function_type);</div><div>                  ^</div><div>/home/ponus/llvm/tools/clang/include/clang/AST/APValue.h:25:9: note: forward</div>
<div>      declaration of 'clang::ASTContext'</div><div>  class ASTContext;</div><div>        ^</div><div>In file included from /home/ponus/llvm/tools/lldb/source/Expression/ClangExpressionDeclMap.cpp:24:</div><div>
In file included from /home/ponus/llvm/tools/lldb/source/Expression/../../include/lldb/Core/ValueObjectConstResult.h:17:</div><div>In file included from /home/ponus/llvm/tools/lldb/source/Expression/../../include/lldb/Core/ValueObject.h:29:</div>
<div>/home/ponus/llvm/tools/lldb/source/Expression/../../include/lldb/Target/Process.h:3062:19: warning: </div><div>      private field 'm_listener' is not used [-Wunused-private-field]</div><div>        Listener *m_listener;</div>
<div>                  ^</div><div>5 warnings and 5 errors generated.</div><div>make[2]: *** [/home/ponus/llvm_build/tools/lldb/source/Expression/Release+Asserts/ClangExpressionDeclMap.o] Error 1</div><div>make[2]: Leaving directory `/home/ponus/llvm_build/tools/lldb/source/Expression'</div>
<div>make[1]: *** [all] Error 1</div><div>make[1]: Leaving directory `/home/ponus/llvm_build/tools/lldb/source'</div><div>make: *** [all] Error 1</div></div><div><br></div>