|
From: | Thomas Dickey |
Subject: | Re: Problem with ncurses (cannot open terminal: vt100 or xterm) |
Date: | Sun, 3 Jun 2007 15:37:36 -0400 (EDT) |
On Sat, 2 Jun 2007, djtopper wrote:
I finally managed to get the alsa-1.0.4 utils to compile on an ARM based SBC (www.embeddedarm.com). It's an audio library for Linux (www.alsa- project.org). When I launch the app, alsamixer, however, I get an error: Error opening terminal: xterm When I ssh into the board. Or: Error opening terminal: vt100 When connected via serial cable. I suspect this has something to do with the linking (or lack thereof) of alsamixer for ncurses. The ncurrses library, by the way, I cross compiled with the following command:
It's probably linking against the system version of ncurses which needs terminal data in an external file. You can build ncurses with some terminal entries compiled into a static table using the --with-fallbacks option. (If you do that of course, you'll have to make the alsa configure script link against the proper library). -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net
[Prev in Thread] | Current Thread | [Next in Thread] |