View Single Post
Old 06-03-2012, 02:31 PM   #31
elRicharD
Enthusiast
elRicharD began at the beginning.
 
Posts: 39
Karma: 10
Join Date: May 2012
Device: Kindle Touch
Quote:
Originally Posted by NiLuJe View Post
Stupid question: Did you link against libasound statically or dynamically? In any case, which version of libasound did you build against?

Try to build (dynamically) against the same version as the one shipped on your target, the ALSA API/ABI can be tricky sometimes...
I am not absolutely sure, I just kept as many defaults as I could. The libraries I linked against were the ones I found on my Kindle, which I duly copied to the gcc library path and reran. Anyway both attempts (with libasound cross-compiled by me and with libasound taken from the Kindle) were the same: app runs but no sound, and straces looked very much the same.
elRicharD is offline   Reply With Quote