[distcc] redeclared symbol error
Martin Pool
mbp at sourcefrog.net
Thu Jun 30 07:13:28 GMT 2005
On 30 Jun 2005, Lee Adamson <lee at macquarie.com.au> wrote:
> OK, I think I have totally managed to confused you here...
I think I understand now.
> /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ is a Solaris compiler that produces
> Linux binaries...
> qad25-lee [View: ** NONE **]: file /opt/gcc/cross/i686-pc-linux-gnu/bin/g++
> /opt/gcc/cross/i686-pc-linux-gnu/bin/g++: ELF 32-bit MSB executable SPARC
> Version 1, dynamically linked, not stripped
> qad25-lee [View: ** NONE **]: /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c
> hello1.cc
> qad25-lee [View: ** NONE **]: file hello1.o
> hello1.o: ELF 32-bit LSB relocatable 80386 Version 1
>
> It should run fine on Solaris (and this is why I thought it would run fine with
> distcc)... So I think all my paths are correct and there is something nastier
> going on here...
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
And separately
DISTCC_HOSTS=localhost distcc /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o hello1.o hello1.cc
and
DISTCC_HOSTS=qad25 distcc /opt/gcc/cross/i686-pc-linux-gnu/bin/g++ -c -o hello1.o hello1.cc
--
Martin
More information about the distcc
mailing list