[Ace-users] Re: [tao-users] tao-users Digest, Vol 13, Issue 3
Douglas C. Schmidt
schmidt at dre.vanderbilt.edu
Tue Aug 7 07:10:30 CDT 2007
Hi Prashanth,
> I am facing a compilation issue while I am trying to build TAO ACE library.
>
> I am using TAO version 1.4.1 and ACE version 5.4.1.
Please upgrade to ACE+TAO+CIAO x.5.10 (i.e., ACE 5.5.10, TAO 1.5.10, and
CIAO 0.5.10), which you can download from
http://download.dre.vanderbilt.edu
under the heading: "Latest Beta Kit".
The DOC groups at Washington University, UC Irvine, and Vanderbilt
University only provide "best effort" support for non-sponsors for the
latest release, as described in
http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
Thus, if you need more "predictable" help for earlier versions of
ACE+TAO, I recommend that you check out
http://www.dre.vanderbilt.edu/support.html
for a list of companies that will provide you with ACE+TAO commercial
support.
Thanks,
Doug
> I am trying to compile using the below mentioned steps:
>
> export CPU=powerpc
>
> export MERGEDIR=/vob/chorus-mergedir/chorus42/axc
>
> export ACE_ROOT=/vob/axc_ace/ACE_wrappers
>
> export TAO_ROOT=/vob/axc_ace/ACE_wrappers/TAO
>
> cd /vob/axc_ace/ACE_wrappers/buildTarget/chorus4_g++/
>
> cp config.h /vob/axc_ace/ACE_wrappers/ace/
>
> cp platform_macros.GNU /vob/axc_ace/ACE_wrappers/include/makeinclude/
>
> cd /vob/axc_ace/ACE_wrappers/
>
> rm `find ace TAO/tao -name '*.a' `
>
> rm -r `find ace TAO/tao -name '.obj'`
>
> cd /vob/axc_ace/ACE_wrappers/ace
>
> nice -n 9 make -j 8
>
> cd /vob/axc_ace/ACE_wrappers/TAO/tao
>
> nice -n 9 make -j 8
>
> But I am facing an error while compiling Naming_Context.cpp file.
>
> I am getting the following error:
>
> Naming_Context.cpp: In member function `void ACE_Name_Options::parse_args(int,
>
> ACE_TCHAR**)':
>
> Naming_Context.cpp:654: error: syntax error before `(' token
>
> Naming_Context.cpp:654: error: `get_opt' undeclared (first use this function)
>
> Naming_Context.cpp:654: error: (Each undeclared identifier is reported only
>
> once for each function it appears in.)
>
> Naming_Context.cpp:654: error: syntax error before `)' token
>
> make[1]: *** [.obj/Naming_Context.o] Error 1
>
> make[1]: Leaving directory `/vob/axc_ace/ACE_wrappers/ace'
>
> make: *** [all] Error 2
>
> Can anyone kindly let me know how to resolve this issue?
>
> Thanks in advance.
>
> Best Regards,
>
> Prashanth
>
> -----Original Message-----
> From: tao-users-bounces at cse.wustl.edu [mailto:tao-users-bounces at cse.wustl.edu]
> Sent: Monday, August 06, 2007 10:30 PM
> To: tao-users at cse.wustl.edu
> Subject: tao-users Digest, Vol 13, Issue 3
>
> Send tao-users mailing list submissions to
>
> tao-users at mail.cse.wustl.edu
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
> http://mail.cse.wustl.edu/mailman/listinfo/tao-users
>
> or, via email, send a message with subject or body 'help' to
>
> tao-users-request at mail.cse.wustl.edu
>
> You can reach the person managing the list at
>
> tao-users-owner at mail.cse.wustl.edu
>
> When replying, please edit your Subject line so it is more specific
>
> than "Re: Contents of tao-users digest..."
>
> Today's Topics:
>
> 1. TAO_PI problem under VxWorks 5.5 (Dirk Muders)
>
> 2. Re: TAO_PI problem under VxWorks 5.5 (Douglas C. Schmidt)
>
> ----------------------------------------------------------------------
>
> Message: 1
>
> Date: Mon, 06 Aug 2007 18:32:08 +0200
>
> From: Dirk Muders <dmuders at mpifr-bonn.mpg.de>
>
> Subject: [tao-users] TAO_PI problem under VxWorks 5.5
>
> To: tao-users at mail.cse.wustl.edu
>
> Message-ID: <46B74D08.6070802 at mpifr-bonn.mpg.de>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Dear list,
>
> we are using TAO 1.5.2 under VxWorks 5.5 for a telescope control system.
>
> We currently have the problem that the TAO_PI library is not loaded
>
> correctly. We get the following messages:
>
> (-1|200373440) LN - DLL::open failed for TAO_PI: Error: check log for
>
> details.
>
> (-1|200373440) Unable to find service 'ORBInitializer_Registry'
>
> (-1|200373440) ERROR: ORBInitializer Registry unable to find the
>
> ORBInitializer Registry instance: errno = 0x300002
>
> There is no more detail in the log files. I have seen that there existed
>
> a problem in earlier versions of TAO (in 2006) where the "open failed"
>
> was printed but did not affect the actual code execution. Here it is
>
> more than just a cosmetic problem. In the following code, VxWorks
>
> encounters a purely virtual method because the ORBInitializer Registry
>
> is missing and crashes.
>
> I have seen the comments that one needs to link libTAO_PI.so to the
>
> actual code and I tried to do this. It still requires an explicit load
>
> of the library to resolve all symbols, but then does not get loaded when
>
> the code is executed. A colleague suggested renaming libTAO_PI.so to
>
> simply TAO_PI since this had fixed something in another version, but it
>
> did not have any effect here.
>
> Any comments on this problem would be very much appreciated.
>
> Best regards,
>
> Dirk
>
> --
>
> Dr. Dirk Muders www.mpifr-bonn.mpg.de/staff/dmuders
>
> Max-Planck-Institut fuer Radioastronomie dmuders at mpifr-bonn.mpg.de
>
> Auf dem Huegel 69 Office: 2.53 Fax: +49-228-525-229
>
> D-53121 Bonn, Germany Mobile: +49-160-9075-9642 Phone: +49-228-525-291
>
> -------------- next part --------------
>
> An HTML attachment was scrubbed...
>
> URL: http://mail.cse.wustl.edu/mailman/private/tao-users/attachments/20070806/bcf654c9/attachment.html
>
> ------------------------------
>
> Message: 2
>
> Date: Mon, 06 Aug 2007 11:34:43 -0500
>
> From: "Douglas C. Schmidt" <schmidt at dre.vanderbilt.edu>
>
> Subject: Re: [tao-users] TAO_PI problem under VxWorks 5.5
>
> To: Dirk Muders <dmuders at mpifr-bonn.mpg.de>
>
> Cc: tao-users at cse.wustl.edu
>
> Message-ID: <20070806163443.326AE1000A8 at tango.dre.vanderbilt.edu>
>
> Hi Dirk,
>
> To ensure that we have proper version/platform/compiler information,
>
> please make sure you fill out the appropriate problem report form (PRF),
>
> which is in
>
> $ACE_ROOT/PROBLEM-REPORT-FORM
>
> $TAO_ROOT/PROBLEM-REPORT-FORM
>
> or in
>
> $ACE_ROOT/BUG-REPORT-FORM
>
> $TAO_ROOT/BUG-REPORT-FORM
>
> in older versions of ACE+TAO. Make sure to include this information
>
> when asking any questions about ACE+TAO since otherwise we have to
>
> "guess" what version/platform/compiler/options you've using, which is
>
> very error-prone and slows down our responsiveness. If you don't use
>
> the PRF, therefore, it is less likely that someone from the core
>
> ACE+TAO developer team will be able to answer your question.
>
> Naturally, we encourage and appreciate other members of the ACE+TAO
>
> user community who can respond to questions that they have the answers
>
> to.
>
> > we are using TAO 1.5.2 under VxWorks 5.5 for a telescope control system. We currently have the problem that the TAO_PI
>
> > library is not loaded correctly.
>
> Please upgrade to ACE+TAO+CIAO x.5.10 (i.e., ACE 5.5.10, TAO 1.5.10, and
>
> CIAO 0.5.10), which you can download from
>
> http://download.dre.vanderbilt.edu
>
> under the heading: "Latest Beta Kit".
>
> The DOC groups at Washington University, UC Irvine, and Vanderbilt
>
> University only provide "best effort" support for non-sponsors for the
>
> latest release, as described in
>
> http://www.dre.vanderbilt.edu/~schmidt/DOC_ROOT/ACE/docs/ACE-bug-process.html
>
> Thus, if you need more "predictable" help for earlier versions of
>
> ACE+TAO, I recommend that you check out
>
> http://www.dre.vanderbilt.edu/support.html
>
> for a list of companies that will provide you with ACE+TAO commercial
>
> support.
>
> Thanks,
>
> Doug
>
> > We get the following messages:
>
> >
>
> > (-1|200373440) LN - DLL::open failed for TAO_PI: Error: check log for details.
>
> > (-1|200373440) Unable to find service 'ORBInitializer_Registry'
>
> > (-1|200373440) ERROR: ORBInitializer Registry unable to find the ORBInitializer Registry instance: errno = 0x300002
>
> >
>
> > There is no more detail in the log files. I have seen that there existed a problem in earlier versions of TAO (in 2006)
>
> > where the "open failed" was printed but did not affect the actual code execution. Here it is more than just a cosmetic
>
> > problem. In the following code, VxWorks encounters a purely virtual method because the ORBInitializer Registry is missing
>
> > and crashes.
>
> >
>
> > I have seen the comments that one needs to link libTAO_PI.so to the actual code and I tried to do this. It still requires
>
> > an explicit load of the library to resolve all symbols, but then does not get loaded when the code is executed. A
> colleague
>
> > suggested renaming libTAO_PI.so to simply TAO_PI since this had fixed something in another version, but it did not have
> any
>
> > effect here.
>
> >
>
> > Any comments on this problem would be very much appreciated.
>
> >
>
> > Best regards,
>
> >
>
> > Dirk
>
> >
>
> > --
>
> > Dr. Dirk Muders www.mpifr-bonn.mpg.de/staff/dmuders
>
> > Max-Planck-Institut fuer Radioastronomie dmuders at mpifr-bonn.mpg.de
>
> > Auf dem Huegel 69 Office: 2.53 Fax: +49-228-525-229
>
> > D-53121 Bonn, Germany Mobile: +49-160-9075-9642 Phone: +49-228-525-291
>
> >
>
> > _______________________________________________
>
> > tao-users mailing list
>
> > tao-users at mail.cse.wustl.edu
>
> > http://mail.cse.wustl.edu/mailman/listinfo/tao-users
>
> ------------------------------
>
> _______________________________________________
>
> tao-users mailing list
>
> tao-users at mail.cse.wustl.edu
>
> http://mail.cse.wustl.edu/mailman/listinfo/tao-users
>
> End of tao-users Digest, Vol 13, Issue 3
>
> ****************************************
>
> _______________________________________________
> tao-users mailing list
> tao-users at mail.cse.wustl.edu
> http://mail.cse.wustl.edu/mailman/listinfo/tao-users
More information about the Ace-users
mailing list