Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
distcc problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
pahud
Tux's lil' helper
Tux's lil' helper


Joined: 26 Nov 2002
Posts: 103

PostPosted: Tue Nov 26, 2002 5:23 am    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Tue Nov 26, 2002 7:41 am    Post subject: Reply with quote

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
View user's profile Send private message
mbp
n00b
n00b


Joined: 03 Jul 2002
Posts: 4
Location: Canberra

PostPosted: Fri Jan 17, 2003 12:53 am    Post subject: compiler error, not distcc Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum