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

José Rui Simões jose-r-simoes at criticalsoftware.com
Tue Jun 19 07:27:51 CDT 2007


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
jose-r-simoes at criticalsoftware.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/ace-users/attachments/20070619/36181ec8/attachment.htm


More information about the Ace-users mailing list