Quote Originally Posted by __bairagi View Post
is no error in compiling but error in linking.
Following is the error:

proparse.obj:could not resolved the pro_lex referenced in the function pro_parse
That couldn't be the exact error message from the Microsoft linker. Please post the exact message you are receiving.
Now,pro_lex is the function defined in the lex file. Lets say pro.lex. I used flex to generate the pro.c .And this function is defined and called as follows:
You posted only function declarations, not actual function implementations. Where are the actual functions implemented?

Also, use code tags when posting code. Then there is no need for "......" in your post.
Could you please let me know what can be the reason for it?
All a declaration does is tell the compiler that a function exists somewhere. The linker now wants to know more -- where is the function? That's the reason for the error.

Regards,

Paul McKenzie