how to cross compile the alsa util?
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/alsaconfigure 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=ncursesout...
--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?
Signature · 2 lines
with best wishes Leonid
Quoted 10 lines · Roc Wu
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?
Quoted 5 lines
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
Quoted 7 lines · Leonid
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 forpanel.h... no
configure: error: required curses helper header not found
Alsamixer also requires the panel and menu libraries. These are part of ncurses; check whether they are included in your ncurses package, or maybe available as separate -dev packages.
You could also disable alsamixer.
Regards,
Clemens