This is the mail archive of the
cygwin
mailing list for the Cygwin project.
compilation errors
- From: "chatiman" <chatiman at free dot fr>
- To: <cygwin at cygwin dot com>
- Date: Mon, 12 Apr 2004 14:50:12 +0200
- Subject: compilation errors
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/