Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[dstcc] errori in compilazione [risolto]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
quantumwire
Guru
Guru


Joined: 15 Oct 2003
Posts: 403
Location: Lausanne

PostPosted: Fri Feb 11, 2005 2:26 pm    Post subject: [dstcc] errori in compilazione [risolto] Reply with quote

Allora tutto configurato come da manuale, 2 pc con la stessa identica versione del compiltore... quindi np.
Ora cio' che accade e' il seguente fatto strano con tutti gli ebuid: il client spedisce al server i primi files da compilare ma il server risponde immediatamente con un...
Code:
configure:2091: found /usr/lib/distcc/bin/i586-pc-linux-gnu-gcc
configure:2101: result: i586-pc-linux-gnu-gcc
configure:2383: checking for C compiler version
configure:2386: i586-pc-linux-gnu-gcc --version </dev/null >&5
i586-pc-linux-gnu-gcc (GCC) 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2389: $? = 0
configure:2391: i586-pc-linux-gnu-gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/specs
Configured with: /var/tmp/portage/gcc-3.3.5-r1/work/gcc-3.3.5/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/i586-pc-linux-gnu/gcc-bin/3.3.5 --includedir=/usr/lib/gcc-
lib/i586-pc-linux-gnu/3.3.5/include --datadir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5 --mandir=/usr/share/gcc-data/i586-pc-linux-gnu/3.3.5/man --infodir=/usr/share/gcc-data/i586-pc-linux-gnu/3.
3.5/info --with-gxx-include-dir=/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.5/include/g++-v3 --host=i586-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --en
able-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --disable-multilib --disable-libgcj --enable-languages=
c,c++,f77
Thread model: posix
gcc version 3.3.5  (Gentoo Linux 3.3.5-r1, ssp-3.3.2-3, pie-8.7.7.1)
configure:2394: $? = 0
configure:2396: i586-pc-linux-gnu-gcc -V </dev/null >&5
i586-pc-linux-gnu-gcc: `-V' option must have argument
distcc[5838] ERROR: compile (null) on localhost failed
configure:2399: $? = 1
configure:2422: checking for C compiler default output file name
configure:2425: i586-pc-linux-gnu-gcc -O2 -march=pentium-mmx -fomit-frame-pointer -pipe   conftest.c  >&5
configure:2428: $? = 0
configure:2474: result: a.out
configure:2479: checking whether the C compiler works
configure:2485: ./a.out
configure:2488: $? = 0
configure:2505: result: yes
configure:2512: checking whether we are cross compiling
configure:2514: result: no
configure:2517: checking for suffix of executables
configure:2519: i586-pc-linux-gnu-gcc -o conftest -O2 -march=pentium-mmx -fomit-frame-pointer -pipe   conftest.c  >&5
configure:2522: $? = 0
configure:2547: result:
configure:2553: checking for suffix of object files
configure:2574: i586-pc-linux-gnu-gcc -c -O2 -march=pentium-mmx -fomit-frame-pointer -pipe  conftest.c >&5
distcc[5878] ERROR: compile conftest.c on 37.255.192.163/5 failed with exit code 110
configure:2577: $? = 110
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "lcms"
| #define PACKAGE_TARNAME "lcms"
| #define PACKAGE_VERSION "1.13"
| #define PACKAGE_STRING "lcms 1.13"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2591: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.


Che e' sta roba?

Tutto si compila invece se imposto come unico volontario il client stesso.

PS: ho compilato in parallelo tutta la fase di emerge system in fase di bootstrap... ma dopo il rebbot della nuova gentoo-box (client) capita cio' che vi ho raccontato.
_________________
HOWTO 1: Spegnere il laptop!
HOWTO 2: Comprimere i DVDs!


Last edited by quantumwire on Fri Feb 11, 2005 3:50 pm; edited 1 time in total
Back to top
View user's profile Send private message
Manuelixm
l33t
l33t


Joined: 03 Apr 2004
Posts: 832
Location: Brescia

PostPosted: Fri Feb 11, 2005 3:25 pm    Post subject: Reply with quote

Ciao, hai ricompilato distcc ? Altra cosa, nell'howto dice di inserire al make.conf queste cosette:
Code:
CC='gcc'
CXX='c++'

Per verifica controlla la versione del gcc su tutti i partecipanti.
_________________
Linux user#370732
Back to top
View user's profile Send private message
quantumwire
Guru
Guru


Joined: 15 Oct 2003
Posts: 403
Location: Lausanne

PostPosted: Fri Feb 11, 2005 3:49 pm    Post subject: Reply with quote

Manuelixm wrote:
Ciao, hai ricompilato distcc ? Altra cosa, nell'howto dice di inserire al make.conf queste cosette:
Code:
CC='gcc'
CXX='c++'

Per verifica controlla la versione del gcc su tutti i partecipanti.


Grazie... infatti ho appena scoperto il problema ovvero il mio client e' un i586-pc-linux-gnu mentre il mio lap e' un i686-pc-linux-gnu.
Quello che accade e' che il client manda il nome completo del compilatore tipo "i586-gcc"... ma il mio server ha il "i686-gcc"... quindi settando quelle due variabili il client manda semplicemente "gcc" che e' presente sul server come link al "i686-gcc".
_________________
HOWTO 1: Spegnere il laptop!
HOWTO 2: Comprimere i DVDs!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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