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!