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 X-Originating-IP: [66.206.205.2] X-Originating-Email: [vxj45 AT hotmail DOT com] From: "Vishal Jain" To: cygwin AT cygwin DOT com Subject: Unable to compile 1.3.22-1 sources Date: Tue, 08 Apr 2003 18:20:03 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 09 Apr 2003 01:20:05.0545 (UTC) FILETIME=[26FAB990:01C2FE36] Note-from-DJ: This may be spam Hi, I am unable to compile 1.3.22-1 sources. I am getting following errors- In file included from /usr/include/w32api/windows.h:98, from ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:17: /usr/include/w32api/winsock2.h:101: redefinition of `struct timeval' /cygdrive/c/cygwin/usr/src/cygwin-1.3.22-1/newlib/libc/include/sys/time.h:16: previous definition of `struct timeval' In file included from ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:19: /cygdrive/c/cygwin/usr/src/cygwin-1.3.22-1/winsup/cygwin/include/sys/cygwin.h:229: ' __uid16_t' is used as a type, but is not defined as a type. /cygdrive/c/cygwin/usr/src/cygwin-1.3.22-1/winsup/cygwin/include/sys/cygwin.h:230: ' __gid16_t' is used as a type, but is not defined as a type. /cygdrive/c/cygwin/usr/src/cygwin-1.3.22-1/winsup/cygwin/include/sys/cygwin.h:248: ' __uid32_t' is used as a type, but is not defined as a type. /cygdrive/c/cygwin/usr/src/cygwin-1.3.22-1/winsup/cygwin/include/sys/cygwin.h:249: ' __gid32_t' is used as a type, but is not defined as a type. ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc: In function `void dll_info(const char*, void*, int, int)': ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: `localtime' undeclared (first use this function) ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: (Each undeclared identifier is reported only once for each function it appears in.) ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:479: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:480: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:481: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:482: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:487: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:487: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:487: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:488: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:488: invalid use of undefined type `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:478: forward declaration of `struct tm' ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc: In function `void pretty_id(const char*, char*, unsigned int)': ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:777: `X_OK' undeclared (first use this function) ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc: In function `void dump_sysinfo()': ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:841: `time' undeclared (first use this function) ../../../../cygwin-1.3.22-1/winsup/utils/cygcheck.cc:842: `ctime' undeclared (first use this function) make[2]: *** [cygcheck.o] Error 1 make[2]: Leaving directory `/cygdrive/c/cygwin/usr/src/obj/i686-pc-cygwin/winsup/utils' make[1]: *** [utils] Error 1 What do I need to do to fix this? thanks, Vishal _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail -- 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/