Quantcast
Channel: Linux Device Hacking
Viewing all articles
Browse latest Browse all 3178

distcc help (1 reply)

$
0
0
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

Viewing all articles
Browse latest Browse all 3178

Trending Articles