[distcc] redeclared symbol error

Lee Adamson lee at macquarie.com.au
Thu Jun 30 07:55:37 GMT 2005

>OK, so compilation without distcc using the cross compiler seems to
>work.  Can you now please try:
>  /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -E -o hello1.ii hello1.cc  
>  /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o hello1.o hello1.ii

No problems here:

qad25-lee [View: ** NONE **]: /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -E -o 
hello1.ii hello1.cc  
qad25-lee [View: ** NONE **]: /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o 
hello1.o hello1.ii

>And separately
>  DISTCC_HOSTS=localhost distcc /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o 
hello1.o hello1.cc  

No problem :

qadsim3 lee[501]  DISTCC_HOSTS=localhost /opt/gcc/distcc-2.18/bin/distcc 
/opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o hello1.o hello1.cc  

>  DISTCC_HOSTS=qad25 distcc /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o 
hello1.o hello1.cc  

This also seems to work... 	

qadsim3 lee[506] DISTCC_HOSTS=qad25 /opt/gcc/distcc-2.18/bin/distcc 
/opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o hello1.o hello1.cc  



More information about the distcc mailing list