This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: Problems in shm.cc from cvs
> I'm getting a bunch of sytax errors when I compile the latest cvs tree.
> Although I am aware that the tree is sometimes broken, I thought I'd call
> attention to it. I'm investigating the issue right now, but I don't know
> how long I can spend on it. Anyhow, I am using the latest cygwin install
> to build the tools on. This is where the compiler starts spitting out
> garbage:
>
> ../../../../src/winsup/cygwin/shm.cc:81: syntax error before `*'
> ../../../../src/winsup/cygwin/shm.cc:83: syntax error before `*'
> ../../../../src/winsup/cygwin/shm.cc:88: `filemap' was not declared in
> this scope
> ../../../../src/winsup/cygwin/shm.cc:90: parse error before `if'
> <-snip->
>
> Either something ain't right on my end or there is a typo in the source
> file. As I stated before I don't have time to look into it right now, so
> I thought I'd report it in case someone else has time. BTW, I was able to
> compile the tree from a few days ago...so I'm pretty sure it isn't me.
> I've donned my abestos suit, so if you feel the need, flame away :p.
Make sure you have the right headers installed in the right places. In
particular make sure winsup/cygwin/include/sys/shm.h is copied to
/usr/include/sys/shm.h
Regards
Chris
--
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/