X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Message-ID: <4964E4BF.6050002@cygwin.com> Date: Wed, 07 Jan 2009 12:22:07 -0500 From: "Larry Hall (Cygwin)" Reply-To: cygwin AT cygwin DOT com User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.19) Gecko/20090101 Remi/2.0.0.19-1.fc8.remi Lightning/0.9 Thunderbird/2.0.0.19 Mnenhy/0.7.5.0 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Empty include file on samba share References: <5 DOT 2 DOT 0 DOT 9 DOT 1 DOT 20090107170800 DOT 01ebc130 AT localhost> In-Reply-To: <5.2.0.9.1.20090107170800.01ebc130@localhost> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Fabian Cenedese wrote: > Hi > > I have a problem that may be cygwin or not. I'll just ask here if anybody knows > something (or to show me some better place to go to). > > We use a quite old cross-gcc (2.95.2), built with cygwin and running on various > windows (since NT on to vista). The currently used cygwin is version > 1.5.19-cr-0x5ef, but we have also worked with other versions. We have > some projects that are C++ with header files and can be compiled with > no problems on a local drive. > > However if the whole C++ project is moved from the local drive to a > share (samba, probably also windows) the compilation may fail with > various errors. The main problem seems to be that include files are not > read properly. They are found (gcc emits an error if the name is wrong) > but the content seems not to be read. Even if such a problematic > header file contains crap it is not mentioned by gcc. To make things > worse is that on different computers the compilation may fail differently > or even work without problems. > > I don't know if there's anything I could change in cygwin to improve > this (except updating, but I'd like to hear first, if this is known). > > Has anybody ever experienced something similar? Or an idea what I > could look into (from the cygwin side)? I have already asked on the > gcc mailinglist, but it was unknown so far. We're missing some information about your system configuration. Please read the problem reporting guidelines found at the link below, paying particular attention to the part about the cygcheck output. A STC might also be warranted. > Problem reports: http://cygwin.com/problems.html Absent the above, my WAG is that you need to add 'smbntsec' to your CYGWIN environment variable. Exit all Cygwin processes/services for good measure. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _____________________________________________________________________ A: Yes. > Q: Are you sure? >> A: Because it reverses the logical flow of conversation. >>> Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/