I get this error only at the linking phase.. I use msvc5.0 with GNU tools installed. I got rid of the previous problem. Thanks for those suggestions. Ashok