[tao-users] [ace-users] [installation]having problems building ACE/TAO forvxworks.

[tao-users] [ace-users] [installation]having problems building ACE/TAO forvxworks.

Post by Johnny Wil » Wed, 20 Jun 2007 21:55:38


i,

It looks to me that the TAO_IDL located under /usr/local/bin is not matching
your target tree, make sure it is a 1.5.8 version

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl

*** Integrated compile and test statistics see http://remedy.nl
<http://remedy.nl/> ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.theaceorb.nl/en/support.html ***


________________________________

From: XXXX@XXXXX.COM
[mailto: XXXX@XXXXX.COM ] On Behalf Of JosRui Sims
Sent: Tuesday, June 19, 2007 2:28 PM
To: Thomas Lockhart
Cc: XXXX@XXXXX.COM ; XXXX@XXXXX.COM
Subject: Re: [ace-users] [installation]having problems building
ACE/TAO forvxworks.


I've finally dealt with all the other problems.

I've successfully compiled ACE for vxworks ( not tested yet). But
now I have a problem compiling TAO it reports me an error:

GNUmakefile:
/home/jr-simoes/Applications/ACE_wrappers/TAO/tao/GNUmakefile.TAO
MAKEFLAGS=w

/usr/local/bin/tao_idl -Wb,pre_include=ace/pre.h
-Wb,post_include=ace/post.h -I.. -g /usr/local/bin/gperf
-Wb,versioning_begin=TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-Wb,versioning_end=TAO_END_VERSIONED_NAMESPACE_DECL -SS -Sorb -GA
-Gp -Gd -oA AnyTypeCode -Wb,export_macro=TAO_Export
-Wb,export_include=tao/TAO_Export.h
-Wb,anyop_export_macro=TAO_AnyTypeCode_Export
-Wb,anyop_export_include=tao/AnyTypeCode/TAO_AnyTypeCode_Export.h GIOP.pidl
IDL: I don't understand the '-Sorb' option
make[1]: *** [GIOPC.h] Error 99
make[1]: Leaving directory
`/home/jr-simoes/Applications/ACE_wrappers/TAO/tao'
make: *** [TAO] Error 2

Since it reports that it doesn't have the -Sorb option I run tao_idl
--help and checked if the option was there or not. Did this option change?
Is there any other problem.

Kind Regards.

On Mon, 2007-06-18 at 08:29 -0700, Thomas Lockhart wrote:

>> I've downloaded the correct sources and stated building
ACE and TAO but
>> now it fails when compiling with this error:
...
>> g++ -I/home/jr-simoes/Applications/ACE_wrappers
-DACE_NDEBUG
>> -DACE_USE_RCSID=0 -DACE_HAS_EXCEPTIONS -D__ACE_INLINE__
-I..
>> -DACE_BUILD_DLL -c -o .shobj/Dirent.o Dirent.cpp
>> /usr/include/dirent.h: In function nt
ACE_OS::readdir_r(ACE_DIR*,
>> dirent*, dirent**)
function nt

You (probably) have the wrong compiler. And definitely have
the wrong
include files. You might note the complaint about
/usr/include/dirent.h,
but /usr/include should not show up in your build since
everything
should be coming from your VxWorks installation.

I'm not sure what your cross-compiler is called, but plain
"g++" is
probably not the right thing. For my PPC targets, the
compiler is called
"c++ppc". The implicit use of /usr/include in your search
path is
probably coming from /usr/bin/g++.

hth

- Tom




_________________________

JosRui Sims

Junior Engineer


Critical Software, SA
Parque Industrial de Taveiro, Lote 48
3045-504 Coimbra, Portugal
Tel:+351.239 989 100 Fax:+351.239 989 119
http://www.criticalsoftware.<om
XXXX@XXXXX.COM <m






 
 
 

[tao-users] [ace-users] [installation]having problems building ACE/TAO forvxworks.

Post by Johnny Wil » Thu, 21 Jun 2007 04:15:52

Hi,


With the latest version of tao_idl, use "tao_idl -v" to get the version
info.

Johnny

 
 
 

[tao-users] [ace-users] [installation]having problems building ACE/TAO forvxworks.

Post by Johnny Wil » Wed, 27 Jun 2007 02:46:35

Hi,


Have a look at http://www.yqcomputer.com/ . We have a TAO and a CIAO
VxWorks build that do run tests, you can see there exactly what works and
what fails.

Regards,

Johnny Willemsen
Remedy IT
Postbus 101
2650 AC Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl

*** Integrated compile and test statistics see
http://www.yqcomputer.com/ ***
*** Commercial service and support for ACE/TAO/CIAO ***
*** See http://www.yqcomputer.com/ ***