View previous topic :: View next topic |
Author |
Message |
pahud Tux's lil' helper
Joined: 26 Nov 2002 Posts: 103
|
Posted: Tue Nov 26, 2002 5:23 am Post subject: |
|
|
I've installed distcc on Gentoo and distcd on some Debian boxes.
The make.conf is defined with
Quote: |
USE="xfs XFS kde qt"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="${CFLAGS}"
GENTOO_MIRRORS="ftp://mdk.linux.org.tw/pub/gentoo"
CC="distcc gcc"
CXX="distcc g++"
MAKEOPTS="-j3"
DISTCC_HOSTS="nfsts fileserver localhost"
DISTCC_VERBOSE=1
|
nfsts and fileserver are debian Linux. However, the building always failes.
This is the error when I build lftp with emerge:
Quote: | mbswidth.c: In function `mbsnwidth':
mbswidth.c:104: `MB_CUR_MAX' undeclared (first use in this function)
mbswidth.c:104: (Each undeclared identifier is reported only once
mbswidth.c:104: for each function it appears in.)
distcc[20060] (dcc_r_token_int) got SOUT00000000
distcc[20060] (dcc_r_token_int) got DOTO00000000
distcc[20060] (dcc_retrieve_results) Notice: skipping retrieval of 0 byte object file mbswidth.o
distcc[20060] (dcc_critique_status) Notice: gcc on nfsts failed with exit code 1
distcc[20060] (dcc_exit) Notice: exit: code 1; self: 0.000000 user 0.010000 sys; children: 0.040000 user 0.010000 sys
distcc[20060] (dcc_cleanup_tempfiles) deleted 1 temporary files
make[1]: *** [mbswidth.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/lftp-2.6.2/work/lftp-2.6.2/lib'
make: *** [all-recursive] Error 1
!!! ERROR: net-ftp/lftp-2.6.2 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! compile problem
|
Any idea? |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Tue Nov 26, 2002 7:41 am Post subject: |
|
|
This question was originally posted to distcc - it works (quick but dirty...). Please don't post support questions to threads in Documentation, Tips & Tricks. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
mbp n00b
Joined: 03 Jul 2002 Posts: 4 Location: Canberra
|
Posted: Fri Jan 17, 2003 12:53 am Post subject: compiler error, not distcc |
|
|
pahud, this is a plain gcc error, not a distcc error. The root cause is "`MB_CUR_MAX' undeclared"; the distcc messages are just distcc shuffling that error back to the client.
There was probably some problem to do with configuring the package. You need to work out why that macro is undefined. |
|
Back to top |
|
|
|