Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com From: "Bernhard Janetzki" To: Subject: icecast Date: Sun, 14 Nov 2004 16:06:49 +0100 Message-ID: <002701c4ca5b$9171de50$6364a8c0@bernhard> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAEF6kh7006940 Hello, i want to compile icecast under cygwin. “./configure” works fine, but it produces this warning: … checking winsock2.h usability... no checking winsock2.h presence... yes configure: WARNING: winsock2.h: present but cannot be compiled configure: WARNING: winsock2.h: check for missing prerequisite headers? configure: WARNING: winsock2.h: proceeding with the preprocessor's result configure: WARNING: ## ------------------------------------ ## configure: WARNING: ## Report this to bug-autoconf AT gnu DOT org. ## configure: WARNING: ## ------------------------------------ ## checking for winsock2.h... yes … Make exit with this error: … In file included from sock.h:28, from sock.c:58: /usr/include/w32api/winsock2.h:95:2: warning: #warning "fd_set and associated ma cros have been defined in sys/types. This may cause runtime problems with W 32 sockets" In file included from sock.h:28, from sock.c:58: /usr/include/w32api/winsock2.h:101: error: redefinition of `struct timeval' /usr/include/w32api/winsock2.h:112: error: redefinition of `struct hostent' /usr/include/w32api/winsock2.h:120: error: redefinition of `struct linger' /usr/include/w32api/winsock2.h:147: error: redefinition of `struct netent' /usr/include/w32api/winsock2.h:153: error: redefinition of `struct servent' /usr/include/w32api/winsock2.h:159: error: redefinition of `struct protoent' /usr/include/w32api/winsock2.h:215: error: redefinition of `struct in_addr' /usr/include/w32api/winsock2.h:246: error: redefinition of `struct sockaddr_in' /usr/include/w32api/winsock2.h:327: error: redefinition of `struct sockaddr' /usr/include/w32api/winsock2.h:515: error: conflicting types for `accept' /usr/include/sys/socket.h:29: error: previous declaration of `accept' /usr/include/w32api/winsock2.h:516: error: conflicting types for `bind' /usr/include/sys/socket.h:30: error: previous declaration of `bind' /usr/include/w32api/winsock2.h:518: error: conflicting types for `connect' /usr/include/sys/socket.h:31: error: previous declaration of `connect' /usr/include/w32api/winsock2.h:520: error: conflicting types for `getpeername' /usr/include/sys/socket.h:32: error: previous declaration of `getpeername' /usr/include/w32api/winsock2.h:521: error: conflicting types for `getsockname' /usr/include/sys/socket.h:33: error: previous declaration of `getsockname' /usr/include/w32api/winsock2.h:522: error: conflicting types for `getsockopt' /usr/include/sys/socket.h:44: error: previous declaration of `getsockopt' /usr/include/w32api/winsock2.h:523: error: conflicting types for `inet_addr' /usr/include/arpa/inet.h:22: error: previous declaration of `inet_addr' /usr/include/w32api/winsock2.h:524: error: conflicting types for `inet_ntoa' /usr/include/arpa/inet.h:28: error: previous declaration of `inet_ntoa' /usr/include/w32api/winsock2.h:525: error: conflicting types for `listen' /usr/include/sys/socket.h:34: error: previous declaration of `listen' /usr/include/w32api/winsock2.h:526: error: conflicting types for `recv' /usr/include/sys/socket.h:35: error: previous declaration of `recv' /usr/include/w32api/winsock2.h:527: error: conflicting types for `recvfrom' /usr/include/sys/socket.h:37: error: previous declaration of `recvfrom' /usr/include/w32api/winsock2.h:528: error: conflicting types for `send' /usr/include/sys/socket.h:39: error: previous declaration of `send' /usr/include/w32api/winsock2.h:529: error: conflicting types for `sendto' /usr/include/sys/socket.h:42: error: previous declaration of `sendto' /usr/include/w32api/winsock2.h:530: error: conflicting types for `setsockopt' /usr/include/sys/socket.h:43: error: previous declaration of `setsockopt' /usr/include/w32api/winsock2.h:531: error: conflicting types for `shutdown' /usr/include/sys/socket.h:45: error: previous declaration of `shutdown' /usr/include/w32api/winsock2.h:532: error: conflicting types for `socket' /usr/include/sys/socket.h:46: error: previous declaration of `socket' /usr/include/w32api/winsock2.h:533: error: conflicting types for `gethostbyaddr' /usr/include/netdb.h:139: error: previous declaration of `gethostbyaddr' /usr/include/w32api/winsock2.h:534: error: conflicting types for `gethostbyname' /usr/include/netdb.h:140: error: previous declaration of `gethostbyname' /usr/include/w32api/winsock2.h:535: error: conflicting types for `getservbyport' /usr/include/netdb.h:149: error: previous declaration of `getservbyport' /usr/include/w32api/winsock2.h:536: error: conflicting types for `getservbyname' /usr/include/netdb.h:148: error: previous declaration of `getservbyname' /usr/include/w32api/winsock2.h:537: error: conflicting types for `getprotobynumb er' /usr/include/netdb.h:146: error: previous declaration of `getprotobynumber' /usr/include/w32api/winsock2.h:538: error: conflicting types for `getprotobyname ' /usr/include/netdb.h:145: error: previous declaration of `getprotobyname' /usr/include/w32api/winsock2.h:607: error: parse error before '(' token /usr/include/w32api/winsock2.h:607: error: parse error before '?' token /usr/include/w32api/winsock2.h:608: error: parse error before '(' token /usr/include/w32api/winsock2.h:608: error: parse error before '?' token /usr/include/w32api/winsock2.h:609: error: parse error before '(' token /usr/include/w32api/winsock2.h:609: error: parse error before '?' token /usr/include/w32api/winsock2.h:610: error: parse error before '(' token /usr/include/w32api/winsock2.h:610: error: parse error before '?' token /usr/include/w32api/winsock2.h:611: error: conflicting types for `select' /usr/include/sys/select.h:28: error: previous declaration of `select' /usr/include/w32api/winsock2.h:614: error: conflicting types for `gethostname' /usr/include/sys/unistd.h:205: error: previous declaration of `gethostname' sock.c: In function `sock_set_blocking': sock.c:238: warning: passing arg 3 of `ioctlsocket' from incompatible pointer ty pe make[3]: *** [libicenet_la-sock.lo] Error 1 make[3]: Leaving directory `/cygdrive/c/Dokumente und Einstellungen/Administrato r/Desktop/icecast-2.1.0/src/net' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/cygdrive/c/Dokumente und Einstellungen/Administrato r/Desktop/icecast-2.1.0/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/cygdrive/c/Dokumente und Einstellungen/Administrato r/Desktop/icecast-2.1.0' make: *** [all] Error 2 For further information see http://bjanetzki.de/config.log Can you help me? Thanks, Greets Börni -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/