delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Message-ID: | <004201c27d45$2748e7e0$88020a0a@ekotoughbook> |
From: | "Erich Oliphant" <ericho AT vantixweb DOT com> |
To: | <cygwin AT cygwin DOT com> |
Subject: | Problems compiling OpenLDAP (2.1.8), Cygwin 1.3.12 |
Date: | Sat, 26 Oct 2002 19:12:28 -0400 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4522.1200 |
X-OriginalArrivalTime: | 27 Oct 2002 01:26:07.0078 (UTC) FILETIME=[D2B94860:01C27D57] |
Hi, I've been over the other posts regarding issues w/ openldap & cygwin but did not see this particular one. Duing the build (and the make depend) I get lots of warnings about symbol conflicts betwenn unix/cygwin headers and winsock.h. For example: -- $ make Making all in /cygdrive/c/download/openldap-2.1.8 Entering subdirectory include make[1]: Entering directory `/cygdrive/c/download/openldap-2.1.8/include' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/cygdrive/c/download/openldap-2.1.8/include' Entering subdirectory libraries make[1]: Entering directory `/cygdrive/c/download/openldap-2.1.8/libraries' Making all in /cygdrive/c/download/openldap-2.1.8/libraries Entering subdirectory liblutil make[2]: Entering directory `/cygdrive/c/download/openldap-2.1.8/libraries/liblutil' gcc -g -O2 -I../../include -I../../include -c -o base64.o base64.c In file included from ../../include/ac/socket.h:55, from base64.c:60: /usr/include/w32api/winsock2.h:96: warning: #warning "fd_set and associated macros have been defined in sys/types. This may cause runtime problems withW32 sockets" /usr/include/w32api/winsock2.h:119: warning: `timercmp' redefined /usr/include/sys/time.h:51: warning: this is the location of the previous definition /usr/include/w32api/winsock2.h:120: warning: `timerclear' redefined /usr/include/sys/time.h:47: warning: this is the location of the previous definition -- and that goes on for a while. The build fails on the first file: -- /usr/include/w32api/winsock2.h:512: parse error before `(' /usr/include/w32api/winsock2.h:512: parse error before `?' /usr/include/w32api/winsock2.h:513: parse error before `(' /usr/include/w32api/winsock2.h:513: parse error before `?' /usr/include/w32api/winsock2.h:514: parse error before `(' /usr/include/w32api/winsock2.h:514: parse error before `?' /usr/include/w32api/winsock2.h:515: parse error before `(' /usr/include/w32api/winsock2.h:515: parse error before `?' /usr/include/w32api/winsock2.h:516: conflicting types for `select' /usr/include/sys/select.h:29: previous declaration of `select' make[2]: *** [base64.o] Error 1 make[2]: Leaving directory `/cygdrive/c/download/openldap-2.1.8/libraries/libil' make[1]: *** [all-common] Error 1 make[1]: Leaving directory `/cygdrive/c/download/openldap-2.1.8/libraries' make: *** [all-common] Error 1 -- Any ideas would be appreciated. Thanks in advance. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |