This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: File not found when running tests [ was Re: Testing eCos 3.0 beta 1 on STM3210E-EVAL board. ]


John Dallaway wrote:
> Chris Holgate wrote:
> 
> > The one configtool quirk I did notice was that while trying to run the
> > tests from the GUI, they would occasionally fail with 'file not found'.
> >  This is all new to me, since i usually use GDB from the command line.
> > The only file I can think of which 'comes and goes' in this way would be
> > /dev/ttyS0 - or more specifically the lock on it - so I was wondering if
> > this behaviour may be caused by GDB not releasing /dev/ttyS0 properly
> > between tests.  Is this something anyone else has seen?
> 
> I have been testing against target pc_i82559 with a CentOS 5 host and
> have not observed this issue. Has anyone else seen this?

I noticed same sporadic messages on Ununtu 8.04.02. Target olpch2294,
GDB port was /dev/ttyUSB0. But when I tried same build and same
configtool on Ubuntu 7.10 I never got the errors. I think that my 8.04
disto has mixed C++ environment. I need (and it is istalled) both
libstdc++ (5 and 6) packages. And my old Ubuntu 7.10 uses libstdc++.so.5
only.

In my environment on Ubuntu 8.04.02 I've got the dependences

~$ ldd /opt/ecos/ecos-3.0b1/tools/bin/configtool | grep stdc++
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb795e000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xb73c4000)

~$ ldd /opt/ecos/ecos-3.0b1/tools/bin/ecosconfig | grep stdc++
	libstdc++.so.5 => /usr/lib/libstdc++.so.5 (0xb7e5a000)

I thought that old release has not the issue that it uses more even
environment. But this is just a guesswork.

CLI GDB session via serial connection work just fine on both distos.


Sergei

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]