[Top][All Lists]

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

Re: [libmicrohttpd] Re: libmicrohttpd 0.4.4 on Windows

From: Brecht Sanders
Subject: Re: [libmicrohttpd] Re: libmicrohttpd 0.4.4 on Windows
Date: Thu, 05 Nov 2009 08:42:38 +0100
User-agent: Thunderbird (Windows/20090812)

Nils Durner wrote:
Hi Brecht,

thanks for the report.

    Socket descriptor larger than FD_SETSIZE: 200 > 64
That's okay on Windows, since FD_SETSIZE is really just the maximum
possible size of an FD set. Different from Unix, the numeric value of an
FD does not matter at all. The error message is silenced in r9400.
Thanks for disabling it for Windows!
Is it safe to disable this test on Windows?

I always need to add the lines below near the end of src/include/plibc.h
to get it to compile.
Maybe some #ifdef __MINGW32__ could be used for this case?
The declarations are at plibc.h:644. Please send me the original error
message, maybe there's something wrong with the inclusion context.

Below is the output I get.

/bin/sh ../../libtool --tag=CC --mode=link gcc -fno-strict-aliasing -g -O2 -export-dynamic -no-undefined -version-info 7:0:2 -no-undefined -Wl,--export-all-symbols -lws2_32 -lplibc -o -rpath /home/win32/inst_libmicrohttpd-0.4.1/lib connection.lo reason_phrase.lo daemon.lo internal.lo memorypool.lo postprocessor.lo response.lo connection_https.lo https/lgl/ https/x509/ https/tls/ https/minitasn1/ -lpthread
libtool: link: rm -fr  .libs/libmicrohttpd.dll.a
libtool: link: gcc -shared .libs/connection.o .libs/reason_phrase.o .libs/daemon.o .libs/internal.o .libs/memorypool.o .libs/postprocessor.o .libs/response.o .libs/connection_https.o -Wl,--whole-archive https/lgl/.libs/liblgl.a https/x509/.libs/libx509.a https/tls/.libs/libtls.a https/minitasn1/.libs/libasn1.a -Wl,--no-whole-archive -L/home/win32/inst_libgcrypt-1.4.4/lib -L/mingw/lib /mingw/lib/libgcrypt.dll.a /mingw/lib/libgpg-error.dll.a /mingw/lib/libplibc.dll.a -lole32 -lcomdlg32 -lgdi32 -lws2_32 -lintl -lpthread -Wl,--export-all-symbols -o .libs/libmicrohttpd-5.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libmicrohttpd.dll.a Creating library file: .libs/libmicrohttpd.dll.a.libs/daemon.o: In function `MHD_ip_limit_del': D:\Prog\MinGW-mSys\home\win32\libmicrohttpd-0.4.4\src\daemon/daemon.c:268: undefined reference to `_win_tfind' D:\Prog\MinGW-mSys\home\win32\libmicrohttpd-0.4.4\src\daemon/daemon.c:295: undefined reference to `_win_tdelete'
.libs/daemon.o: In function `MHD_ip_limit_add':
D:\Prog\MinGW-mSys\home\win32\libmicrohttpd-0.4.4\src\daemon/daemon.c:216: undefined reference to `_win_tsearch
collect2: ld returned 1 exit status

reply via email to

[Prev in Thread] Current Thread [Next in Thread]