New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

SqueezeSlave installation *Make error*

Got problems with your B2 or B3? Share and get helped!
Post Reply
uncleprogga
Posts: 3
Joined: 08 Feb 2012, 09:18

SqueezeSlave installation *Make error*

Post by uncleprogga »

Dear All,

I have a problem with "Make" regarding the squeezeslave installation.

Code: Select all

make -f makefile.linux26-ppc-alsa-display
The following error occurs:

Code: Select all

/tmp/ccbSsKNh.s:3848: Error: bad instruction `mulhw r3,r3,r2'
/tmp/ccbSsKNh.s:3851: Error: bad instruction `rotrwi r1,r1,#16'
/tmp/ccbSsKNh.s:3854: Error: bad instruction `insrwi r1,r3,#16,0'
make[3]: *** [synth.lo] Fehler 1
make[3]: Leaving directory `/var/src/squeezeslave-1.0-210/lib/libmad/lnx26ppc/build/libmad-0.15.1b'
make[2]: *** [all-recursive] Fehler 1
make[2]: Leaving directory `/var/src/squeezeslave-1.0-210/lib/libmad/lnx26ppc/build/libmad-0.15.1b'
make[1]: *** [all] Fehler 2
make[1]: Leaving directory `/var/src/squeezeslave-1.0-210/lib/libmad/lnx26ppc/build/libmad-0.15.1b'
make: *** [lib/libmad/lnx26ppc/lib/libmad.a] Fehler 2
root@b3:/var/src/squeezeslave-1.0-210# 
Can someone help me!?!

Thanks..
6feet5
Posts: 269
Joined: 13 Apr 2007, 17:32
Location: Gnesta, Sweden
Contact:

Re: SqueezeSlave installation *Make error*

Post by 6feet5 »

ppc in the package name suggests it is for PowerPC, but the B3 is an ARM device. You need to locate a package for the ARM processor.

/Johan
uncleprogga
Posts: 3
Joined: 08 Feb 2012, 09:18

Re: SqueezeSlave installation *Make error*

Post by uncleprogga »

Hello again,

I've found the following makefile "makefile.linux26-arm-oss".

With this makefile I have the following error:

Code: Select all

root@b3:/var/src/squeezeslave# make -f makefile.linux26-arm-oss
cd lib/libmad/lnx26/build && tar --bzip -xf ../../../../sources/libmad-0.15.1b.tar.bz2
cd lib/libmad/lnx26/build && patch -p0 -i ../../../../patches/libmad-forcemem.patch
patching file libmad-0.15.1b/configure
cd lib/libmad/lnx26/build/libmad-0.15.1b && CC="arm-none-linux-gnueabi-gcc" CXXCPP="arm-none-linux-gnueabi-cpp" CFLAGS="-DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -Wall -O2 -I/usr/local/arm-none-linux-gnueabi/include" CPPFLAGS="-DSLIMPROTO_DEBUG -DDAEMONIZE -DUSE_SIGNALS_FOR_RESTART -Wall -O2 -I/usr/local/arm-none-linux-gnueabi/include" LDFLAGS="-s -L/usr/local/arm-none-linux-gnueabi/lib " ./configure --enable-shared=no --enable-fpm=arm --host=armle-unknown-linux --target=armle-unknown-linux --build=i686-pc-linux --prefix=/usr/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for armle-unknown-linux-strip... no
checking for strip... strip
checking build system type... i686-pc-linux-gnu
checking host system type... armle-unknown-linux-gnu
checking for armle-unknown-linux-gcc... arm-none-linux-gnueabi-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
make: *** [lib/libmad/lnx26/lib/libmad.a] Fehler 77
root@b3:/var/src/squeezeslave# 
Thank's you for your help.
6feet5
Posts: 269
Joined: 13 Apr 2007, 17:32
Location: Gnesta, Sweden
Contact:

Re: SqueezeSlave installation *Make error*

Post by 6feet5 »

It says "config.log" for more details, so did you look there?

Also, why is there an entry saying build system is i686? Aren't you building on a B3? The "C compiler cannot create executables" makes me think the build script is using the wrong compiler. Does this stage generate a binary that you can examine (use file command to verify it is an executable for ARM)?

/Johan
uncleprogga
Posts: 3
Joined: 08 Feb 2012, 09:18

Re: SqueezeSlave installation *Make error*

Post by uncleprogga »

Hello Again,

I have not found a solution for the make problem, but I've found a way to run SqueezeSlave on my new b3.

Here the steps:

Code: Select all

su

Code: Select all

apt-get install alsa-oss

Code: Select all

wget wget http://squeezeslave.googlecode.com/files/squeezeslave-1.0-216-marvell6281-lnx26.tar.gz

Code: Select all

tar xzfv squeezeslave-1.0-216-marvell6281-lnx26.tar.gz

Code: Select all

aoss ./squeezeslave <IP_of_squeezeboxserverin my case b3>
I found the information here http://e0d.com/blog/squeezeslave-running-on-dockstar

next step is "Starting squeezeslave at boot-time" :lol:
Post Reply