libmicrohttpd
[Top][All Lists]
Advanced

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

Re: [libmicrohttpd] MinGW Undefined reference to _win_tsearch


From: Leo von Klenze
Subject: Re: [libmicrohttpd] MinGW Undefined reference to _win_tsearch
Date: Mon, 18 May 2009 15:04:58 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090409)

Andre Colomb schrieb:
> 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  
> -L/z/src/mhd-build/pthreads/Pre-built.2/lib
> -L/z/src/mhd-build/plibc-0.1.4/src/.libs
> -L/z/src/mhd-build/libintl-0.14.4-lib/lib
> /z/src/mhd-build/plibc-0.1.4/src/.libs/libplibc.dll.a -lole32 -luuid
> -lcomdlg32 -lgdi32 -lws2_32 -lintl -lpthreadGC2
> -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:daemon.c:(.text+0x1b3): undefined reference to
> `_win_tsearch'
> .libs/daemon.o:daemon.c:(.text+0x2a7): undefined reference to
> `_win_tfind'
> .libs/daemon.o:daemon.c:(.text+0x31a): undefined reference to
> `_win_tdelete'
> collect2: ld returned 1 exit status

Hello Andre,

I had the same problem. I checked out revision 36 (latest) of plibc
(svn, https://plibc.svn.sourceforge.net/svnroot/plibc), did a configure
& make and compiled libmicrohttpd afterwards. It compiled and linked
successfully. I have the same environment as you have.

Since this was just 5 minutes before I have not tested it by running any
program using libmicrohttpd ;-)

Best regards,
Leo




reply via email to

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