[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mingw-users
Subject:    Re: [Mingw-users] Undefined Reference with Windows Socket
From:       "ALEXANDRE BORGES GONCALVES" <greecesking () ig ! com ! br>
Date:       2008-12-26 13:43:38
Message-ID: c79ecc6a0812260543h1e76215flc96a9ca97cac56ea () mail ! gmail ! com
[Download RAW message or body]

Thank you, Jonathan.
It works perfectly.
[]

2008/12/25, Jonathan Schleifer <js-mingw-users@webkeks.org>:
> "ALEXANDRE BORGES GONCALVES" <greecesking@ig.com.br> wrote:
> 
> > I have got these messages
> > 
> > C:\MinGWStudio\Programs\ksocket\ksocket.c:8: undefined reference to
> > `socket@12'
> > C:\MinGWStudio\Programs\ksocketl\Debug\ksocket.o(.text+0x3e):C:\MinGWStudio\Programs\ksocket\ksocket.c:13:
> >  undefined reference to `closesocket@4'
> 
> Try -lws2_32 or -lwsock32.
> 
> --
> Jonathan
> 

------------------------------------------------------------------------------
_______________________________________________
MinGW-users mailing list
MinGW-users@lists.sourceforge.net

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users

_______________________________________________
This list observes the Etiquette found at http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic