This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Newbie: Synthetic target problems???
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Lee Davies <ldavies at comtech dot uk dot com>
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Thu, 18 Nov 2004 14:22:40 +0100
- Subject: Re: [ECOS] Newbie: Synthetic target problems???
- References: <200410130250.05956.stephan.bourduas@videotron.ca> <995065457.20041013140331@eltronix.ru> <200410130318.17822.stephan.bourduas@videotron.ca> <419C8584.8070508@comtech.uk.com>
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