delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/10/06/11:09:44

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
To: cygwin AT cygwin DOT com
Subject: compilig error: storage size of `st' isn't known
From: Jari Aalto <jari DOT aalto AT poboxes DOT com>
Date: Fri, 03 Sep 2004 10:29:45 +0300
Message-ID: <hdqfg68m.fsf@blue.sea.net>
User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (windows-nt)
MIME-Version: 1.0
X-IsSubscribed: yes

I'm trying to compile Linux program that starts like this:

    int main(int argc, char **argv)
    {
      char **dirname = NULL;
      int i,j,n,p,q,dtotal,ftotal,colored = FALSE;
      struct stat64 st;

But the compiler says:

    tree.c: In function `main':
    tree.c:204: error: storage size of `st' isn't known
    tree.c:204: warning: unused variable `st'

What needs to be done in Cygwin to see "struct stat" ?

Jari


--
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