This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Empty include file on samba share


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.

<http://cygwin.com/cygwin-ug-net/using-cygwinenv.html>

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]