This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Call for testing Cygwin snapshot
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: cygwin at cygwin dot com
- Date: Sun, 18 Dec 2005 12:55:47 +0100 (MET)
- Subject: Re: Call for testing Cygwin snapshot
I built ROOT-5.06.00, a CERN application, at Nov 10 2005 using GCC-3.3.3-3
and the snapshot of that time.
All worked fine.
Now I have repeated the build using the same method, the same GCC-3.3.3-3,
but with the current snapshot 20051216 23:59:19.
The build fails:
-------------------------------------------
unix/src/TUnixSystem.cxx: In static member function `static const char*
TUnixSystem::UnixGetdirentry(void*)':
unix/src/TUnixSystem.cxx:3388: error: 'struct dirent' has no member named
'
d_ino'
make: *** [unix/src/TUnixSystem.o] Error 1
-------------------------------------------
The code that causes this error should be :
-------------------------------------------
#if defined(_POSIX_SOURCE)
// Posix does not require that the d_ino field be present, and some
// systems do not provide it.
# define REAL_DIR_ENTRY(dp) 1
#else
# define REAL_DIR_ENTRY(dp) (dp->d_ino != 0)
#endif
-------------------------------------------
i.e. it seems that '_POSIX_SOURCE' is not defined in the current snapshot.
Is this a correct conclusion?
Is there a workaround ?
Cheers,
Angelo.
--
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/