The problem is that "-1" is not quite correct (since it has to be a 'long 
long').  Besides, there are known issues in MHD 0.4.0.  README recommends 
using MHD >= 0.4.4, and from a bug report that I got on IRC it seems that even 
that version has an issue that can be triggered by GNUnet.  Now MHD 0.4.5 is 
not out yet (we need to resolve an issue on W32 first), but once it is, I would 
strongly recommend to update to that version.  Changing the code to "-1" is, 
in any case, not advisable.

Best,

Christian

On Tuesday 19 January 2010 13:28:37 Waltraud Schnelle wrote:
> Hello,
> 
> trying to compile gnunet-0.8.1 using libmicrohttpd-0.4.0 I found that I
> have to replace the following:
> 
> src/transports/http.c:874
> 
> -       gg = MHD_create_response_from_callback (SIZE_UNKNOWN,
> +       gg = MHD_create_response_from_callback (-1,
> 
> to get it compiled, because /usr/include/microhttpd.h doesn't define
> the symbol, but mentions, that -1 should be used for the purpose.
> 
> Kind regards!
> ulf
> 
> 
> _______________________________________________
> Bug-GNUnet mailing list
> Bug-GNUnet@gnu.org
> http://lists.gnu.org/mailman/listinfo/bug-gnunet
> 

-- 
http://grothoff.org/christian/


_______________________________________________
Bug-GNUnet mailing list
Bug-GNUnet@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnunet

Reply via email to