[distcc] redeclared symbol error

Martin Pool mbp at sourcefrog.net
Wed Jun 29 00:30:08 GMT 2005


On 29 Jun 2005, Lee Adamson <lee at macquarie.com.au> wrote:
> Hi Martin,
> 
> 
> I found the following problem in the archives that is pretty much exactly what 
> is happening to me:
> 
> http://www.mail-archive.com/distcc@lists.samba.org/msg00899.html
> 
> Let me explain what I have changed to get the errors.
> 
> * My distcc setup works perfectly on Solaris compiling native binaries with gcc.
> * I have recently installed a gcc 4.0.0 cross compiler for Linux x86.
> * This new cross compiler does not work with distcc (but works fine stand 
> alone), I get the "already declared in this scope" errors... 
> 
> I am pretty sure I am not mixing versions of gcc as you pointed out in the 
> thread, as I am specifying an explicit path in the command line:
> 
> /opt/gcc/distcc-2.18/bin/distcc /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ 
> <compiler options>
> 
> (This is exactly how I call the native Solaris gcc when it works)
> 
> The /opt file system is NFS mounted to each compile server in my list from the 
> same source.
> 
> Can you offer any other suggestions as to what may be going wrong?

Hi Lee,

Did you build the Solaris gcc, or did it come with Solaris?  Was it
built from precisely the same source with the same options as the cross
compiler?  Is the native gcc installed at
/opt/gcc/cross/i686-pc-linux-gnu/bin/g++ on the Solaris machine?

-- 
Martin


More information about the distcc mailing list