This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: Pb of include files
- From: "Gabriel Soullier" <gsoullier at sigoconseil dot fr>
- To: "Demmer, Thomas" <TDemmer at krafteurope dot com>, <cygwin at cygwin dot com>
- Date: Fri, 28 Jun 2002 12:05:12 +0200
- Subject: RE: Pb of include files
Yes I know, but with gcc I have a bigger problem :
tuxedo8.0""\sysinclude" -c service.c
In file included from c:/bea/tuxedo8.0/include/userlog.h:16,
from service.c:21:
c:/bea/tuxedo8.0/include/tmenv.h:72: conflicting types for `uid_t'
/usr/include/cygwin/types.h:36: previous declaration of `uid_t'
c:/bea/tuxedo8.0/include/tmenv.h:73: conflicting types for `gid_t'
/usr/include/cygwin/types.h:37: previous declaration of `gid_t'
c:/bea/tuxedo8.0/include/tmenv.h:74: warning: redefinition of `mode_t'
/usr/include/sys/types.h:144: warning: `mode_t' previously declared here
c:/bea/tuxedo8.0/include/tmenv.h:77: conflicting types for `pid_t'
/usr/include/sys/types.h:138: previous declaration of `pid_t'
c:/bea/tuxedo8.0/include/tmenv.h:78: warning: redefinition of `caddr_t'
/usr/include/sys/types.h:88: warning: `caddr_t' previously declared here
make: *** [service.o] Error 1
=> Conflicts of types !!!!!!!
-----Message d'origine-----
De : cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]De la part
de Demmer, Thomas
Envoyé : vendredi 28 juin 2002 11:24
À : 'Gabriel Soullier'; cygwin@cygwin.com
Objet : RE: Pb of include files
You are trying to include compiler specific include files
with the wrong compiler. Try gcc instead.
Ciao
Tom
> -----Original Message-----
> From: Gabriel Soullier [SMTP:gsoullier@sigoconseil.fr]
> Sent: Friday, June 28, 2002 11:22 AM
> To: cygwin@cygwin.com
> Subject: Pb of include files
>
>
> Is anyone can help me and explain me what happenning with inculde fikes ?
> Thanks
>
>
> Microsoft (R) 32-bit C/C++ Standard Compiler Version 12.00.8168 for 80x86
> Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
>
> apilock.c
> c:\cygwin\usr\include\sys/ipc.h(51) : error C2061: syntax error :
> identifier
> 'uid_t'
> c:\cygwin\usr\include\sys/ipc.h(52) : error C2061: syntax error :
> identifier
> 'gid'
> c:\cygwin\usr\include\sys/ipc.h(52) : error C2059: syntax error : ';'
> c:\cygwin\usr\include\sys/ipc.h(53) : error C2061: syntax error :
> identifier
> 'cuid'
> c:\cygwin\usr\include\sys/ipc.h(53) : error C2059: syntax error : ';'
> c:\cygwin\usr\include\sys/ipc.h(54) : error C2061: syntax error :
> identifier
> 'cgid'
> c:\cygwin\usr\include\sys/sem.h(78) : error C2079: 'sem_perm' uses
> undefined
> struct 'ipc_perm'
> c:\cygwin\usr\include\sys/sem.h(109) : error C2061: syntax error :
> identifier 'pid_t'
> c:\cygwin\usr\include\sys/sem.h(111) : error C2054: expected '(' to follow
> 'Unsigned'
> c:\cygwin\usr\include\sys/sem.h(171) : error C2061: syntax error :
> identifier 'ushort'
> c:\cygwin\usr\include\sys/sem.h(173) : error C2059: syntax error : '}'
> c:\cygwin\usr\include\sys/sem.h(174) : error C2059: syntax error : '}'
>
> .........................
>
>
> --
> Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting: http://cygwin.com/bugs.html
> Documentation: http://cygwin.com/docs.html
> FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/