Control: reassign -1 libmad0

On Mon, Sep 17, 2012 at 06:48:19PM +0200, Armin Wagner wrote:
> After compiling libmad 0.15.1b myself everything works again.
> The necessary steps are documented here: 
> https://igw.tuwien.ac.at/ceat/node/2#comment-162
The site is dead so inlining
-- >8 --
compiling libmad and mpg321 (because of seg fault)

Unfortunately my favorite player (which I'm using as a workaround for the 
missing mp3 support in Py3k) keeps crashing with a seg fault (see debian bug 
#687182). Strace showed me that libmad might be the culprit here (compare: 
Ubuntu bug #989846 ) so I decided to deinstall all related packages and compile 
the 0.15.1b version myself. Some notes:

cc1: error: unrecognized command line option '-fforce-mem'

fforce-mem is a deprecated gcc optimization option (see: gcc 4.3 changes). I 
had to remove the corresponding line (optimize="$optimize -fforce-addr) in the 
configure file.

A few lines above the architecture gets selected. Here I inserted the following 
line:

armv7*) arch="-marm" ;;

If you don't do this you will get an "selected processor does not support Thumb 
mode" error (thanks to Nikolai for this hint) Afterwards I also used the 
configure --disable-aso parameter … just to be on the save side.

After successfully compiling libmad I compiled madplay. The "error: id3tag.h 
was not found" error made me install the libid3tag0-dev package.

And the mpg321 configuration stopped with the following message:

checking for snd_mixer_selem_get_playback_volume in -lasound... no
configure: error: "ALSA lib is required to compile mpg321."

Of course alsalib is installed, but the dev package is missing: sudo apt-get 
install libasound2-dev

Testing mpg321 brought up the following error: "ALSA lib 
confmisc.c:768:(parse_card) cannot find card '0'". I have to specify the audio 
device. aplay -l helps here:

**** List of PLAYBACK Hardware Devices ****
card 1: Z305 [ Logitech Z305], device 0: USB Audio [USB Audio]

mpg321 -o alsa -a hw:1,0 scelsi.mp3

It works. Finally.
-- >8 --

So this a libmad ARM baseline issue on the submitter's Beagleboard
(this is a Beagleboard forum).

Attachment: signature.asc
Description: PGP signature

Reply via email to