delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/04/13/05:05:15

X-Spam-Check-By: sourceware.org
Date: Thu, 13 Apr 2006 11:04:56 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Cc: rowol AT mysticind DOT com
Subject: Re: :Re: Find not working w/ Samba drive
Message-ID: <20060413090456.GI9135@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com, rowol AT mysticind DOT com
References: <443DC9A0 DOT 7000907 AT byu DOT net> <1847 DOT 71 DOT 113 DOT 94 DOT 37 DOT 1144916994 DOT squirrel AT wm1>
Mime-Version: 1.0
In-Reply-To: <1847.71.113.94.37.1144916994.squirrel@wm1>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Apr 13 04:29, rowol wrote:
> I tried compiling that program, but got the error message:
> 
>    C:\tmp>gcc -o stest samba.test.c
>    samba.test.c: In function `main':
>    samba.test.c:32: error: structure has no member named `d_ino'
> 
>    C:\tmp>gcc --version
>    gcc (GCC) 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125)
>    Copyright (C) 2004 Free Software Foundation, Inc.
> 
> 
> When I look at sys/dirent.h, instead of having a d_ino member, the dirent
> structure's got an "__invalid_d_ino" member.... (?) with the note /* DO
> NOT USE: No longer available since cygwin 1.5.19 */
> 
> Corrinna, if you can tell me how you'd like me to change your program so I
> can compile it, I can run it on my older Samba share.

Use a recent Cygwin snapshot from http://cygwin.com/snapshots/
It reenables d_ino.


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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019