Re: [alsa-devel] [Alsa-devel] 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/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?
Leonid wrote:
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 panel.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
participants (2)
-
Clemens Ladisch
-
Leonid