This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
RE: C libraries
- From: "Robert Mark Bram" <relaxedrob at optusnet dot com dot au>
- To: <cygwin at cygwin dot com>
- Date: Mon, 14 Apr 2003 15:15:41 +1000
- Subject: RE: C libraries
- Reply-to: <Robert dot Bram at infotech dot monash dot edu dot au>
Howdy Chris,
I solved my problem. Somehow, my include folder had two copies of many
folders: sys and sys(2), postgresql and postgresql(2), arpa and arpa(2). The
'original' folders were all empty and the (2) folders had all the files that
were not found.. so I moved the contents of all the (2) folders to the
'original' folders and my gcc command works now.
> To debug this problem, go to http://cygwin.com/bugs.html and follow the
> instructions there. At the very least, that will give us some idea of
> your environment. That page also gives you some minimal guidance in
> reporting bugs. The two most useful bits of advice would be
> "provide details"
Thanks for the pointer.. Cygcheck output is attached. It is a very detailed
file!
> (you didn't provide the gcc command line that is failing)
Yes I did. Though it is now a moot point, I had this in my first message:
<START QUOTE>
I get a stream of errors from gcc reporting missing files..
$ gcc text.c
In file included from /usr/include/stdio.h:29,
from text.c:1:
/usr/include/_ansi.h:16:24: sys/config.h: No such file or directory
In file included from text.c:1:
/usr/include/stdio.h:45:23: sys/reent.h: No such file or directory
/usr/include/stdio.h:46:23: sys/types.h: No such file or directory
In file included from text.c:1:
/usr/include/stdio.h:50: parse error before "fpos_t"
/usr/include/stdio.h:51: parse error before "FILE"
/usr/include/stdio.h:57:23: sys/stdio.h: No such file or directory
/usr/include/stdio.h:162: parse error before '*' token
/usr/include/stdio.h:164: parse error before '*' token
/usr/include/stdio.h:165: parse error before '*' token
.... <snip>
<END QUOTE>
Thank you again to both Chris and Martin for your help!
Rob
:)
--
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/