This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Can't link to winsock2 library


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]