Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <20031024174737.77532.qmail@web302.mail.yahoo.co.jp> Date: Sat, 25 Oct 2003 02:47:37 +0900 (JST) From: Takeshi Honda Subject: Can't link to winsock2 library To: cygwin AT cygwin DOT com MIME-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Hi, I made ruby extension module which uses winsock2. And I tried to compile it. But the following error appeared. What can I do for this problem? Please let me know. ext>>gcc -Os -I /usr/local/lib/ruby/1.6/i386-cygwin -I. -I/usr/local/lib/ruby/1.8/i386-cygwin -I/usr/local/lib/ruby/1.8/i386-cygwin -I. -I/usr/local/cygwin-local/include -c Sniff.cpp -lws2_32 -lm -lstdc++ gcc: -lws2_32: linker input file unused because linking not done gcc: -lm: linker input file unused because linking not done gcc: -lstdc++: linker input file unused because linking not done __________________________________________________ Do You Yahoo!? Yahoo! BB is Broadband by Yahoo! http://bb.yahoo.co.jp/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/