You are not logged in.

#1 2014-05-19 03:24:08

domiurg
Member
Registered: 2014-05-19
Posts: 3

[SOLVED] Compilation of Distcc CrossTools fails

Hi everybody,

I have a Vitrual machine with Arch Linux on it and I try to install Distcc Cross-Compilation tool to use it for speeding up compilation on my Raspberry Pi, which is also running Arch.
I follow this tutorial: http://archlinuxarm.org/developers/dist … -compiling
In the middle of compilation it fails with this errors in the log:

[CFG  ]    checking version of sed... 4.2.2, ok
[CFG  ]    checking for gawk... gawk
[CFG  ]    checking version of gawk... 4.1.0, ok
[CFG  ]    checking for arm-unknown-linux-gnueabihf-nm... arm-unknown-linux-gnueabihf-nm
[CFG  ]    checking for autoconf... autoconf
[CFG  ]    checking whether autoconf works... no
[ERROR]    configure: error:
[CFG  ]    *** These critical programs are missing or too old: make
[CFG  ]    *** Check the INSTALL file for required versions.
[ERROR] 
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Installing C library headers & start files'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@257]
[ERROR]  >>        called from: do_libc_backend_once[scripts/build/libc/glibc-eglibc.sh-common@347]
[ERROR]  >>        called from: do_libc_backend[scripts/build/libc/glibc-eglibc.sh-common@143]
[ERROR]  >>        called from: do_libc_start_files[scripts/build/libc/glibc-eglibc.sh-common@60]
[ERROR]  >>        called from: main[scripts/crosstool-NG.sh@632]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      '/home/domiurg/cross/share/doc/crosstool-ng/ct-ng.1.19.0/B - Known issues.txt'
[ERROR] 
[ERROR]  (elapsed: 12:28.02)

I have autoconf installed and it's in my PATH
make is the latest version (4.0) and when I was compiling the same stuff under Ubuntu with the same make version (4.0) it worked like charm.

There is no trace of this kind of problem in the "Known Issues".

P.s If I'm posting to wrong part of Forum, please redirect me to the right one.

Last edited by domiurg (2014-05-23 09:16:21)

Offline

#2 2014-05-19 12:18:20

crondog
Member
Registered: 2011-04-21
Posts: 130

Re: [SOLVED] Compilation of Distcc CrossTools fails

Not sure what's going on there but have you considered just using the prebuilt x-tools? I personally use this https://github.com/WarheadsSE/PKGs/tree … tccd-alarm You just need to install the armv6h one for rpi and change the conf file and start the service. N.B the prebuilts are for x64 only

Offline

#3 2014-05-19 12:23:00

domiurg
Member
Registered: 2014-05-19
Posts: 3

Re: [SOLVED] Compilation of Distcc CrossTools fails

Thanks, I'll give it a try;) But It would be really helpful (at least for sake of education) to make this work.

Offline

#4 2014-05-22 07:03:34

twien
Member
Registered: 2014-05-22
Posts: 1

Re: [SOLVED] Compilation of Distcc CrossTools fails

I had the same issue. I tried the solution proposed here: https://sourceware.org/ml/crossgcc/2014 … 00006.html. I edited the .config file updating the glibc from 2.18 to 2.19. It worked!
In addition I changed the linux version from 3.10 to 3.14. I'm currently running 3.14.4-1-ARCH....x86_64 GNU/Linux.

Offline

#5 2014-05-22 10:37:26

domiurg
Member
Registered: 2014-05-19
Posts: 3

Re: [SOLVED] Compilation of Distcc CrossTools fails

Thank you very Much!! That worked like a charm!

P.s. How can this thread be marked [SOLVED]?

Last edited by domiurg (2014-05-22 10:40:31)

Offline

#6 2014-05-22 20:58:00

m1st3rkr3p
Member
Registered: 2014-02-21
Posts: 34

Re: [SOLVED] Compilation of Distcc CrossTools fails

domiurg wrote:

Thank you very Much!! That worked like a charm!

P.s. How can this thread be marked [SOLVED]?


Edit your first post and change the title of the thread.

Offline

Board footer

Powered by FluxBB