From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12920 invoked by alias); 24 Feb 2012 12:08:41 -0000 Received: (qmail 12908 invoked by uid 22791); 24 Feb 2012 12:08:40 -0000 X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-wi0-f171.google.com (HELO mail-wi0-f171.google.com) (209.85.212.171) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 24 Feb 2012 12:08:27 +0000 Received: by wibhm2 with SMTP id hm2so1814510wib.2 for ; Fri, 24 Feb 2012 04:08:26 -0800 (PST) Received-SPF: pass (google.com: domain of dave.korn.cygwin@gmail.com designates 10.180.86.105 as permitted sender) client-ip=10.180.86.105; 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 Received: from mr.google.com ([10.180.86.105]) by 10.180.86.105 with SMTP id o9mr4491777wiz.4.1330085306236 (num_hops = 1); Fri, 24 Feb 2012 04:08:26 -0800 (PST) Received: by 10.180.86.105 with SMTP id o9mr3623931wiz.4.1330085306200; Fri, 24 Feb 2012 04:08:26 -0800 (PST) Received: from [192.168.2.99] (cpc3-cmbg8-0-0-cust629.5-4.cable.virginmedia.com. [82.6.102.118]) by mx.google.com with ESMTPS id fw5sm3088637wib.0.2012.02.24.04.08.24 (version=SSLv3 cipher=OTHER); Fri, 24 Feb 2012 04:08:25 -0800 (PST) Message-ID: <4F477DBD.4050502@gmail.com> Date: Fri, 24 Feb 2012 12:08:00 -0000 From: Dave Korn User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: GCC fatal error: can't open /tmp/ccc6IHTT.s for writing References: <4F4756DD.30203@codeplay.com> In-Reply-To: <4F4756DD.30203@codeplay.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com X-SW-Source: 2012-02/txt/msg00716.txt.bz2 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