This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Help!Unable to compile 1.3.22-1 sources


Hi,
I am unable to compile 1.3.22-1 sources. It is failing while compiling
utils.
I have 2.3.1 w32api package sources which I believe is the latest.
Which version of w32api package shall I use?

Is there a CVS label I can use to get 1.3.22-1 sources which are in sync with w32api so that I can do a build.
thanks,
Vishal


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




_________________________________________________________________
The new MSN 8: advanced junk mail protection and 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]