Cross compiling alsa-lib (again)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Well, I searched through 96 weeks of archived alsa-devel postings to
get to this one:

http://article.gmane.org/gmane.linux.alsa.devel/37120

(Which shows I am doing the right thing in any case.)

This post recommends this:

CFLAGS="-Os -m4 -ml" ./configure --prefix=/usr
--host=sh4-unknown-linux-gnu --target=sh4-unknown-linux-gnu
--build=i686-pc-linux-gnu

I admit to not using the additional cflags stuff before, but even if I use this:

CFLAGS="-Os -m4 -ml" ./configure --host=sh4-linux --prefix=/usr
CC=/home/adrian/dreamy-linux/buildroot/build_sh4/staging_dir/bin/sh4-linux-gcc
--disable-python --disable-rawmidi --enable-static
--with-confdir=/home/adrian/dreamy-linux/buildroot/project_build_sh4/dreamcast/root/usr/share/alsa
 --disable-mixer --enable-static=yes --enable-shared=no
--target=sh4-linux --build=i686-linux

Followed by:

make and
make DESTDIR=/home/adrian/dreamy-linux/buildroot/project_build_sh4/dreamcast/root
install

I still get this:

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: AICA [AICA], device 0: AICA PCM [AICA PCM]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Followed by:

$ aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)

$ aplay /aine-email.wav
Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
ALSA lib pcm_plug.c:773:(snd_pcm_plug_hw_refine_schange) Unable to
find an usable access for '(null)'
aplay: set_params:895: Access type not available

$ aplay -D hw:0,0 /aine-email.wav
Playing WAVE '/aine-email.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono
aplay: set_params:895: Access type not available

Just as before. Any clues?
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux