I can't cross compile alsa-utils for arm-linux platform.
My configure options:
LD=arm-linux-ld ./configure --prefix=/work/alsa-utils/utils --with-alsa-prefix=/work/alsa/lib --with-alsa-inc-prefix=/work/alsa/include --host=arm-linux --build=i686-linux --disable-nls
The configuration process fails with the following error messages:
.....
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for ncurses5-config... yes
checking for curses library... ncurses
checking for curses header name... <ncurses.h>
checking for curses compiler flags... -I/usr/include/ncurses
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
It seems that the configuration is trying to using ncurses.h on the build machine. However, it should use the ncurses.h header file in my cross-compiled ncurse library.
How can I "force" the configuration to use the cross-compiled ncurse library and headers? Should I set "--with-curses" option? If so, how to set it?
Regards,
Jie
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev
_______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user