Welcome! Log In Create A New Profile

Advanced

distcc help

Posted by Almaz 
distcc help
February 22, 2016 07:04AM
I installed distcc on pogoplug and debian PC for testing using the following guide http://archlinuxarm.org/developers/distcc-cross-compiling. I downloaded suggested Pre-built crosstool-ng toolchains. Every time I try to compile something I get an error after about 10 minutes. For testing I used
export PATH=/usr/lib/distcc:${PATH}
wget http://prdownloads.sourceforge.net/advancemame/advancemame-0.106.1.tar.gz
tar xvzf advancemame-0.106.1.tar.gz
cd advancemame-0.106.1
./configure
make -j2

ERROR:

/usr/bin/ld: objs/src/core/nginx.o: Relocations in generic ELF (EM: 3)
objs/src/core/nginx.o: error adding symbols: File in wrong format
collect2: error: ld returned 1 exit status


I tried to compile Nginx and the same error came up at around 70% compiling. Everything is used under root user. I'm guessing the problem is with "ld" command



Edited 2 time(s). Last edit at 02/22/2016 09:32AM by Almaz.
Re: distcc help
February 22, 2016 01:00PM
Almaz,

> http://archlinuxarm.org/developers/distcc-cross-co
> mpiling. I downloaded suggested Pre-built
> crosstool-ng toolchains.

I think it is easier to troubleshoot if you only compiling natively with distcc first on nodes with the same type of box(kirkwood only). And then try to make another node of a different kind works with crosstool.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: