[LLVMdev] LLVM Interpreter external library

Fulcrum TheFirst fulcrum991 at gmail.com
Thu Nov 20 03:19:56 PST 2014


Hello everyone,


I've got some bytecode (compiled from a c source file) that I'm trying to
interpret, but I have an issue with an external library.

command: lli.exe file.bc
error: LLVM ERROR: Program used external function '☺_WSAStartup at 8' which
could not be resolved!

Somehow I should link ws2_32.lib or ws2_32.dll to the interpreter. I have
tried a dll injector (https://code.google.com/p/injector/), but that didn't
work. Any other ideas?

I've compiled LLVM on a windows in visual studio.



Thank you in advance,
Fulcrum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20141120/0d7cfc37/attachment.html>


More information about the llvm-dev mailing list