[ECOS] Newbie: Synthetic target problems???

Andrew Lunn andrew@lunn.ch
Thu Nov 18 14:58:00 GMT 2004


On Thu, Nov 18, 2004 at 11:20:36AM +0000, Lee Davies wrote:
> Hello Everyone,
> 
> I was wondering if someone can help with a Linux synthetic target problem?
> 
> Using the latest files from CVS, I managed to successfully build all the 
> tests of the synthetic target. However when I try to run the tests from 
> the configuration tool, I get the following messages:
> 
> Run started
> [111700 Th 11:06:17] Failed to get a pty
> [111700 Th 11:06:17] Failed to create process for 686i-pc-linux-gnu-size
> /home/ldavies/ecos/synth/test/test1_install/tests/hal/common/current/tests/context
> [60e7bb0 Th 11:06:20] Failed to get a pty
> [60e7bb0 Th 11:06:20] Failed to create process for 686i-pc-linux-gnu-gdb 
> -nw -q
> /home/ldavies/ecos/synth/test/test1_install/tests/hal/common/current/tests/context
> Run complete

At a guess you kernel does not have legacy pty support. In 2.6 kernels
which is the config option LEGACY_PTYS.

Idealy host/tools/Utils/common/Subprocess.cpp should be modified to
use openpty() which will deal with these sorts of problems by using
what every type of pty's your kernel supports.

        Andrew

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list