[Ace-users] Re: [tao-users] Newbie Question: Two different TAO tutorials end upwith this compile error

Johnny Willemsen jwillemsen at remedy.nl
Thu Jul 26 02:07:22 CDT 2007


Hi,
 
It looks you didn't look the AnyTypeCode library in your app.
 
Regards,
 
Johnny Willemsen


  _____  

From: tao-users-bounces at cse.wustl.edu
[mailto:tao-users-bounces at cse.wustl.edu] On Behalf Of De Wit, Anne
Sent: Thursday, July 26, 2007 5:47 AM
To: tao-users at cse.wustl.edu
Subject: [tao-users] Newbie Question: Two different TAO tutorials end upwith
this compile error


Good day, 
 
I am very new to CORBA. As such I am starting from the very basics and have
run through two different beginner tutorials:
 <http://www.theaceorb.com/downloads/1.4a/index.html>
http://www.theaceorb.com/downloads/1.4a/index.html  Chapter 3 Getting
Started (Messenger Application)
 <http://download.theaceorb.nl/TPG.pdf> http://download.theaceorb.nl/TPG.pdf
The Remedy IT Programmers Guide (Hello World Application)
 
In both cases, after debugging the code (with heplfull compiler errors that
point to the line-numbers with syntax errors), I end up with exactly the
same error. I have attached the entire output of once of these builds in the
failed_build.txt attachment, but I assume the line of interest is the first
two:
 

obj/HelloC.o(.text+0x37): In function
`__static_initialization_and_destruction_0(int, int)':
/root/TAO/anne/HelloC.cpp:129: undefined reference to `vtable for
TAO::TypeCode::Objref<char const*, TAO::Null_RefCount_Policy>'
 
 I have looked on the internet and only found one reference to this. Seeing
as I am so new to CORBA and very amatuerish at C++, I am hoping that this is
some very simple matter that is so easy that it is not documented anywhere
:)
 
I have run this on two different systems:
Redhat 9.0 and Fedore Core 5. Both give exactly the same error. 
I use "$ACE_ROOT/bin/mwc.pl - type gnuace" for the makefiles and then simply
'make'
 
I have absolutely no idea how to resolve this and would much appreciate any
help on the matter.
 
Thanks, 
Anne de Wit
 
 
 
 
"This email (including all attachments) is for the use of the named
addressee only. You must not use, disclose, or copy any part of this email
if you are not the intended recipient. No rights of privacy,
confidentiality, copyright or privilege are waived or lost by any
mistransmission. If you receive this email in error, please immediately
delete it from your system, destroy all copies, and notify the sender.
Emails may be interfered with, may contain computer viruses or other
defects, and may cause damage to your system. Raytheon gives no warranty in
relation to the effect of this email on your system, or the accuracy or
completeness of its contents." 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070726/45cf06fa/attachment-0001.htm


More information about the Ace-users mailing list