[gnet-dev] New Win32 GNet and Mingw



Hi,

I'm very interested to use mingw to link GNet. So, I download everything.

I've build the libgnet-1.0.a (using dlltool from mingw).

But when I tried to link with the example 'hostinfo.c' I get the message :

--------------------------( code here )--------------------------
$ make
/home/luigi/gcc/bin/gcc -mno-cygwin -mpentium -fnative-struct -o hostinfo.exe ho
stinfo.c -L../../src/glib -lglib-1.3 -L../../src/gnet-dev-20010304/Release -lgne
t-1.0 -I../../src/glib -I../../src/gnet-dev-20010304
In file included from hostinfo.c:24:
.\..\src\gnet-dev-20010304\gnet-private.h:83: ws2tcpip.h: No such file or direc
tory
make: *** [hostinfo] Error 1
--------------------------( /code here )--------------------------

Of course, I didn't have any ws2tcpip.h... I tried to comment the 
< include "ws2tcpip.h" > (sorry for the spaces but my email reader is
a html-lover :( ), but I get of course another error :

--------------------------( code here )--------------------------
[...]
In file included from hostinfo.c:24:
.\..\src\gnet-dev-20010304\gnet-private.h:83: ws2tcpip.h: No such file or direc
tory
make: *** [hostinfo] Error 1
--------------------------( /code here )--------------------------


If someone has succedd in linking GNet with mingw, can he give me some tips ?

Many thanks,
Pascal



"Andrew J. Lanoix" <alanoix umich edu> wrote on 06/03/01 03:46:04:
>
>I have built GNet from CVS (basically 1.0.4) against Tor's latest Glib 1.3 
>Win32 snapshot (March 1, 2001). He has not updated his webpage with a link 
>but the files are there.  [eg. 
>http://www.gimp.org/win32/glib-dev-20010301.zip]
>
>Our zip files are in the download section of GNet's website.
>
>Andy
>_______________________________________________
>gnet-dev mailing list
>gnet-dev gnetlibrary org
>http://www.gnetlibrary.org/mailman/listinfo/gnet-dev




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]