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: ser_filter


Andrew Lunn wrote:
> Hi Folks
> 
> Does anybody know how to build ser_filter on Linux? The
> host/tools/ecostest/unix/Makefile does not get very far before
> exploding in errors.

If the error is something like:

../../Utils/common/eCosSocket.h:177: error: ‘static
CeCosSocket::SSReadResult CeCosSocket::SSRead(CeCosSerial&,
CeCosSocket&, void*, unsigned int, unsigned int&, bool*)’ is protected
../../Utils/common/eCosSerial.h:53: error: within this context

CeCosSocket::SSRead in host/tools/Utils/common/eCosSocket.h needs to be
made public.  Presumably, friend member functions are required to be
public, though I don't recall reading about that and I don't have my C++
book to hand.

Both g++-3.4 and g++-4.0 barf on this so it must have been broken for
ages...

David Vrabel
-- 
David Vrabel, Design Engineer

Arcom, Clifton Road           Tel: +44 (0)1223 411200 ext. 3233
Cambridge CB1 7EA, UK         Web: http://www.arcom.com/

-- 
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]