delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/24/13:48:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <moecho21 AT yahoo DOT co DOT jp>
Subject: Can't link to winsock2 library
To: cygwin AT cygwin DOT com
MIME-Version: 1.0

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019