[distcc] Cygwin Status

Heiko_Elger at arburg.com Heiko_Elger at arburg.com
Tue Feb 25 10:20:24 GMT 2003


Hello Martin,

I tried the version 1.21. There are compile problem cause of missing "in_addr_t"
in cygwin header files.
But its already known and so you can patch the headerfile (
http://sources.redhat.com/ml/cygwin/2003-02/msg00637.html).

---------------------------------- snip - snip --------------------
gcc -DHAVE_CONFIG_H -D_GNU_SOURCE -I./src -g -O2 -W -Wall -W -Wimplicit -Wshadow
-Wpointer-arith -Wcast-align -Wwrite-string -Waggregate-return
-Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -o src/srvnet.o -c
src/srvnet.c
In file included from src/srvnet.c:77:
src/access.h:25: parse error before "in_addr_t"
src/access.h:26: warning: function declaration isn't a prototype
src/access.h:28: parse error before "client"
src/access.h:30: warning: function declaration isn't a prototype
src/access.h:33: parse error before "in_addr_t"
src/access.h:33: warning: no semicolon at end of struct or union
src/access.h:35: parse error before '}' token
src/srvnet.c: In function `dcc_check_client':
src/srvnet.c:145: warning: comparison between signed and unsigned
src/srvnet.c:158: dereferencing pointer to incomplete type
src/srvnet.c:159: dereferencing pointer to incomplete type
src/srvnet.c:159: dereferencing pointer to incomplete type
make: *** [src/srvnet.o] Error 1
---------------------------------- snip - snip --------------------

I'm sorry - but the lock errors are still the same!!
I have a short look at src/lock.c - it seems the still the same locking problem
for cygwin.
---------------------------------- snip - snip --------------------
ente59 at ad26085 ~/src
$ export DISTCC_HOSTS=localhost

ente59 at ad26085 ~/src
$ export DISTCC_VERBOSE=1

ente59 at ad26085 ~/src
$ distcc gcc -c hello.c
distcc[5440] (dcc_scan_args) scanning arguments: gcc -c hello.c
distcc[5440] (dcc_scan_args) found input file "hello.c"
distcc[5440] (dcc_scan_args) no visible output file, going to add "-o hello.o"
at end
distcc[5440] compile from hello.c to hello.o
distcc[5440] (dcc_lock_host) locked /tmp/distcc_00002d7e/lock_cpu_localhost_0
distcc[5440] (dcc_lock_host) ERROR: lock
/tmp/distcc_00002d7e/lock_cpu_localhost_0 failed: Permission denied
distcc[5440] (dcc_lock_host) locked /tmp/distcc_00002d7e/lock_cpu_localhost_1
distcc[5440] exec on localhost: gcc -c hello.c -o hello.o
distcc[5440] (dcc_spawn_child) forking to execute gcc -c hello.c -o hello.o
distcc[5440] (dcc_spawn_child) child started as pid10040
distcc[5440] (dcc_collect_child) child 10040 terminated with status 0
distcc[5440] (dcc_report_rusage) gcc resource usage: 0.137000s user, 0.184000s
system
distcc[5440] compile on ad26085 completed ok
distcc[5440] (dcc_exit) exit: code 0; self: 0.31000 user 0.15000 sys; children:
0.137000 user 0.184000 sys
distcc[5440] (dcc_cleanup_tempfiles) deleted 0 temporary files
---------------------------------- snip - snip --------------------



Mit freundlichen Gruessen
best regards

   Heiko Elger



********************

ARBURG GmbH + Co
Heiko Elger
- Softwareentwicklung - / - Research and Development -
Arthur-Hehl-Strasse
D-72290 Lossburg
Tel.: +49 (0) 7446 33-3659
Fax.: +49 (0) 7446 33-3365
mailto:heiko_elger at arburg.com
http://www.arburg.com



|---------+----------------------------------------------------->
|         |           Martin Pool <mbp at samba.org>               |
|         |           Gesendet von:                             |
|         |           distcc-bounces+heiko_elger=arburg.com at list|
|         |           s.samba.org                               |
|         |                                                     |
|         |                                                     |
|         |           25.02.2003 06:53                          |
|         |                                                     |
|---------+----------------------------------------------------->
  >------------------------------------------------------------------------------------------------------------------------|
  |                                                                                                                        |
  |        An:      distcc at lists.samba.org                                                                                 |
  |        Kopie:                                                                                                          |
  |        Thema:   Re: [distcc] Cygwin Status                                                                             |
  >------------------------------------------------------------------------------------------------------------------------|




On 23 Feb 2003, darryl <developer at csrules.dyndns.org> wrote:

> I use 3 cygwin based distcc machines for linux build targets.
> It's a pain to build a cross-compiler but once you build
> one you just kinda can follow the routine for the other
> machines.

If anyone can still reproduce the locking errors reported in 1.1
please let me know.

--
Martin
__
distcc mailing list            http://distcc.samba.org/
To unsubscribe or change options:
http://lists.samba.org/cgi-bin/mailman/listinfo/distcc









More information about the distcc mailing list