On 1/10/07, Pierangelo Masarati <ando@sys-net.it> wrote:
> Zhang William wrote:
>
> You should post the contents of config.log (or direct to a publicly
> accessible URL pointing to that file).
>
OK, I use openldap2.3.24:
export CFLAGS="-g -I/c/cpp/lib-gcc/include -I/c/cpp/lib-gcc/include/bdb" LDFLAGS="-L/c/cpp/lib-gcc/lib -L/c/cpp/mingw/lib" CPPFLAGS="-g -I/c/cpp/lib-gcc/include/bdb"; ./configure --enable-hdb=no --enable-overlays --enable-sql --enable-meta --enable-ldap --enable-rewrite --enable-null --enable-shared=no
config.log:
line: 1414cat >>confdefs.h <<_ACEOF
#ifdef MINGW
#include <windows.h>
#endif //zzw: mingw need this ?
#define PACKAGE_NAME "$PACKAGE_NAME"
_ACEOF
line: 6689#ifndef MINGW
char SQLDriverConnect (); //zzw: mingw dont accept this ?
#else
#include <sqlext.h>
#endif
int
main ()
{
#ifndef MINGW
SQLDriverConnect ();
#else
SQLDriverConnect(0,0,0,0,0,0,0,0);
#endif