This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: GCC fatal error: can't open /tmp/ccc6IHTT.s for writing
- From: Dave Korn <dave dot korn dot cygwin at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Feb 2012 12:08:29 +0000
- Subject: Re: GCC fatal error: can't open /tmp/ccc6IHTT.s for writing
- Authentication-results: mr.google.com; spf=pass (google.com: domain of dave.korn.cygwin@gmail.com designates 10.180.86.105 as permitted sender) smtp.mail=dave.korn.cygwin@gmail.com; dkim=pass header.i=dave.korn.cygwin@gmail.com
- References: <4F4756DD.30203@codeplay.com>
On 24/02/2012 09:22, Paul Keir wrote:
> Hello,
>
> After installing a package (libxrandr-dev I think) GCC 4.5.3 (from Exp)
> has a problem. Even Hello World gives me:
>
> hello.c:1:0: fatal error: can't open /tmp/ccc6IHTT.s for writing: No
> such file or directory
> compilation terminated.
>
> I have tried reinstalling GCC with no luck. Can anyone offer advice?
Is the drive where your /tmp dir is located full? Does it have the right
permissions? Can you create the same named file manually (e.g. run a command
like "ls >/tmp/ccc6IHTT.s")?
If none of that sheds any light on it, please run "cygcheck -s -v -r >
cygcheck.out" and send that file **as an attachment only please** with your
next post. Also, re-run the gcc compile command that's failing, but add the
"-v" option to the command-line, and show us all the output it generates.
cheers,
DaveK
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple