[distcc] Yet another compile failure

Russel Hill russh347 at charter.net
Sat Sep 13 02:52:17 GMT 2003


I am trying to build our project using distcc 2.10.1 built from source.
The host platform is Libranet 2.8, we currently have 3 machines
available for the compile farm.

The project builds most targets for both the desktop environment and
cross-compiled for the coldfire.  On the desktop, gcc is version 3.3.1
20030626.  The cross compiler is a 2.95 version (m68k-elf-tools).  The
project is divided into a number of subprojects.  Most subprojects have
only a library as a build target.  Two have both a library and a driver
(driver for the Coldfire only).  Five subprojects have only an
executable for their build target (desktop and coldfire).

We have been building this project frequently for over 2 years, without
distcc or a parallel build.

In the last attempt we had two failures.   Any clues would be appreciated.

Here's the first:
==============================================================
m68k-elf-g++ -m5307 -DCONFIG_COLDFIRE -isystem \
/home/xp/uClinux/lib/uClibc/include/bits -c  -O1 -g  -Dlinux \
-D__linux__  -Dunix -D__uClinux__ -DEMBED \
I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm \
-I/home/xp/uClinux -fno-builtin -msep-data \
-I/home/xp/uClinux/linux-2.4.x/include   -DCOLDFIRE -Wa,-m5307 \
-g -Wall -I.. driver.cpp -o coldfire/driver.o

And its output
==============================================================
In file included from /home/xp/uClinux/lib/uClibc/include/linux/sched.h:14,
                  from ../driver/driverImpl.h:18,
                  from driver.cpp:3:
/home/xp/uClinux/lib/uClibc/include/linux/timex.h:173: field `time' has 
incomplete type
In file included from /home/xp/uClinux/lib/uClibc/include/linux/sched.h:18,
                  from ../driver/driverImpl.h:18,
                  from driver.cpp:3:
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:28: syntax error 
before `;'
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h: In function `void 
sema_init(semaphore *, int)':
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:56: `struct 
semaphore' has no member named `wait'
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:56: implicit 
declaration of function `int __WAIT_QUEUE_HEAD_INITIALIZER(...)'
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:56: excess elements 
in aggregate initializer
In file included from /home/xp/uClinux/lib/uClibc/include/linux/sched.h:85,
                  from ../driver/driverImpl.h:18,
                  from driver.cpp:3:
/home/xp/uClinux/lib/uClibc/include/linux/timer.h: At top level:
/home/xp/uClinux/lib/uClibc/include/linux/timer.h:17: field `list' has 
incomplete type
/home/xp/uClinux/lib/uClibc/include/linux/timer.h: In function `int 
timer_pending(const timer_list *)':
/home/xp/uClinux/lib/uClibc/include/linux/timer.h:53: warning: control 
reaches end of non-void function `timer_pending(const timer_list *)'
In file included from driver.cpp:3:
../driver/driverImpl.h: In function `int Helpers::initModule()':
../driver/driverImpl.h:82: implicit declaration of function `int 
Helpers::printk(...)'
../driver/driverImpl.h:82: `KERN_WARNING' undeclared (first use this 
function)
../driver/driverImpl.h:82: (Each undeclared identifier is reported only once
../driver/driverImpl.h:82: for each function it appears in.)
../driver/driverImpl.h:82: parse error before string constant
../driver/driverImpl.h: In function `int 
Helpers::registerInterruptHandler()':
../driver/driverImpl.h:96: implicit declaration of function `int 
Helpers::request_irq(...)'
../driver/driverImpl.h:99: parse error before string constant
../driver/driverImpl.h: In function `void 
Helpers::deregisterInterruptHandler()':
../driver/driverImpl.h:106: implicit declaration of function `int 
Helpers::free_irq(...)'
../driver/driverImpl.h: In function `int Helpers::registerDriver()':
../driver/driverImpl.h:113: ANSI C++ forbids declaration 
`file_operations' with no type
../driver/driverImpl.h:113: parse error before `;'
../driver/driverImpl.h:114: `fops' undeclared (first use this function)
../driver/driverImpl.h:119: implicit declaration of function `int 
Helpers::register_chrdev(...)'
../driver/driverImpl.h:122: parse error before string constant
../driver/driverImpl.h:113: warning: unused variable `int file_operations'
../driver/driverImpl.h: In function `void Helpers::deregisterDriver()':
../driver/driverImpl.h:135: implicit declaration of function `int 
Helpers::unregister_chrdev(...)'
../driver/driverImpl.h:136: parse error before string constant
make[2]: *** [coldfire/driver.o] Error 1
make[1]: *** [install] Error 1
make[1]: *** Waiting for unfinished jobs....

And the relevant entries from distcc.log:
==============================================================
distcc[3930] (dcc_trace_version) distcc 2.10.1 i686-pc-linux-gnu; built 
Aug 18 2003 07:44:00
distcc[3930] (dcc_recursion_safeguard) safeguard level=0
distcc[3930] (dcc_set_path) setting 
PATH=/home/russ/bin:/usr/lib/ccache/bin:/usr/lib/distcc/bin:/home/russ/bin:/home/russ/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin
distcc[3930] (dcc_scan_args) scanning arguments: m68k-elf-g++ -m5307 
-DCONFIG_COLDFIRE -isystem /home/xp/uClinux/lib/uClibc/include/bits -c 
-O1 -g -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED 
-I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm 
-I/home/xp/uClinux -fno-builtin -msep-data 
-I/home/xp/uClinux/linux-2.4.x/include -DCOLDFIRE -Wa,-m5307 -g -Wall 
-I.. driver.cpp -o coldfire/driver.o
distcc[3930] (dcc_scan_args) found input file "driver.cpp"
distcc[3930] (dcc_scan_args) found object/output file "coldfire/driver.o"
distcc[3930] compile from driver.cpp to driver.o
distcc[3930] (dcc_get_hostlist) read hosts from environment
distcc[3930] (dcc_parse_hosts) found tcp token "ruffian"
distcc[3930] (dcc_parse_hosts) found tcp token "stuffin"
distcc[3930] (dcc_check_backoff) still in backoff period for ruffian
distcc[3930] (dcc_remove_disliked) remove ruffian from list
distcc[3930] (dcc_lock_host) /home/russ/.distcc/lock/cpu_localhost_0 is busy
distcc[3930] (dcc_lock_host) 
/home/russ/.distcc/lock/cpu_tcp_stuffin_3632_0 is busy
distcc[3930] (dcc_lock_host) got cpu lock on localhost slot 1 as fd5
distcc[3930] exec on localhost: m68k-elf-g++ -m5307 -DCONFIG_COLDFIRE 
-isystem /home/xp/uClinux/lib/uClibc/include/bits -c -O1 -g -Dlinux 
-D__linux__ -Dunix -D__uClinux__ -DEMBED 
-I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm 
-I/home/xp/uClinux -fno-builtin -msep-data 
-I/home/xp/uClinux/linux-2.4.x/include -DCOLDFIRE -Wa,-m5307 -g -Wall 
-I.. driver.cpp -o coldfire/driver.o
distcc[3930] (dcc_note_state) note state Compile, file "driver.cpp", 
host "localhost"
distcc[3930] (dcc_x_token_int) send STFV00000000
distcc[3930] (dcc_x_token_int) send CPID00000f5a
distcc[3930] (dcc_x_token_int) send STTE00000007
distcc[3930] (dcc_x_token_int) send FILE0000000a
distcc[3930] (dcc_x_token_int) send HOST00000009
distcc[3930] (dcc_spawn_child) forking to execute: m68k-elf-g++ -m5307 
-DCONFIG_COLDFIRE -isystem /home/xp/uClinux/lib/uClibc/include/bits -c 
-O1 -g -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED 
-I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm 
-I/home/xp/uClinux -fno-builtin -msep-data 
-I/home/xp/uClinux/linux-2.4.x/include -DCOLDFIRE -Wa,-m5307 -g -Wall 
-I.. driver.cpp -o coldfire/driver.o
distcc[3930] (dcc_spawn_child) child started as pid3939
distcc[3930] (dcc_collect_child) cc child 3939 terminated with status 0x100
distcc[3930] (dcc_collect_child) cc times: user 0.190000s, system 
0.030000s, 789 minflt, 1926 majflt
distcc[3930] ERROR: compile on localhost failed
distcc[3930] elapsed compilation time 0.880108s
distcc[3930] (dcc_exit) exit: code 1; self: 0.000000 user 0.000000 sys; 
children: 0.260000 user 0.050000 sys
distcc[3930] (dcc_cleanup_tempfiles) deleted 0 temporary files

The second failing compile is strange:
==============================================================
g++ -c  -g -Wall -I.. -DDESKTOP -I/usr/include/stlport \
-ftemplate-depth-31 CameraSimTest.cpp -o desktop/CameraSimTest.o

It's output
==============================================================
g++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
For Debian GNU/Linux specific bugs,
please see /usr/share/doc/debian/bug-reporting.txt.

make[2]: *** [desktop/CameraSimTest.o] Error 1
make[1]: *** [all] Error 1
make: *** [camera] Error 2

And the distcc.log entries
==============================================================
distcc[5419] (dcc_trace_version) distcc 2.10.1 i686-pc-linux-gnu; built 
Aug 18 2003 07:44:00
distcc[5419] (dcc_recursion_safeguard) safeguard level=0
distcc[5419] (dcc_set_path) setting 
PATH=/home/russ/bin:/usr/lib/ccache/bin:/usr/lib/distcc/bin:/home/russ/bin:/home/russ/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin
distcc[5419] (dcc_scan_args) scanning arguments: g++ -c -g -Wall -I.. 
-DDESKTOP -I/usr/include/stlport -ftemplate-depth-31 CameraSimTest.cpp 
-o desktop/CameraSimTest.o
distcc[5419] (dcc_scan_args) found input file "CameraSimTest.cpp"
distcc[5419] (dcc_scan_args) found object/output file 
"desktop/CameraSimTest.o"
distcc[5419] compile from CameraSimTest.cpp to CameraSimTest.o
distcc[5419] (dcc_get_hostlist) read hosts from environment
distcc[5419] (dcc_parse_hosts) found tcp token "ruffian"
distcc[5419] (dcc_parse_hosts) found tcp token "stuffin"
distcc[5419] (dcc_check_backoff) still in backoff period for ruffian
distcc[5419] (dcc_remove_disliked) remove ruffian from list
distcc[5419] (dcc_lock_host) /home/russ/.distcc/lock/cpu_localhost_0 is busy
distcc[5419] (dcc_lock_host) 
/home/russ/.distcc/lock/cpu_tcp_stuffin_3632_0 is busy
distcc[5419] (dcc_lock_host) /home/russ/.distcc/lock/cpu_localhost_1 is busy
distcc[5419] (dcc_lock_host) got cpu lock on stuffin slot 1 as fd4
distcc[5419] (dcc_strip_dasho) result: g++ -c -g -Wall -I.. -DDESKTOP 
-I/usr/include/stlport -ftemplate-depth-31 CameraSimTest.cpp
distcc[5419] (dcc_spawn_child) forking to execute: g++ -E -g -Wall -I.. 
-DDESKTOP -I/usr/include/stlport -ftemplate-depth-31 CameraSimTest.cpp
distcc[5419] (dcc_spawn_child) child started as pid5932
distcc[5419] (dcc_strip_local_args) result: g++ -c -g -Wall 
-ftemplate-depth-31 CameraSimTest.cpp -o desktop/CameraSimTest.o
distcc[5419] exec on stuffin: g++ -c -g -Wall -ftemplate-depth-31 
CameraSimTest.cpp -o desktop/CameraSimTest.o
distcc[5419] (dcc_note_state) note state Connect, file 
"CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000007
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_connect_timed) nonblocking connect to 172.16.99.14:3632
distcc[5419] (dcc_select_for_write) select for write on fd5
distcc[5419] (dcc_connect_by_addr) client got connection to stuffin port 
3632 on fd5
distcc[5419] (dcc_x_token_int) send DIST00000001
distcc[5419] (dcc_x_token_int) send ARGC00000008
distcc[5419] (dcc_x_token_int) send ARGV00000003
distcc[5419] (dcc_x_token_int) send ARGV00000002
distcc[5419] (dcc_x_token_int) send ARGV00000002
distcc[5419] (dcc_x_token_int) send ARGV00000005
distcc[5419] (dcc_x_token_int) send ARGV00000013
distcc[5419] (dcc_x_token_int) send ARGV00000011
distcc[5419] (dcc_x_token_int) send ARGV00000002
distcc[5419] (dcc_x_token_int) send ARGV00000017
distcc[5419] (dcc_note_state) note state Preprocessor, file 
"CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE0000000c
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_collect_child) cpp child 5932 terminated with status 0
distcc[5419] (dcc_collect_child) cpp times: user 0.480000s, system 
0.050000s, 724 minflt, 939 majflt
distcc[5419] cpp on localhost completed ok
distcc[5419] (dcc_note_state) note state Send, file "CameraSimTest.cpp", 
host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000004
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_x_file) send 1158362 byte file /tmp/distcc_52d95ac2.ii 
with token DOTI
distcc[5419] (dcc_x_token_int) send DOTI0011acda
distcc[5419] (dcc_send_job) client finished sending request to server
distcc[5419] (dcc_note_state) note state Compile, file 
"CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000007
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_r_token_int) got DONE00000001
distcc[5419] (dcc_r_result_header) got response header
distcc[5419] (dcc_note_state) note state Receive, file 
"CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000007
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_r_token_int) got STAT00000100
distcc[5419] (dcc_r_token_int) got SERR000000e1
distcc[5419] (dcc_r_token_int) got SOUT00000000
distcc[5419] (dcc_r_token_int) got DOTO00000000
distcc[5419] (dcc_unlock) release lock fd4
distcc[5419] ERROR: compile on stuffin failed
distcc[5419] elapsed compilation time 33.083686s
distcc[5419] (dcc_exit) exit: code 1; self: 0.010000 user 0.030000 sys; 
children: 0.980000 user 0.130000 sys
distcc[5419] (dcc_cleanup_tempfiles) deleted 1 temporary files

-------------- next part --------------
File distcc.log:
distcc[5419] (dcc_trace_version) distcc 2.10.1 i686-pc-linux-gnu; built Aug 18 2003 07:44:00
distcc[5419] (dcc_recursion_safeguard) safeguard level=0
distcc[5419] (dcc_set_path) setting PATH=/home/russ/bin:/usr/lib/ccache/bin:/usr/lib/distcc/bin:/home/russ/bin:/home/russ/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin:/home/xp/jakarta-ant-1.5.1/bin:/usr/local/j2re1.4.2/bin:/usr/local/Acrobat5/bin
distcc[5419] (dcc_scan_args) scanning arguments: g++ -c -g -Wall -I.. -DDESKTOP -I/usr/include/stlport -ftemplate-depth-31 CameraSimTest.cpp -o desktop/CameraSimTest.o
distcc[5419] (dcc_scan_args) found input file "CameraSimTest.cpp"
distcc[5419] (dcc_scan_args) found object/output file "desktop/CameraSimTest.o"
distcc[5419] compile from CameraSimTest.cpp to CameraSimTest.o
distcc[5419] (dcc_get_hostlist) read hosts from environment
distcc[5419] (dcc_parse_hosts) found tcp token "ruffian"
distcc[5419] (dcc_parse_hosts) found tcp token "stuffin"
distcc[5419] (dcc_check_backoff) still in backoff period for ruffian
distcc[5419] (dcc_remove_disliked) remove ruffian from list
distcc[5419] (dcc_lock_host) /home/russ/.distcc/lock/cpu_localhost_0 is busy
distcc[5419] (dcc_lock_host) /home/russ/.distcc/lock/cpu_tcp_stuffin_3632_0 is busy
distcc[5419] (dcc_lock_host) /home/russ/.distcc/lock/cpu_localhost_1 is busy
distcc[5419] (dcc_lock_host) got cpu lock on stuffin slot 1 as fd4
distcc[5419] (dcc_strip_dasho) result: g++ -c -g -Wall -I.. -DDESKTOP -I/usr/include/stlport -ftemplate-depth-31 CameraSimTest.cpp
distcc[5419] (dcc_spawn_child) forking to execute: g++ -E -g -Wall -I.. -DDESKTOP -I/usr/include/stlport -ftemplate-depth-31 CameraSimTest.cpp
distcc[5419] (dcc_spawn_child) child started as pid5932
distcc[5419] (dcc_strip_local_args) result: g++ -c -g -Wall -ftemplate-depth-31 CameraSimTest.cpp -o desktop/CameraSimTest.o
distcc[5419] exec on stuffin: g++ -c -g -Wall -ftemplate-depth-31 CameraSimTest.cpp -o desktop/CameraSimTest.o
distcc[5419] (dcc_note_state) note state Connect, file "CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000007
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_connect_timed) nonblocking connect to 172.16.99.14:3632
distcc[5419] (dcc_select_for_write) select for write on fd5
distcc[5419] (dcc_connect_by_addr) client got connection to stuffin port 3632 on fd5
distcc[5419] (dcc_x_token_int) send DIST00000001
distcc[5419] (dcc_x_token_int) send ARGC00000008
distcc[5419] (dcc_x_token_int) send ARGV00000003
distcc[5419] (dcc_x_token_int) send ARGV00000002
distcc[5419] (dcc_x_token_int) send ARGV00000002
distcc[5419] (dcc_x_token_int) send ARGV00000005
distcc[5419] (dcc_x_token_int) send ARGV00000013
distcc[5419] (dcc_x_token_int) send ARGV00000011
distcc[5419] (dcc_x_token_int) send ARGV00000002
distcc[5419] (dcc_x_token_int) send ARGV00000017
distcc[5419] (dcc_note_state) note state Preprocessor, file "CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE0000000c
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_collect_child) cpp child 5932 terminated with status 0
distcc[5419] (dcc_collect_child) cpp times: user 0.480000s, system 0.050000s, 724 minflt, 939 majflt
distcc[5419] cpp on localhost completed ok
distcc[5419] (dcc_note_state) note state Send, file "CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000004
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_x_file) send 1158362 byte file /tmp/distcc_52d95ac2.ii with token DOTI
distcc[5419] (dcc_x_token_int) send DOTI0011acda
distcc[5419] (dcc_send_job) client finished sending request to server
distcc[5419] (dcc_note_state) note state Compile, file "CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000007
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_r_token_int) got DONE00000001
distcc[5419] (dcc_r_result_header) got response header
distcc[5419] (dcc_note_state) note state Receive, file "CameraSimTest.cpp", host "stuffin"
distcc[5419] (dcc_x_token_int) send STFV00000000
distcc[5419] (dcc_x_token_int) send CPID0000152b
distcc[5419] (dcc_x_token_int) send STTE00000007
distcc[5419] (dcc_x_token_int) send FILE00000011
distcc[5419] (dcc_x_token_int) send HOST00000007
distcc[5419] (dcc_r_token_int) got STAT00000100
distcc[5419] (dcc_r_token_int) got SERR000000e1
distcc[5419] (dcc_r_token_int) got SOUT00000000
distcc[5419] (dcc_r_token_int) got DOTO00000000
distcc[5419] (dcc_unlock) release lock fd4
distcc[5419] ERROR: compile on stuffin failed
distcc[5419] elapsed compilation time 33.083686s
distcc[5419] (dcc_exit) exit: code 1; self: 0.010000 user 0.030000 sys; children: 0.980000 user 0.130000 sys
distcc[5419] (dcc_cleanup_tempfiles) deleted 1 temporary files

-------------- next part --------------
m68k-elf-g++ -m5307 -DCONFIG_COLDFIRE -isystem /home/xp/uClinux/lib/uClibc/include/bits -c  -O1 -g  -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -I/home/xp/uClinux/lib/uClibc/include -I/home/xp/uClinux/lib/libm -I/home/xp/uClinux -fno-builtin -msep-data -I/home/xp/uClinux/linux-2.4.x/include   -DCOLDFIRE -Wa,-m5307 -g -Wall -I.. driver.cpp -o coldfire/driver.o
In file included from /home/xp/uClinux/lib/uClibc/include/linux/sched.h:14,
                 from ../driver/driverImpl.h:18,
                 from driver.cpp:3:
/home/xp/uClinux/lib/uClibc/include/linux/timex.h:173: field `time' has incomplete type
In file included from /home/xp/uClinux/lib/uClibc/include/linux/sched.h:18,
                 from ../driver/driverImpl.h:18,
                 from driver.cpp:3:
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:28: syntax error before `;'
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h: In function `void sema_init(semaphore *, int)':
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:56: `struct semaphore' has no member named `wait'
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:56: implicit declaration of function `int __WAIT_QUEUE_HEAD_INITIALIZER(...)'
/home/xp/uClinux/lib/uClibc/include/asm/semaphore.h:56: excess elements in aggregate initializer
In file included from /home/xp/uClinux/lib/uClibc/include/linux/sched.h:85,
                 from ../driver/driverImpl.h:18,
                 from driver.cpp:3:
/home/xp/uClinux/lib/uClibc/include/linux/timer.h: At top level:
/home/xp/uClinux/lib/uClibc/include/linux/timer.h:17: field `list' has incomplete type
/home/xp/uClinux/lib/uClibc/include/linux/timer.h: In function `int timer_pending(const timer_list *)':
/home/xp/uClinux/lib/uClibc/include/linux/timer.h:53: warning: control reaches end of non-void function `timer_pending(const timer_list *)'
In file included from driver.cpp:3:
../driver/driverImpl.h: In function `int Helpers::initModule()':
../driver/driverImpl.h:82: implicit declaration of function `int Helpers::printk(...)'
../driver/driverImpl.h:82: `KERN_WARNING' undeclared (first use this function)
../driver/driverImpl.h:82: (Each undeclared identifier is reported only once
../driver/driverImpl.h:82: for each function it appears in.)
../driver/driverImpl.h:82: parse error before string constant
../driver/driverImpl.h: In function `int Helpers::registerInterruptHandler()':
../driver/driverImpl.h:96: implicit declaration of function `int Helpers::request_irq(...)'
../driver/driverImpl.h:99: parse error before string constant
../driver/driverImpl.h: In function `void Helpers::deregisterInterruptHandler()':
../driver/driverImpl.h:106: implicit declaration of function `int Helpers::free_irq(...)'
../driver/driverImpl.h: In function `int Helpers::registerDriver()':
../driver/driverImpl.h:113: ANSI C++ forbids declaration `file_operations' with no type
../driver/driverImpl.h:113: parse error before `;'
../driver/driverImpl.h:114: `fops' undeclared (first use this function)
../driver/driverImpl.h:119: implicit declaration of function `int Helpers::register_chrdev(...)'
../driver/driverImpl.h:122: parse error before string constant
../driver/driverImpl.h:113: warning: unused variable `int file_operations'
../driver/driverImpl.h: In function `void Helpers::deregisterDriver()':
../driver/driverImpl.h:135: implicit declaration of function `int Helpers::unregister_chrdev(...)'
../driver/driverImpl.h:136: parse error before string constant
make[2]: *** [coldfire/driver.o] Error 1
make[1]: *** [install] Error 1
make[1]: *** Waiting for unfinished jobs....



More information about the distcc mailing list