delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/04/12/08:50:25

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <002601c4208c$b2bae6c0$0b00a8c0@portable>
From: "chatiman" <chatiman AT free DOT fr>
To: <cygwin AT cygwin DOT com>
Subject: compilation errors
Date: Mon, 12 Apr 2004 14:50:12 +0200
MIME-Version: 1.0
X-IsSubscribed: yes

Hello,

I'm tryng to compile a linux app under cygwin and I'm having the
following errors returned :

*** ERROR 1 ***
/usr/include/sys/unistd.h:107: error: syntax error before numeric constant

line 107 of /usr/include/sys/unistd.h :
int     _EXFUN(pipe, (int __fildes[2] ));

*** ERROR 2 ***
/usr/include/sys/dirent.h:62: error: syntax error before "__ino64_t"

extract of /usr/include/sys/dirent.h :
typedef struct __DIR
{
  /* This is first to set alignment in non _COMPILING_NEWLIB case.  */
  unsigned long __d_cookie;
  struct dirent *__d_dirent;
  char *__d_dirname;  /* directory name with trailing '*' */
  _off_t __d_position;  /* used by telldir/seekdir */
  __ino64_t __d_dirhash; /* hash of directory name for use by readdir */ //
<<<=== line 62
  void *__handle;
  void *__fh;
  unsigned __flags;
} DIR;

Anyone know what's wrong ?



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