[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-liquidwar6] Problems compiling LW6
From: |
Christian Mauduit |
Subject: |
Re: [Help-liquidwar6] Problems compiling LW6 |
Date: |
Sun, 06 Mar 2011 09:40:11 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.16) Gecko/20101226 Icedove/3.0.11 |
Hi,
Didn't test it, but try replacing, on line 122 in
src/lib/net/net-socket.c , m_socket by sock, that is:
if (!ioctlsocket (sock, FIONBIO, &enable_ul))
Have a nice day,
Christian.
Le 02/03/2011 11:11, Kasper Hviid a écrit :
> 2011/3/1 Christian Mauduit <address@hidden>:
>> Thanks for report, attached is a patch which should hopefully fix that
>> problem (didn't test it on MS-Windows but well, could work). The change has
>> also been propagated in upstream git source.
>
> Thanks, that was fast! I was a little bit totally unsure about how to apply
> the
> patch, so I just downloaded liquidwar6-20110302snapshot, which (as I
> understand it) has been updated.
>
> There are still some kind of problem somewhere, but I think it did
> come a lot further. The error might or might not be this:
>
> -o .libs/net-socket.o
> net-socket.c: In function `lw6net_socket_set_blocking_mode':
> net-socket.c:122: error: `m_socket' undeclared (first use in this function)
> net-socket.c:122: error: (Each undeclared identifier is reported only once
> net-socket.c:122: error: for each function it appears in.)
> make[4]: *** [net-socket.lo] Error 1
> make[4]: Leaving directory
> `/home/Chiller/liquidwar6-20110302snapshot/src/lib/n
> et'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/home/Chiller/liquidwar6-20110302snapshot/src/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/Chiller/liquidwar6-20110302snapshot/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/Chiller/liquidwar6-20110302snapshot'
> make: *** [all] Error 2
>
> address@hidden ~/liquidwar6-20110302snapshot
> $
>
> _______________________________________________
> Help-liquidwar6 mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-liquidwar6
>
>
--
Christian Mauduit <address@hidden> - http://www.ufoot.org/ ___ __/\__
Liquid War 6 - http://www.gnu.org/software/liquidwar6/ / _")\~ \~/
"Les amis de la vérité sont ceux qui la cherchent et non _/ / /_ o_\
ceux qui se vantent de l'avoir trouvée" - Condorcet (__/ \/