[LLVMdev] LLVM ERROR: Program used external function 'foo' which could not be resolved!

Óscar Fuentes ofv at wanadoo.es
Sun Sep 1 17:00:49 PDT 2013


Rasha Omar <rasha.sala7 at gmail.com> writes:

> I typed this command
> lli Main.ll Mod.ll
>
> to execute program in Mod.ll that contains three functions and the main
> function is in Main.ll
>
> but I've got the following error
>
> LLVM ERROR: Program used external function 'foo' which could not be
> resolved!

lli expects just one bitcode file (see `lli --help').

To combine multiple bitcode files into one, use llvm-link.




More information about the llvm-dev mailing list