View Single Post
Old 06-10-2012, 09:48 AM   #40
elRicharD
Enthusiast
elRicharD began at the beginning.
 
Posts: 39
Karma: 10
Join Date: May 2012
Device: Kindle Touch
Today I spent a little more of my time trying to compile mpg 123.

First I uncompressed the alsa package the kindle uses and compiled that version of alsa with this command:

Code:
./configure CC=/home/richard/Desktop/arm-2011.09/bin/arm-none-linux-gnueabi-gcc --host=x86_64 --target=arm-linux && make
Then I copied the src/.libs files I found into the /lib/gcc/arm-none-linux-gnueabi/.libs folder.

Then I compiled mpg123:
Code:
./configure CC=/home/richard/Desktop/arm-2011.09/bin/arm-none-linux-gnueabi-gcc --host=x86_64 --target=arm-linux --with-default-audio=alsa --with-cpu=generic_nofpu --enable-modules=no && make
I copied it to the Kindle and voilá! It worked without doing anything!

This was probably the alsa lib I was using to compile mpg123... But the good thing is that it works. The bad thing is that it stops playing after a while when I suspend the Kindle. I think I saw an app or something that prevented that from happening somewhere.

I am uploading the mpg123 executable, I deployed it in /mnt/us aka the root folder of the kindle and ran it.

Thanks to everyone for their help and support!
Attached Files
File Type: zip mpg123.zip (616.4 KB, 441 views)
elRicharD is offline   Reply With Quote