<div dir="ltr">Hi everyone.<div>I am using the visual stuido 2005 to build the lastesllvm source code. </div><div>After the building phase, the vs 2005 dump two errors with the lli and llc.</div><div>Here is the message:</div>
<div> the Error<span class="Apple-tab-span" style="white-space:pre"> </span>1549<span class="Apple-tab-span" style="white-space:pre"> </span>error LNK2019: unresolved external symbol "class llvm::FunctionPass * __cdecl llvm::createPBQPRegisterAllocator(void)" (?createPBQPRegisterAllocator@llvm@@YAPAVFunctionPass@1@XZ) referenced in function "public: __thiscall `anonymous namespace'::ForceCodegenLinking::ForceCodegenLinking(void)" (??0ForceCodegenLinking@?A0x75b61eb1@@QAE@XZ)<span class="Apple-tab-span" style="white-space:pre"> </span>lli.obj</div>
<div><br></div><div><div>Error<span class="Apple-tab-span" style="white-space:pre"> </span>1547<span class="Apple-tab-span" style="white-space:pre"> </span>error LNK2019: unresolved external symbol "class llvm::FunctionPass * __cdecl llvm::createPBQPRegisterAllocator(void)" (?createPBQPRegisterAllocator@llvm@@YAPAVFunctionPass@1@XZ) referenced in function "public: __thiscall `anonymous namespace'::ForceCodegenLinking::ForceCodegenLinking(void)" (??0ForceCodegenLinking@?A0xc30fad1e@@QAE@XZ)<span class="Apple-tab-span" style="white-space:pre"> </span>llc.obj</div>
<div><br></div><div><br></div><div>I search the "createPBQPRegisterAllocator" keyword in the entire solution, only to find out that</div><div> This function exists in two header file. It is declared only, not implemented.</div>
<div>Maybe it is a bug of current version? Has anyone meet the same issue as me?</div><div><br></div><div>Thank you very much for any reply.</div><div><br></div>-- <br>Best regards.<br>
</div></div>