Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: compilation errors Date: Mon, 12 Apr 2004 14:50:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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/