TR: Strange, strange...
Don Sharp
dwsharp@iee.org
Mon Jul 22 07:28:00 GMT 2002
Gabriel Soullier wrote:
>
> Yes, i try with a microsoft compiler.
> But every thing must be ok.
> Even, i try to compile with gcc compiler, see what happen :
> Same problem...
>
> (tde,iedom) ! ->
> gcc -I"c:\cygwin\sig\sigsrc\com\include" -I"c:\cygwin\sig\sigsrc\tde\dvl\inc
> lude\iedom" -I"c:\cygwin\sig\sigsrc\tde>
^ ^ ^ ^
Did you really pass backslashes to a POSIX pathed program?
I suspect that your include paths will not turn out to be the ones that
you intended.
Cheers
Don Sharp
> gcc: apilock.o: No such file or directory
> In file included from apilock.c:32:
> c:/cygwin/usr/include/sys/ipc.h:51: parse error before `uid_t'
> c:/cygwin/usr/include/sys/ipc.h:51: warning: no semicolon at end of struct
> or union
> c:/cygwin/usr/include/sys/ipc.h:52: warning: data definition has no type or
> storage class
> c:/cygwin/usr/include/sys/ipc.h:53: parse error before `cuid'
> c:/cygwin/usr/include/sys/ipc.h:53: warning: data definition has no type or
> storage class
> c:/cygwin/usr/include/sys/ipc.h:54: parse error before `cgid'
> c:/cygwin/usr/include/sys/ipc.h:54: warning: data definition has no type or
> storage class
> c:/cygwin/usr/include/sys/ipc.h:58: parse error before `}'
> In file included from apilock.c:33:
> c:/cygwin/usr/include/sys/sem.h:78: field `sem_perm' has incomplete type
> c:/cygwin/usr/include/sys/sem.h:113: parse error before `tid_t'
> c:/cygwin/usr/include/sys/sem.h:113: warning: no semicolon at end of struct
> or union
> c:/cygwin/usr/include/sys/sem.h:114: warning: data definition has no type or
> storage class
>
> -----Message d'origine-----
> De : Cliff Hones [mailto:cliff@aonix.co.uk]
> Envoyé : lundi 22 juillet 2002 10:37
> Ã : Gabriel Soullier
> Objet : Re: Strange, strange...
>
> Gabriel Soullier wrote:
> >
> > What a strange thing Cygwin....
> >
> > 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'
> >
> > ...
>
> That doesn't look like Cygwin - it looks more like output from a
> Microsoft compiler. Check your makefile and path.
>
> -- Cliff
>
> --
> 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/
More information about the Cygwin
mailing list