[tao-users] [ace-users]
[installation]having problems building ACE/TAO forvxworks.
Johnny Willemsen
jwillemsen at remedy.nl
Tue Jun 19 07:55:38 CDT 2007
Hi,
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: ace-users-bounces at cse.wustl.edu
[mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of José Rui Simões
Sent: Tuesday, June 19, 2007 2:28 PM
To: Thomas Lockhart
Cc: tao-users at cse.wustl.edu; ace-users at cse.wustl.edu
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 int
ACE_OS::readdir_r(ACE_DIR*,
> dirent*, dirent**):
> /usr/include/dirent.h:187: error: too few arguments to
function int
> readdir_r(DIR*, dirent*, dirent**)
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
_________________________
José Rui Simões
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.com <http://www.criticalsoftware.com/>
jose-r-simoes at criticalsoftware.com
<mailto:jose-r-simoes%40criticalsoftware.com>
More information about the Ace-users
mailing list