Hi, everybody! I'm trying to link against libws2_32.a a C++ program, which uses winsock2.h. That's the catch! Corresponding C conterpart, which does the same, is built without problems. It turned out that there are defined symbols like _htons@4 in the library, but my objects require htons@4 (without underscore). How to tell the g++ to put the underscore sign before symbols used in the winsock2? Thanks a lot! -- Anatoli Sakhnik