Hi,<br><br>I am trying to create an small project using visual studio. <br>I would like to know how to create a project with two '.c' source files. The first .c file should have the main() program and a function declaration and function call in it.<br>
The second .c file should contain the function definition. <br>I tried doing that using visual studio. It can compile and understand that the function definition is in a separate .c file (but in the same project folder). But when I tried to compile the same program with<br>
 clang -c main.c -emit-llvm -o main.bc<br clear="all">lli main.bc<br><br>It gave me this error:<br>LLVM ERROR: program used external function 'functioncall' which could not be resolved!<br><br>could you tell me how to debug these kind of projects which have the function definitions in a separate .c file ??<br>
<br>Thanks<br>-- <br>Kalyan Ponnala<br>phone: 8163772059<br>