This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: the POSIX test build
My test programs for the targets not work.
I did following for example:
ecosconfig new linux
ecosconfig check
ecosconfig tree
make
Then I run make for my test.
Then I use gdb:
gdb mytest
run
GDB prints following:
Starting program: /home/ecostest/work/examples/mytest
Program received signal SIGSEGV, Segmentation fault.
0x71a3 in cyg_io_serial_devio ()
Similarly for other targets.
--
Boris Guzhov,
St.Petersburg, Russia
> "Boris V. Guzhov" wrote:
> >
> > I've updated from CVS. And I've compiled new ecosconfig.
> > I've builded new target libs (linux, pc, linux+elix, pc+elix)
> > I tried to run my test with pc target, linux target,
> > pc elix target and linux elix target. But nothing works :-(
> > (GDB error message: "Program received signal SIGSEGV.
> > Segmentation fault"). Yesterday something worked:-)
> > Maybe I do something incorrect?
>
> You mean ecosconfig itself is seg faulting, or the test programs you build
> for the target are seg faulting?
>
> Jifl
> --
> Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223)
728762
> "Plan to be spontaneous tomorrow." || These opinions are all my own
fault
>