View previous topic :: View next topic |
Author |
Message |
moonclimber n00b
Joined: 25 Feb 2003 Posts: 24 Location: NUPT NanJing China
|
Posted: Tue Mar 11, 2003 1:31 am Post subject: Using distcc to emerge, but failed |
|
|
I do as per http://cvs.gentoo.org/~zwelch/distcc.html
step 1) there is no /usr/lib/distcc/bin & /usr/lib/ccache/bin in my PATH
step 2) I added the follow lines into my /etc/make.conf
"
FEATURES="distcc"
DISTCC_HOSTS="localhost host1 host2 ..."
"
then I emerge gftp , but failed:
"
cc1: bad value (pentium4) for -march= switch
In file included from /usr/include/sys/socket.h:35,
from gftp.h:31,
from bookmark.c:20:
/usr/include/bits/socket.h:237: array size missing in `__cmsg_data'
In file included from /usr/include/netinet/in.h:23,
from gftp.h:39,
from bookmark.c:20:
/usr/include/stdint.h:141: warning: empty declaration
In file included from gftp.h:43,
from bookmark.c:20:
/usr/include/netdb.h:480: parse error before `__restrict'
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/stdio.h:81,
from gftp.h:44,
from bookmark.c:20:
/usr/include/gconv.h:172: array size missing in `__data'
make[2]: *** [bookmark.o] ERROR 1
make[2]: *** waiting for unfinished tasks....
cc1: bad value (pentium4) for -march= switch
In file included from /usr/include/sys/socket.h:35,
from gftp.h:31,
from local.c:20:
/usr/include/bits/socket.h:237: array size missing in `__cmsg_data'
In file included from /usr/include/netinet/in.h:23,
from gftp.h:39,
from local.c:20:
/usr/include/stdint.h:141: warning: empty declaration
In file included from gftp.h:43,
from local.c:20:
/usr/include/netdb.h:480: parse error before `__restrict'
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/stdio.h:81,
from gftp.h:44,
from local.c:20:
/usr/include/gconv.h:172: array size missing in `__data'
make[2]: *** [local.o] ERROR 1
make[1]: *** [all-recursive] ERROR 1
make: *** [all-recursive-am] ERROR 2
!!! ERROR: net-ftp/gftp-2.0.14_rc1 failed.
!!! Function src_compile, Line 36, Exitcode 2
!!! (no error message)
cc1: bad value (pentium4) for -march= switch
In file included from /usr/include/sys/socket.h:35,
from gftp.h:31,
from config_file.c:20:
/usr/include/bits/socket.h:237: array size missing in `__cmsg_data'
In file included from /usr/include/netinet/in.h:23,
from gftp.h:39,
from config_file.c:20:
/usr/include/stdint.h:141: warning: empty declaration
In file included from gftp.h:43,
from config_file.c:20:
/usr/include/netdb.h:480: parse error before `__restrict'
In file included from /usr/include/_G_config.h:44,
from /usr/include/libio.h:32,
from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.2/include/stdio.h:81,
from gftp.h:44,
from config_file.c:20:
/usr/include/gconv.h:172: array size missing in `__data'
"
Canany body help me ? |
|
Back to top |
|
|
zwelch n00b
Joined: 09 Mar 2003 Posts: 5 Location: Corvallis, Oregon, USA
|
Posted: Fri Apr 25, 2003 9:56 pm Post subject: check compiler and distcc versions |
|
|
This indicates a problem with a remote toolchian, mostly likely cause because the local and remote compilers are not the same version. See my distcc page for more information. In particular, it looks here like one of your remote machines may be using gcc-2.95 while your local machine is using gcc-3.something. |
|
Back to top |
|
|
skwelch n00b
Joined: 13 Dec 2002 Posts: 38 Location: NJ, USA
|
|
Back to top |
|
|
|
|
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
|
|