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

António Saragga Seabra antseabra at gmail.com
Sat Oct 2 10:07:00 PDT 2010


Hi



Buit the Kaleidoscope example under MinGW  and everything runs fine except
when I try the following example in Chapter 6:



extern printd(x);

printd(123);



where printd is the library function defined in C as



extern "C"

double printd(double X) {

  printf("%f\n", X);

  return 0;

}



The error message is:



LLVM ERROR: Program used external function 'printd' which could not be
resolved!



Any help will be much appreciated. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101002/72f6930a/attachment.html>


More information about the llvm-dev mailing list