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

José Rui Simões jose-r-simoes at criticalsoftware.com
Fri Jun 22 04:05:08 CDT 2007


Hi all,

thanks for your help, specially Tom. I've finally built and installed
ACE/TAO for vxworks.

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/20070622/7f0a58b1/attachment.htm


More information about the Ace-users mailing list