On Feb 2 10:41, David Rothenberger wrote: > I get the following error when trying to compile openssh-4.3p1-1 > using cygwin 1.5.19-4. > > scp.c: In function `rsource': > scp.c:698: error: structure has no member named `d_ino' > > The error comes from this code: > > while ((dp = readdir(dirp)) != NULL) { > if (dp->d_ino == 0) > continue; > if (!strcmp(dp->d_name, ".") || !strcmp(dp->d_name, "..")) > continue; > ... > } > > I "solved" the problem with the attached patch, which detects the > missing d_ino in configure and removes the test and continue if > d_ino isn't present. > > Is this the appropriate thing to do?
The appropriate thing to do would be to use the binaries from the distro. Also, the absence of d_ino in 1.5.19 is temporary. The snapshots and the upcoming 1.5.20 release will bring it back. > Also, Corinna, how did you make the binaries for openssh-4.3p1-1? See /usr/share/doc/Cygwin/openssh.README. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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/