It seems that i am facing the exact same problem as you. Can you please tell me what arguments did you use?

I was able to make my program run once by using the command
gcc -o myProg...