Discussion:
[omniORB] FW: Have problem since start.
Pasd Putthapipat
2011-03-29 13:17:12 UTC
Permalink
Dear alls,



My name is Pasd Putthapipat. I am a newbie to omniORB. I have just installed
omniORB on my Ubuntu manchine.



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,



***@ubuntu:/home/tester/Downloads/omniORB-4.1.5/src/examples/echo#
<mailto:***@ubuntu:/home/tester/Downloads/omniORB-4.1.5/src/examples/echo>
make

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

eg1.cc: In function 'void hello(_objref_Echo*)':

eg1.cc:54: error: 'class _objref_Echo' has no member named 'echoString'

eg1.cc: In function 'int main(int, char**)':

eg1.cc:77: error: cannot allocate an object of abstract type 'Echo_i'

eg1.cc:22: note: because the following virtual functions are pure within
'Echo_i':

../../../stub/echo.hh:152: note: virtual char*
_impl_Echo::echostring(const char*)

make: *** [eg1.o] Error 1



Anyone please enlighten me.



Regards,

Pasd Putthapipat

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110329/4b14157b/attachment.htm
Thomas Lockhart
2011-03-29 19:08:00 UTC
Permalink
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110329/d512b599/attachment.htm
Pasd Putthapipat
2011-03-30 10:04:12 UTC
Permalink
Dear Mr.Lcokhart,



Thank you so much for your advice. It is better now. I am fixing the
miss-spelling in those function.



I am really appreciate.



Regards,

Pasd Putthapipat



From: Thomas Lockhart [mailto:***@fourpalms.org]
Sent: Tuesday, March 29, 2011 9:07 AM
To: Pasd Putthapipat
Cc: omniorb-***@omniorb-support.com
Subject: Re: [omniORB] FW: Have problem since start.



On 03/29/2011 12:16 AM, Pasd Putthapipat wrote:

Dear alls,



My name is Pasd Putthapipat. I am a newbie to omniORB. I have just installed
omniORB on my Ubuntu manchine.



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,



***@ubuntu:/home/tester/Downloads/omniORB-4.1.5/src/examples/echo#
<mailto:***@ubuntu:/home/tester/Downloads/omniORB-4.1.5/src/examples/echo>
make

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

eg1.cc: In function 'void hello(_objref_Echo*)':

eg1.cc:54: error: 'class _objref_Echo' has no member named 'echoString'

eg1.cc: In function 'int main(int, char**)':

eg1.cc:77: error: cannot allocate an object of abstract type 'Echo_i'

eg1.cc:22: note: because the following virtual functions are pure within
'Echo_i':

../../../stub/echo.hh:152: note: virtual char*
_impl_Echo::echostring(const char*)

make: *** [eg1.o] Error 1



It looks like you have implemented "echoString" but need to implement
"echostring". hth

- Tom

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20110330/bc79185e/attachment.htm
Loading...