<div>Hello, Fergus Henderson and everyone,</div>
<div>I found something about the problem, when I use "gmake -j20" directly in the shell, distcc works perfectly. However the error happens when I integrate "gmake -j20" into my schedule script. I think I can resolve the problem on monday. Thanks very much for your help.</div>
<div> </div>
<div>by the way, when I use pump gmake -j20, it says"<strong>Preprocessing locally. Include server not covering: Couldn't determine default system include directories</strong>", I read the help, it tells " To determine the default system header directories, the include server runs the compiler once for each language needed during its session", But I don't know what to do, is anyone kind to give a tip?</div>
<div> </div>
<div>And another problem, I try to compile distcc on solaris8 with forte 6. but many files failed to compile. for example src/compile.c file, at line 123,</div>
<div> int delta = strlen(discrepancy_suffix) -<br> strlen(include_server_port_suffix);<br> ....<br> <font color="#ff0000">int slash_pos = strlen(include_server_port)<br></font> - strlen(include_server_port_suffix);<br>
/* Because include_server_port_suffix is a suffix of include_server_port<br> * we expect to find a '/' at slash_pos in filename. */<br> assert((*filename)[slash_pos] == '/');<br> (void) strcpy(*filename + slash_pos, discrepancy_suffix);<br>
return 0;</div>
<div>compiler says there is a error before or after int. I'm confused, I'm a C++ developer and not familiar with special C compiler, I think it's a weak of Forte 6. When I rewrite the code as:</div>
<div> <font color="#ff0000"> int delta = 0;<br> int slash_pos =0;</font><br> delta = strlen(discrepancy_suffix) -<br> strlen(include_server_port_suffix);<br> ....<br> slash_pos = strlen(include_server_port)<br>
- strlen(include_server_port_suffix);<br> /* Because include_server_port_suffix is a suffix of include_server_port<br> * we expect to find a '/' at slash_pos in filename. */<br>
assert((*filename)[slash_pos] == '/');<br> (void) strcpy(*filename + slash_pos, discrepancy_suffix);<br> return 0;</div>
<div>And there are other errors about "struct stat"..... Does anyone know what should I do? modify the code to fit the Forte 6 syntax or anything else? </div>
<div> </div>
<div>Sorry to trouble again.</div>
<div></div><br>-- <br>All the best,<br>Yours Drew<br>The limits of my language are the limits of my world.<br>