[alsa-devel] [Alsa-devel] how to cross compile the alsa util?
Leonid
leonopulos at gmail.com
Fri Feb 4 14:05:10 CET 2011
Hello alls:
Please help.
I also cross compiled alsa utils trhough CodeSourcery:
PATH=$PATH:/opt/arm-2007q1/bin
CC=arm-none-linux-gnueabi-gcc ./configure --host=i686-pc-linux-gnu \
--target=arm-none-linux-gnueabi \
--with-alsa-prefix=/usr/lib \
--with-alsa-inc-prefix=/usr/include/alsa
configure out...
--cut
checking for ncursesw5-config... yes
checking for curses library... ncursesw
checking for curses header name...<ncurses.h>
checking for curses compiler flags... -I/usr/include/ncursesw
checking for curses NLS support... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking panel.h usability... no
checking panel.h presence... no
checking for panel.h... no
configure: error: required curses helper header not found
but libncursesw5 and aibncursesw5-dev is installed to host:
more...
I changet the configuration and add option --with-curses=ncurses
(libncurses5-dev also installed):
PATH=$PATH:/opt/arm-2007q1/bin
CC=arm-none-linux-gnueabi-gcc ./configure --host=i686-pc-linux-gnu \
--target=arm-none-linux-gnueabi \
--with-alsa-prefix=/usr/lib \
--with-alsa-inc-prefix=/usr/include/alsa \
--with-curses=ncurses
out...
--cut
checking for ncurses5-config... yes
checking for curses library... ncurses
checking for curses header name...<ncurses.h>
checking for curses compiler flags...
checking for curses NLS support... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking panel.h usability... no
checking panel.h presence... no
checking for panel.h... no
configure: error: required curses helper header not found
the same effect.
what am i doing wrong?
can be cross compiled ncurses?
--
with best wishes
Leonid
On Mon, 31 May 2004, Roc Wu wrote:
> Hello alls:
>
> Sorry for post the mail again. I posted it several
> days ago, but no response. Anybody can give me some
> hints?
>
> I cross compiled the alsa-lib-1.04 to arm platform.
> The 2.6.6 kernel including alsa driver is ok on our
> ARM board, so I want to test the driver. how to do it?
>
> I think maybe the first step is to crosscompile the
> alsa utils to play a wave audio file.
>
> CC=arm-linux-gcc ./configure --host=i686-linux
> --target=arm-linux
./configure --help
--- cut ---
--with-alsa-prefix=PFX Prefix where Alsa library is installed
(optional)
--with-alsa-inc-prefix=PFX Prefix where include libraries are
(optional)
--- cut ---
Jaroslav
-----
Jaroslav Kysela<[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project, SuSE Labs
More information about the Alsa-devel
mailing list