Re: Can't link to winsock2 library

2003-10-24 Thread Takeshi Honda
Thank you for your help. > The -c option means compile just a .o file. > Libraries are only used > during the final link. Remove the -c, and you'll > probably want a -o to > specify the output file name. I could compile and link. Thanks! > Your include path looks

Re: Can't link to winsock2 library

2003-10-24 Thread Brian Ford
On Sat, 25 Oct 2003, Takeshi Honda wrote: > 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 -lws