<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
On 03/29/2011 12:16 AM, Pasd Putthapipat wrote:
<blockquote cite="mid:00be01cbede1$3d60ce10$b8226a30$@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Dear alls,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">My name is Pasd Putthapipat. I am a newbie
to omniORB. I have just installed omniORB on my Ubuntu
manchine.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">So far I got stuck with the ‘echo’ example,
I know it is the beginning and quite embarrassed. I got this
error and I am not sure how to fix,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a moz-do-not-send="true"
href="mailto:root@ubuntu:/home/tester/Downloads/omniORB-4.1.5/src/examples/echo">root@ubuntu:/home/tester/Downloads/omniORB-4.1.5/src/examples/echo#</a>
make<o:p></o:p></p>
<p class="MsoNormal">g++ -c -O2 -Wall -Wno-unused -fexceptions
-D__OMNIORB4__ -I../../../stub -D_REENTRANT -I. -I.
-I../../../include -I../../../include -D__OSVERSION__=2
-D__linux__ -D__x86__ -o eg1.o eg1.cc<o:p></o:p></p>
<p class="MsoNormal">eg1.cc: In function ‘void
hello(_objref_Echo*)’:<o:p></o:p></p>
<p class="MsoNormal">eg1.cc:54: error: ‘class _objref_Echo’ has
no member named ‘echoString’<o:p></o:p></p>
<p class="MsoNormal">eg1.cc: In function ‘int main(int,
char**)’:<o:p></o:p></p>
<p class="MsoNormal">eg1.cc:77: error: cannot allocate an object
of abstract type ‘Echo_i’<o:p></o:p></p>
<p class="MsoNormal">eg1.cc:22: note: because the following
virtual functions are pure within ‘Echo_i’:<o:p></o:p></p>
<p class="MsoNormal">../../../stub/echo.hh:152: note:
virtual char* _impl_Echo::echostring(const
char*)<o:p></o:p></p>
<p class="MsoNormal">make: *** [eg1.o] Error 1<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p><br>
</p>
</div>
</blockquote>
It looks like you have implemented "echoString" but need to
implement "echostring". hth<br>
<br>
- Tom<br>
</body>
</html>